lang/gcc on freebsd 10

Kostik Belousov kostikbel at gmail.com
Thu Dec 15 11:35:11 UTC 2011


On Thu, Dec 15, 2011 at 12:59:02PM +0200, Andriy Gapon wrote:
> 
> lang/gcc build would fail for me on FreeBSD 10 (head) with binutils-2.22
> installed during its configure step with the errors like the following in
> config.log:
> 
> configure:2978: checking for C compiler default output file name
> configure:3000:  /usr/obj/usr/ports/lang/gcc/work/build/./prev-gcc/xgcc
> -B/usr/obj/usr/ports/lang/gcc/work/build/./prev-gcc/
> -B/usr/local/x86_64-portbld-freebsd10.0/bin/
> -B/usr/local/x86_64-portbld-freebsd10.0/bin/
> -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem
> /usr/local/x86_64-portbld-freebsd10.0/include -isystem
> /usr/local/x86_64-portbld-freebsd10.0/sys-include    -g -O2 -gtoggle
> -static-libstdc++ -static-libgcc  conftest.c  >&5
> xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> 
> It seems that the error occurs because the preceding steps create
> liblto_plugin.so.0.0 file, but no liblto_plugin.so link to it.  Not sure why is
> that though.  Maybe something about platform misdetection.
.0.0 is almost sure indication of another case of FreeBSD-10 bug, i.e.
freebsd1* glob that used to detect a.out shared libraries.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20111215/c69df9cb/attachment.pgp


More information about the freebsd-ports mailing list