From owner-freebsd-ports@FreeBSD.ORG Fri Jun 8 14:50:59 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D05C7106566B for ; Fri, 8 Jun 2012 14:50:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8428FC1A for ; Fri, 8 Jun 2012 14:50:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q58Eopfr061098; Fri, 8 Jun 2012 08:50:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q58Eopob061095; Fri, 8 Jun 2012 08:50:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 8 Jun 2012 08:50:51 -0600 (MDT) From: Warren Block To: Olivier Smedts In-Reply-To: Message-ID: References: <4FD0D0BB.5020509@daemonic.se> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-574428045-1339167051=:60704" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 08 Jun 2012 08:50:51 -0600 (MDT) Cc: Niclas Zeising , ports@freebsd.org Subject: Re: Firefox 13 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 14:50:59 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-574428045-1339167051=:60704 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 8 Jun 2012, Olivier Smedts wrote: > 2012/6/7 Warren Block : >> On Thu, 7 Jun 2012, Niclas Zeising wrote: >> >>> On 2012-06-07 17:47, Warren Block wrote: >>>> >>>> Yesterday, Firefox 13 built and installed quickly.  It was just the >>>> running part that did not go so well.  Coredumps on start, it would >>>> start with add-ons disabled, but then coredump while typing a URL, or >>>> sometimes a few seconds later.  Rebuilding everything Firefox depends on >>>> did not make any difference. >>>> >>>> Firefox 12 builds and runs fine, as do Chromium and xxxterm. >>>> >>>> This is on 9-stable from yesterday, amd64.  The next step is to build >>>> with debug symbols; I was hoping the problem would have been experienced >>>> by someone else by now.  Any ideas? >>> >>> >>> Which compiler did you use, clang or gcc, and if gcc, which version? >>> Regards! >> >> >> gcc46, and I do have CPUTYPE?=native in make.conf... >> >> Interesting!  Built without CPUTYPE set, Firefox seems fine.  Compiler bug? > > /usr/share/mk/bsd.cpu.mk doesn't support CPUTYPE?=native : > % make -VMACHINE_CPU CPUTYPE=native > unknown amd64 sse2 sse mmx > % make -VMACHINE_CPU CPUTYPE=core2 > ssse3 sse3 amd64 sse2 sse mmx > > But you can use a supported value, add -march=native to your CFLAGS > and COPTFLAGS, and set NO_CPU_CFLAGS=yes and NO_CPU_COPTFLAGS=yes so > that another -march won't be automatically added. > > And if you use the old base-system gcc, -march=native won't give > proper results with a Core2 and a Corei7 (not tested other recent > CPUs) because they'll use -mtune=generic instead of the good -mtune. I > prefer setting a proper -march. > > I don't know if thta's related to your firefox problem though. With CPUTYPE?=core2, Firefox 13 works fine. That "native" setting has been in my make.conf for a long time, but this is the first time it ever caused a problem. ---902635197-574428045-1339167051=:60704--