From owner-freebsd-current@FreeBSD.ORG Tue Mar 1 13:52:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5FE3106564A for ; Tue, 1 Mar 2011 13:52:25 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4568FC13 for ; Tue, 1 Mar 2011 13:52:25 +0000 (UTC) Received: by iyj12 with SMTP id 12so4461586iyj.13 for ; Tue, 01 Mar 2011 05:52:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.39.196 with SMTP id h4mr6343541ibe.129.1298987544020; Tue, 01 Mar 2011 05:52:24 -0800 (PST) Received: by 10.231.149.79 with HTTP; Tue, 1 Mar 2011 05:52:23 -0800 (PST) In-Reply-To: <4D6BB4AF.6070107@FreeBSD.org> References: <4D6BB4AF.6070107@FreeBSD.org> Date: Tue, 1 Mar 2011 14:52:23 +0100 Message-ID: From: Olivier Smedts To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Can't buildworld since Clang update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 13:52:25 -0000 2011/2/28 Dimitry Andric : > On 2011-02-28 15:35, Olivier Smedts wrote: >> >> I now have problems building gnu/lib/libobjc. When using Clang, gcc is >> still used to build gnu/lib/libobjc (see "XXX: clang cannot compile >> libobjc yet"), but gcc core dumps at this stage on two different >> computers, using the same CFLAGS "-O2 -pipe -march=3Dnative" : >> pid 38850 (gcc), uid 0: exited on signal 11 (core dumped) > > Hm, I have never seen this... Can you try removing the "-march=3Dnative"? buildworld OK with the same make.conf and the following hack...err, diff. I tried with -march=3Dcore2 (for a Core i7) and it didn't work, neither with "-march=3Dnative -mno-mmx -mno-sse -mno-sse2 -mno-sse3". Index: gnu/lib/libobjc/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gnu/lib/libobjc/Makefile (r=E9vision 219096) +++ gnu/lib/libobjc/Makefile (copie de travail) @@ -1,5 +1,5 @@ # $FreeBSD$ - +CFLAGS=3D-O2 -pipe -march=3Dnocona .include OBJCDIR=3D${.CURDIR}/../../../contrib/libobjc --=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."