Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 14:52:23 +0100
From:      Olivier Smedts <olivier@gid0.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Can't buildworld since Clang update
Message-ID:  <AANLkTiknGBi8h_4XSStCsgfdiqMS=HGHD9tLQeCWYs5Y@mail.gmail.com>
In-Reply-To: <4D6BB4AF.6070107@FreeBSD.org>
References:  <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com> <AANLkTi=-AALHfsa4Ru9-jf31q4mwFNaj5%2BfHFKzV9Rp7@mail.gmail.com> <4D6BB4AF.6070107@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/2/28 Dimitry Andric <dim@freebsd.org>:
> 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 <bsd.own.mk>

 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiknGBi8h_4XSStCsgfdiqMS=HGHD9tLQeCWYs5Y>