2011/2/28 Dimitry Andric <d...@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: oliv...@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."
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to