Date: Mon, 28 Feb 2011 15:35:35 +0100 From: Olivier Smedts <olivier@gid0.org> To: freebsd-current@freebsd.org Subject: Re: Can't buildworld since Clang update Message-ID: <AANLkTi=-AALHfsa4Ru9-jf31q4mwFNaj5%2BfHFKzV9Rp7@mail.gmail.com> In-Reply-To: <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com> References: <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/2/21 Olivier Smedts <olivier@gid0.org>: > Hello, > > I can't buildworld with Clang since the last update. > > %uname -a > FreeBSD zozo.afpicl.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r218908M: > Mon Feb 21 09:56:35 CET 2011 > root@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE =A0amd64 > %clang -v > FreeBSD clang version 2.9 (trunk 126079) 20110220 > Target: x86_64-undermydesk-freebsd9.0 > Thread model: posix > %cat /etc/src.conf > .if !defined(CC) || ${CC} =3D=3D "cc" > CC=3Dclang > .endif > .if !defined(CXX) || ${CXX} =3D=3D "c++" > CXX=3Dclang++ > .endif > # Don't die on warnings > NO_WERROR=3D > WERROR=3D > %head /etc/make.conf > CPUTYPE?=3Dcore2 > KERNCONF=3DCORE > CFLAGS=3D-O2 -pipe -march=3Dnative > NO_CPU_CFLAGS=3Dyes > COPTFLAGS=3D-O2 -pipe -march=3Dnative > NO_CPU_COPTFLAGS=3Dyes > BOOTWAIT=3D0 > WITHOUT_PROFILE=3Dyes > > # make buildworld > [...] > =3D=3D=3D> lib/libz (obj,depend,all,install) > [...] > clang -O2 -pipe -march=3Dnative -DHAS_snprintf -DHAS_vsnprintf > -I/usr/src/lib/libz -DASMV -DNO_UNDERLINE -DSYMBOL_VERSIONING > -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign > -Wa,--noexecstack -c /usr/src/lib/libz/contrib/gcc_gvmat64/gvmat64.S > /tmp/cc-VUyvc6.s:6:1: warning: ignoring directive for now > .intel_syntax noprefix > ^ > /tmp/cc-VUyvc6.s:12:9: error: unknown use of instruction mnemonic > without a size suffix > =A0 =A0 =A0 =A0mov [(rsp + 40 - 96)],rbx > =A0 =A0 =A0 =A0^ 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) %clang -v FreeBSD clang version 2.9 (trunk 126547) 20110226 Target: x86_64-undermydesk-freebsd9.0 Thread model: posix --=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?AANLkTi=-AALHfsa4Ru9-jf31q4mwFNaj5%2BfHFKzV9Rp7>