From owner-freebsd-gecko@FreeBSD.ORG Tue Mar 4 04:33:47 2014 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B7F9244 for ; Tue, 4 Mar 2014 04:33:47 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.244.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E84F1C9D for ; Tue, 4 Mar 2014 04:33:46 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.244.247]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id s244XhPG072230 for ; Tue, 4 Mar 2014 04:33:43 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id s244Xcmb071720 for freebsd-gecko@freebsd.org; Tue, 4 Mar 2014 04:33:38 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Tue, 4 Mar 2014 04:33:38 GMT Message-Id: <201403040433.s244Xcmb071720@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1534 - in trunk/www: firefox firefox-nightly seamonkey MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 04:33:47 -0000 Author: jbeich Date: Tue Mar 4 04:33:37 2014 New Revision: 1534 Log: - use -msse2 if available to avoid clang crash - allow building anyway with TRYBROKEN Modified: trunk/www/firefox-nightly/Makefile trunk/www/firefox/Makefile trunk/www/seamonkey/Makefile Modified: trunk/www/firefox-nightly/Makefile ============================================================================== --- trunk/www/firefox-nightly/Makefile Tue Mar 4 00:18:54 2014 (r1533) +++ trunk/www/firefox-nightly/Makefile Tue Mar 4 04:33:37 2014 (r1534) @@ -74,11 +74,16 @@ # http://svnweb.freebsd.org/changeset/base/255804 .if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 . if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -IGNORE= Cannot build with OPTIMIZED_CFLAGS option due to \ +BROKEN= Cannot build with OPTIMIZED_CFLAGS option due to \ a ${CHOSEN_COMPILER_TYPE} bug: unset the option or \ use FAVORITE_COMPILER=gcc in Makefile.local/make.conf +# apply workaround only for -O2 or greater . elif ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +. if ${MACHINE_CPU:Msse2} +CXXFLAGS+= -msse2 +. else CXXFLAGS+= -O1 +. endif . endif .endif Modified: trunk/www/firefox/Makefile ============================================================================== --- trunk/www/firefox/Makefile Tue Mar 4 00:18:54 2014 (r1533) +++ trunk/www/firefox/Makefile Tue Mar 4 04:33:37 2014 (r1534) @@ -62,11 +62,16 @@ # http://svnweb.freebsd.org/changeset/base/255804 .if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 . if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -IGNORE= Cannot build with OPTIMIZED_CFLAGS option due to \ +BROKEN= Cannot build with OPTIMIZED_CFLAGS option due to \ a ${CHOSEN_COMPILER_TYPE} bug: unset the option or \ use FAVORITE_COMPILER=gcc in Makefile.local/make.conf +# apply workaround only for -O2 or greater . elif ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +. if ${MACHINE_CPU:Msse2} +CXXFLAGS+= -msse2 +. else CXXFLAGS+= -O1 +. endif . endif .endif Modified: trunk/www/seamonkey/Makefile ============================================================================== --- trunk/www/seamonkey/Makefile Tue Mar 4 00:18:54 2014 (r1533) +++ trunk/www/seamonkey/Makefile Tue Mar 4 04:33:37 2014 (r1534) @@ -87,11 +87,16 @@ # http://svnweb.freebsd.org/changeset/base/255804 .if ${CHOSEN_COMPILER_TYPE} == clang && ${ARCH} == i386 && ${OSVERSION} < 1000056 . if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -IGNORE= Cannot build with OPTIMIZED_CFLAGS option due to \ +BROKEN= Cannot build with OPTIMIZED_CFLAGS option due to \ a ${CHOSEN_COMPILER_TYPE} bug: unset the option or \ use FAVORITE_COMPILER=gcc in Makefile.local/make.conf +# apply workaround only for -O2 or greater . elif ${CXXFLAGS:M-O*} && ! ${CXXFLAGS:M-O[01]} +. if ${MACHINE_CPU:Msse2} +CXXFLAGS+= -msse2 +. else CXXFLAGS+= -O1 +. endif . endif .endif