Date: Tue, 06 Sep 2011 14:01:39 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Volodymyr Kostyrko <c.kworr@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Compiling BETA2 with clang fails Message-ID: <4E660BA3.8080103@FreeBSD.org> In-Reply-To: <4E644993.4090703@gmail.com> References: <j3u29f$bv8$1@dough.gmane.org> <4E62915E.1010405@FreeBSD.org> <4E6294E0.5010104@gmail.com> <4E6298DE.5090007@FreeBSD.org> <4E644993.4090703@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E660BA3.8080103>