Re: Compiling BETA2 with clang fails
On 2011-09-05 06:01, Volodymyr Kostyrko wrote:
....
>> You should not unconditionally add -fPIC. Remove it, and try again.
>> (The -Qunused-arguments is fine, btw.)
>
> 0k, here you go. Just as you say - no -fPIC, no ccache, no anything.
....
> /usr/obj/usr/src/tmp/usr/lib/crt1.o: In function `_start1':
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x7d): undefined reference to
> `atexit'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x84): undefined reference to
> `_init_tls'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0x90): undefined reference to
> `atexit'
> /usr/src/lib/csu/i386-elf/crt1_c.c:(.text+0xad): undefined reference to
> `exit'
Hm, sorry that I did not notice it before, but maybe you are having the
issue described here:
http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026594.html
What is your current kernel revision?
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 12 之 26 篇):