Re: Compiling BETA2 with clang fails

看板FB_current作者時間14年前 (2011/09/06 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串12/26 (看更多)
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"
文章代碼(AID): #1EPXB2Xa (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EPXB2Xa (FB_current)