From owner-freebsd-ports@FreeBSD.ORG Fri Jun 8 13:03:54 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 C35F7106566B for ; Fri, 8 Jun 2012 13:03:54 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5C08FC1B for ; Fri, 8 Jun 2012 13:03:54 +0000 (UTC) Received: by lbon10 with SMTP id n10so1628013lbo.13 for ; Fri, 08 Jun 2012 06:03:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=p4SjmHd/8IiBTZoFgtz8JFo9fid2mPyDgxDYty/0rcQ=; b=Wavu6aTXfpxPUWNc5o1jF6B7iAnJe2Ogo5A/dmn2tEUfPEhkBkFFTjR23QX4Y9knEu 3WXbJ7MJ5B3JuzLboO7eICq7d5jwxqExHxMlSGEQmRPBUuAin/SaPFLHSlgieeCpKwW+ IabommMnFKfN9ZrUMghgKZ4mK+N7YsY6pDCBG7qNrOFkB2WwIEMuJxd8oB6VYgrKvoHO Nxj/xO7Bobj4YLQyvw7XoULRkob66G5anGYYXw7dqDVc9xxpdm8br0ks8jr7o2gyJ1Dl wlfYyXPRjDWF3+LExqnJwykHRc2hrrDuCe9dW3idRuGU02zml+EbiYPd1PyfrTcs8+dk F3aw== MIME-Version: 1.0 Received: by 10.152.113.199 with SMTP id ja7mr8299850lab.10.1339160632913; Fri, 08 Jun 2012 06:03:52 -0700 (PDT) Received: by 10.112.130.6 with HTTP; Fri, 8 Jun 2012 06:03:52 -0700 (PDT) In-Reply-To: References: <4FD0D0BB.5020509@daemonic.se> Date: Fri, 8 Jun 2012 15:03:52 +0200 Message-ID: From: Olivier Smedts To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn0eyWqFoz6hZYM+fI9Etx6rUl+naICWq5tb/8y1OEmev7ijbxncOa7+PQdqzlMg2AjYN4Z 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 13:03:54 -0000 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. =A0It was just the >>> running part that did not go so well. =A0Coredumps on start, it would >>> start with add-ons disabled, but then coredump while typing a URL, or >>> sometimes a few seconds later. =A0Rebuilding 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. =A0The next step is to build >>> with debug symbols; I was hoping the problem would have been experience= d >>> by someone else by now. =A0Any ideas? >> >> >> Which compiler did you use, clang or gcc, and if gcc, which version? >> Regards! > > > gcc46, and I do have CPUTYPE?=3Dnative in make.conf... > > Interesting! =A0Built without CPUTYPE set, Firefox seems fine. =A0Compile= r bug? /usr/share/mk/bsd.cpu.mk doesn't support CPUTYPE?=3Dnative : % make -VMACHINE_CPU CPUTYPE=3Dnative unknown amd64 sse2 sse mmx % make -VMACHINE_CPU CPUTYPE=3Dcore2 ssse3 sse3 amd64 sse2 sse mmx But you can use a supported value, add -march=3Dnative to your CFLAGS and COPTFLAGS, and set NO_CPU_CFLAGS=3Dyes and NO_CPU_COPTFLAGS=3Dyes so that another -march won't be automatically added. And if you use the old base-system gcc, -march=3Dnative won't give proper results with a Core2 and a Corei7 (not tested other recent CPUs) because they'll use -mtune=3Dgeneric instead of the good -mtune. I prefer setting a proper -march. I don't know if thta's related to your firefox problem though. Cheers --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."