From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 13:41:55 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E9610656A7; Tue, 28 Sep 2010 13:41:55 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 785488FC12; Tue, 28 Sep 2010 13:41:55 +0000 (UTC) Received: by iwn34 with SMTP id 34so7522436iwn.13 for ; Tue, 28 Sep 2010 06:41:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.167.80 with SMTP id p16mr10958024iby.119.1285681314854; Tue, 28 Sep 2010 06:41:54 -0700 (PDT) Received: by 10.231.168.202 with HTTP; Tue, 28 Sep 2010 06:41:54 -0700 (PDT) In-Reply-To: References: <4C99A53E.7060707@FreeBSD.org> <4C9A32B8.60204@kkip.pl> <4C9A6A38.4080307@freebsd.org> <4C9A7203.8010701@kkip.pl> <20100923065134.GA31455@freebsd.org> <4C9B3207.2070302@kkip.pl> Date: Tue, 28 Sep 2010 15:41:54 +0200 Message-ID: From: Olivier Smedts To: Bartosz Stec Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Rene Ladan , Roman Divacky , current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 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, 28 Sep 2010 13:41:55 -0000 2010/9/27 Olivier Smedts : > 2010/9/23 Bartosz Stec : >> =A0On 2010-09-23 08:51, Roman Divacky wrote: >>> >>> if you want to post any build-time numbers for clang please >>> >>> =A0 =A0 =A0 =A0 =A0 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DN= DEBUG >>> >>> uncomment the -DNDEBUG on this line in lib/clang/clang.build.mk >>> and rebuild it otherwise you are using Release+Asserts build of >>> clang which is some 30% slower than the normal one... >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >> >> When i try to rebuild world again (machine has world and kernel builded = with >> clang) I cought following problem at the very beginning: >> >> -------------------------------------------------------------- >>>>> World build started on Thu Sep 23 12:46:55 CEST 2010 >> -------------------------------------------------------------- >> >> -------------------------------------------------------------- >>>>> Rebuilding the temporary build tree >> -------------------------------------------------------------- >> rm -rf /usr/obj/usr/src/tmp >> mkdir -p /usr/obj/usr/src/tmp/lib >> mkdir -p /usr/obj/usr/src/tmp/usr >> mkdir -p /usr/obj/usr/src/tmp/legacy/usr >> mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist =A0-p >> /usr/obj/usr/src/tmp/legacy/usr >/dev/null >> mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist =A0-p /usr/obj/usr/src/tmp= /usr >>>/dev/null >> mtree -deU -f /usr/src/etc/mtree/BSD.include.dist =A0-p >> /usr/obj/usr/src/tmp/usr/include >/dev/null >> ln -sf /usr/src/sys /usr/obj/usr/src/tmp >> >> -------------------------------------------------------------- >>>>> stage 1.1: legacy release compatibility shims >> -------------------------------------------------------------- >> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp =A0INSTALL=3D"sh >> /usr/src/tools/install.sh" >> =A0PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega= cy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/= bin >> =A0WORLDTMP=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 9.0-CURRENT i38= 6 900021" >> =A0MAKEFLAGS=3D"-m /usr/src/tools/build/mk =A0-m /usr/src/share/mk" make= -f >> Makefile.inc1 =A0DESTDIR=3D =A0BOOTSTRAPPING=3D900021 =A0SSP_CFLAGS=3D = =A0-DWITHOUT_HTML >> -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN =A0-DNO_PIC -DWITHOUT_PROFILE >> -DNO_SHARED =A0-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy >> =3D=3D=3D> tools/build (obj,includes,depend,all,install) >> /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/buil= d >> cd /usr/src/tools/build; make buildincludes; make installincludes >> rm -f .depend >> CC=3D'clang' mkdep -f .depend -a =A0 =A0-I/usr/obj/usr/src/tmp/legacy/us= r/include >> /usr/src/tools/build/dummy.c >> clang -O2 -pipe -std=3Dgnu99 =A0 -I/usr/obj/usr/src/tmp/legacy/usr/inclu= de -c >> /usr/src/tools/build/dummy.c >> building static egacy library >> ranlib libegacy.a >> sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 =A0 libegacy.a >> /usr/obj/usr/src/tmp/legacy/usr/lib >> >> -------------------------------------------------------------- >>>>> stage 1.2: bootstrap tools >> -------------------------------------------------------------- >> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp =A0INSTALL=3D"sh >> /usr/src/tools/install.sh" >> =A0PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega= cy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/= bin >> =A0WORLDTMP=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 9.0-CURRENT i38= 6 900021" >> =A0MAKEFLAGS=3D"-m /usr/src/tools/build/mk =A0-m /usr/src/share/mk" make= -f >> Makefile.inc1 =A0DESTDIR=3D =A0BOOTSTRAPPING=3D900021 =A0SSP_CFLAGS=3D = =A0-DWITHOUT_HTML >> -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN =A0-DNO_PIC -DWITHOUT_PROFILE >> -DNO_SHARED =A0-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF bootstrap-tools >> =3D=3D=3D> lib/clang/libllvmsupport (obj,depend,all,install) >> /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmsupport created for >> /usr/src/lib/clang/libllvmsupport >> rm -f .depend >> CC=3D'clang' mkdep -f .depend -a >> =A0-I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/in= clude >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I= . >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clan= g/include >> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS >> -D__STDC_CONSTANT_MACROS -DNDEBUG >> -DLLVM_HOSTTRIPLE=3D\"i386-undermydesk-freebsd9.0\" >> -I/usr/obj/usr/src/tmp/legacy/usr/include >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regc= omp.c >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/rege= rror.c >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/rege= xec.c >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regf= ree.c >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regs= trlcpy.c >> CC=3D'clang' mkdep -f .depend -a >> =A0-I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/in= clude >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I= . >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clan= g/include >> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS >> -D__STDC_CONSTANT_MACROS -DNDEBUG >> -DLLVM_HOSTTRIPLE=3D\"i386-undermydesk-freebsd9.0\" >> -I/usr/obj/usr/src/tmp/legacy/usr/include >> =A0/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/A= PFloat.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APIn= t.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APSI= nt.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Allo= cator.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Comm= andLine.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Cons= tantRange.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Cras= hRecoveryContext.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DAGD= eltaAlgorithm.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Debu= g.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Delt= aAlgorithm.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Dwar= f.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Erro= rHandling.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Fold= ingSet.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Form= attedStream.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Grap= hWriter.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Mana= gedStatic.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Memo= ryBuffer.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Plug= inLoader.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Pret= tyStackTrace.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Rege= x.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Smal= lPtrSet.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Smal= lVector.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Sour= ceMgr.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Stat= istic.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Stri= ngExtras.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Stri= ngMap.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Stri= ngPool.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Stri= ngRef.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Targ= etRegistry.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Time= r.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Trip= le.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Twin= e.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/circ= ular_raw_ostream.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/raw_= os_ostream.cpp >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/raw_= ostream.cpp >> clang++ -O2 -pipe >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/in= clude >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I= . >> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clan= g/include >> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS >> -D__STDC_CONSTANT_MACROS -DNDEBUG >> -DLLVM_HOSTTRIPLE=3D\"i386-undermydesk-freebsd9.0\" -fno-exceptions >> -I/usr/obj/usr/src/tmp/legacy/usr/include -c >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFl= oat.cpp >> Assertion failed: (false && "Ran out of registers during register >> allocation!"), function assignRegOrStackSlotAtInterval, file >> /usr/src/lib/clang/libllvmcodegen/../../../contrib/llvm/lib/CodeGen/RegA= llocLinearScan.cpp, >> line 1196. >> Stack dump: >> 0. =A0 =A0 =A0Program arguments: /usr/bin/clang++ -cc1 -triple >> i386-undermydesk-freebsd9.0 -S -disable-free -main-file-name APFloat.cpp >> -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases >> -target-cpu i486 -resource-dir /usr/lib/clang/2.8 -D LLVM_ON_UNIX -D >> LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D NDEB= UG >> -D LLVM_HOSTTRIPLE=3D"i386-undermydesk-freebsd9.0" -I >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include -I >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/incl= ude >> -I /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -= I . >> -I >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/= include >> -I /usr/obj/usr/src/tmp/legacy/usr/include -O2 -ferror-limit 19 >> -fmessage-length 205 -fgnu-runtime -fdiagnostics-show-option >> -fcolor-diagnostics -o /tmp/cc-lvFfGd.s -x c++ >> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFl= oat.cpp >> 1. parser at end of file >> 2. =A0 =A0 =A0Code generation >> 3. =A0 =A0 =A0Running pass 'Linear Scan Register Allocator' on function >> '@_ZN4llvm7APFloat28convertFromHexadecimalStringENS_9StringRefENS0_12rou= ndingModeE' >> clang++: error: clang frontend command failed due to signal 6 (use -v to= see >> invocation) >> *** Error code 250 > > Same error here with yesterday's -CURRENT, but not at the same time > (the running system was compiled using gcc) : > > # uname -a > FreeBSD z.gid0.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri Sep 24 > 22:07:43 CEST 2010 =A0 =A0 root@z.gid0.org:/usr/obj/usr/src/sys/XPC =A0i3= 86 > # clang -v > FreeBSD clang version 2.8 (branches/release_28 114020) 20100917 > Target: i386-undermydesk-freebsd9.0 > Thread model: posix > # grep -vE '^#|^$' /etc/make.conf > KERNCONF=3DXPC > CPUTYPE=3Dathlon-xp > CFLAGS=3D-O2 -pipe -march=3Dnative -fomit-frame-pointer > NO_CPU_CFLAGS=3Dyes > COPTFLAGS=3D-O2 -pipe -march=3Dnative -fomit-frame-pointer > NO_CPU_COPTFLAGS=3Dyes > WITHOUT_PROFILE=3Dyes > SUP_UPDATE=3Dyes > SUPFILE=3D/usr/share/examples/cvsup/standard-supfile > SUPHOST=3Dcvsup3.fr.freebsd.org > .if !defined(CC) || ${CC} =3D=3D "cc" > CC=3Dclang > .endif > .if !defined(CXX) || ${CXX} =3D=3D "c++" > CXX=3Dclang++ > .endif > NO_WERROR=3D > WERROR=3D > # make buildworld > [...] > =3D=3D=3D> gnu/lib/libgcc (obj,depend,all,install) > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=3D/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=3D/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h > TARGET_CPU_DEFAULT=3D"" =A0HEADERS=3D"options.h i386/i386.h i386/unix.h > i386/att.h dbxelf.h elfos-undef.h elfos.h freebsd-native.h > freebsd-spec.h freebsd.h i386/freebsd.h defaults.h" =A0DEFINES=3D"" > /bin/sh /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h > echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=3D/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=3D/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h > TARGET_CPU_DEFAULT=3D"" =A0HEADERS=3D"auto-host.h ansidecl.h" > DEFINES=3D"USED_FOR_TARGET" =A0/bin/sh > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=3D/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=3D/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h > LC_ALL=3DC awk -f > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > > optionlist > LC_ALL=3DC awk -f > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk =A0-f > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk =A0< > optionlist > options.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=3D/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=3D/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwi= nd.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=3D/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=3D/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-def= ault.h > clang -c -O2 -pipe -march=3Dnative -fomit-frame-pointer -DIN_GCC > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED =A0-DHAVE_GTHR_DEFAULT > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. > -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -std=3Dgnu99 > -fvisibility=3Dhidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3D3 > -DElfW=3D__ElfN -o unwind-dw2.o > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > Assertion failed: (!spillIs.empty() && "No spill intervals?"), > function assignRegOrStackSlotAtInterval, file > /usr/src/lib/clang/libllvmcodegen/../../../contrib/llvm/lib/CodeGen/RegAl= locLinearScan.cpp, > line 1287. > Stack dump: > 0. =A0 =A0 =A0Program arguments: /usr/obj/usr/src/tmp/usr/bin/clang -cc1 > -triple i386-undermydesk-freebsd9.0 -S -disable-free -main-file-name > unwind-dw2.c -pic-level 2 -mconstructor-aliases -target-cpu athlon-mp > -resource-dir /usr/obj/usr/src/tmp/usr/lib/clang/2.8 -D IN_GCC -D > IN_LIBGCC2 -D __GCC_FLOAT_NOT_NEEDED -D HAVE_GTHR_DEFAULT -D > HIDE_EXPORTS -D __GLIBC__=3D3 -D ElfW=3D__ElfN -I > /usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I > /usr/src/gnu/lib/libgcc/../../../contrib/gcc -I . -I > /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -O2 -std=3Dgnu99 > -ferror-limit 19 -fmessage-length 118 -fvisibility hidden -fexceptions > -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o > /tmp/cc-UeLPOI.s -x c > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > 1. =A0 =A0 =A0 parser at end of file > 2. =A0 =A0 =A0Code generation > 3. =A0 =A0 =A0Running pass 'Linear Scan Register Allocator' on function > '@_Unwind_GetGR' > clang: error: clang frontend command failed due to signal 6 (use -v to > see invocation) > *** Error code 250 > > Stop in /usr/src/gnu/lib/libgcc. > *** Error code 1 I solved this problem at my level by adding "CFLAGS+=3D-mno-sse" to src/lib/clang/clang.lib.mk Now I can "make buildworld buildkernel" with "-march=3Dnative" (on an Athlon XP). Without that, the clang compiled with SSE failed to compile libgcc. Note : this does not add "-mno-sse" to all CFLAGS but only to the CFLAGS used to compile clang/llvm libs. Maybe I could find one or more specific libs which require "-mno-sse" in this case, but there are 50 in src/lib/clang/, and this computer is really slow to buildworld. Any clues on this ? > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > -- > 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." > --=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."