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
_______________________________________________
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