Date: Mon, 21 Feb 2011 12:34:56 -0300 From: Renato Botelho <rbgarga@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Error building world after last clang update Message-ID: <AANLkTimmdmFpnhcEoaMm18yG_goxA5uJA_apk-yAL2GP@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I was trying to upgrade my 9.0-CURRENT amd64 after clang was updated, but i got following error: ===> sys/boot/i386/cdboot (all) ===> sys/boot/i386/gptboot (all) ===> sys/boot/i386/kgzldr (all) ===> sys/boot/i386/libi386 (all) clang -O2 -pipe -DLOADER_NFS_SUPPORT -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DSMBIOS_SERIAL_NUMBERS -DLOADER_GPT_SUPPORT -DTERM_EMU -Dalloca=__builtin_alloca -I/usr/src/sys/boot/i386/libi386/../../common -I/usr/src/sys/boot/i386/libi386/../btx/lib -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica/include -I/usr/src/sys/boot/i386/libi386/../../.. -I. -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -m32 -march=i386 -std=gnu99 -c /usr/src/sys/boot/i386/libi386/amd64_tramp.S clang: warning: argument unused during compilation: '-mpreferred-stack-boundary=2' /tmp/cc-ohEeiE.s:35:9: error: .code32 not supported yet .code32 ^ /tmp/cc-ohEeiE.s:69:9: error: .code64 not supported yet .code64 ^ *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error [1] 94534 exit 2 nice -n 15 make -j1 buildworld buildkernel My /etc/src.conf has: .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif # Don't die on warnings NO_WERROR= WERROR= Any hints? -- Renato Botelho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimmdmFpnhcEoaMm18yG_goxA5uJA_apk-yAL2GP>