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

Hartmann, O. ohartman at zedat.fu-berlin.de
Sun Aug 14 10:39:43 UTC 2011


On 08/13/11 18:30, Test Rat wrote:
> 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.
Thanks, will try. I'm still with -r224810 ...

Oliver


More information about the freebsd-current mailing list