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=native" :
>> pid 38850 (gcc), uid 0: exited on signal 11 (core dumped)
>
> Hm, I have never seen this... Can you try removing the "-march=native"?
buildworld OK with the same make.conf and the following hack...err,
diff. I tried with -march=core2 (for a Core i7) and it didn't work,
neither with "-march=native -mno-mmx -mno-sse -mno-sse2 -mno-sse3".
Index: gnu/lib/libobjc/Makefile
===================================================================
--- gnu/lib/libobjc/Makefile (révision 219096)
+++ gnu/lib/libobjc/Makefile (copie de travail)
@@ -1,5 +1,5 @@
# $FreeBSD$
-
+CFLAGS=-O2 -pipe -march=nocona
.include <bsd.own.mk>
OBJCDIR=${.CURDIR}/../../../contrib/libobjc
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier@gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
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>
