2011/2/21 Olivier Smedts <olivier_at_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_at_zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64 > %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} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > # Don't die on warnings > NO_WERROR= > WERROR= > %head /etc/make.conf > CPUTYPE?=core2 > KERNCONF=CORE > CFLAGS=-O2 -pipe -march=native > NO_CPU_CFLAGS=yes > COPTFLAGS=-O2 -pipe -march=native > NO_CPU_COPTFLAGS=yes > BOOTWAIT=0 > WITHOUT_PROFILE=yes > > # make buildworld > [...] > ===> lib/libz (obj,depend,all,install) > [...] > clang -O2 -pipe -march=native -DHAS_snprintf -DHAS_vsnprintf > -I/usr/src/lib/libz -DASMV -DNO_UNDERLINE -DSYMBOL_VERSIONING > -std=gnu99 -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 > mov [(rsp + 40 - 96)],rbx > ^ 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) %clang -v FreeBSD clang version 2.9 (trunk 126547) 20110226 Target: x86_64-undermydesk-freebsd9.0 Thread model: posix -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier_at_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."Received on Mon Feb 28 2011 - 13:35:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC