[Bug 237688] lang/gcc8 fails to build: /usr/local/bin/ld: /wrkdirs/usr/ports/lang/gcc8/work/.build/./gcc/liblto_plugin.so: error loading plugin: Service unavailable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 8 06:10:08 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237688

--- Comment #4 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to tech-lists from comment #0)
...
> [00:08:16] /usr/local/bin/ld:
> /wrkdirs/usr/ports/lang/gcc8/work/.build/./gcc/liblto_plugin.so: error
> loading plugin: Service unavailable

This is what happens when you link your binutils statically (e.g. the STATIC
option in devel/binutils).  A static ld cannot load any LTO plugin .so files:
if you attempt to do so, you get this unhelpful "Service unavailable" error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list