FreeBSD 9.0-BETA1/amd64 r224808: buildworld failure: ===> lib/clang/include (all), 1 error, *** Error code 2, 1 error, *** Error code 2, 1 error

Test Rat ttsestt at gmail.com
Sat Aug 13 16:30:21 UTC 2011


Test Rat <ttsestt at gmail.com> writes:

[...]
>   Remaking `cat'
>   Results of making cat:
>   clang -O2 -pipe -O3 -Qunused-arguments -fcolor-diagnostics
> -march=native -g -fno-omit-frame-pointer -std=gnu99 -fstack-protector
> -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs
> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o cat
> cat.o
>   /home/foo/.cache/a/freebsd/tmp/usr/lib/libc.so: undefined reference to `_nsyylex'
>   /home/foo/.cache/a/freebsd/tmp/usr/lib/libc.so: undefined reference to `_nsyyin'
>   /home/foo/.cache/a/freebsd/tmp/usr/lib/libc.so: undefined reference to `_nsyytext'
>   /home/foo/.cache/a/freebsd/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror'
>   /home/foo/.cache/a/freebsd/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno'
>   clang: error: linker command failed with exit code 1 (use -v to see invocation)
>   *** Error code 1

FYI, above error was tracked to broken /dev/stdout and fixed in r224842.


More information about the freebsd-current mailing list