Created attachment 389014 [details] dev-ada:aunit-2.03:20141110-024609.log in a hardened ~amd64 chroot of a hardened amd64 I get : >>> Compiling source in /var/tmp/portage/dev-ada/aunit-2.03/work/aunit-2.03 ... * compiling for gnat profile x86_64-pc-linux-gnu-gnat-gcc-4.6 gnatgcc -c -g -gnatQ -O1 -gnatf -gnato -gnatwae -gnaty -I- -gnatA /var/tmp/portage/dev-ada/aunit-2.03/work/LocalSource/aunit/framework/calendar/aunit_framework-time_measure.adb gnatgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. gnatmake: "/var/tmp/portage/dev-ada/aunit-2.03/work/LocalSource/aunit/framework/calendar/aunit_framework-time_measure.adb" compilation error gnatgcc -c -g -gnatQ -fPIC -O1 -gnatf -gnato -gnatwae -gnaty -I- -gnatA /var/tmp/portage/dev-ada/aunit-2.03/work/LocalSource/aunit/framework/calendar/aunit_framework-time_measure.adb gnatgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. gnatmake: "/var/tmp/portage/dev-ada/aunit-2.03/work/LocalSource/aunit/framework/calendar/aunit_framework-time_measure.adb" compilation error * ERROR: dev-ada/aunit-2.03::gentoo failed (compile phase): * failed compiling for x86_64-pc-linux-gnu-gnat-gcc-4.6
*** Bug 528876 has been marked as a duplicate of this bug. ***
CCing treecleaners
I get this same error on net-mail/topal-75 -- it seems to be an issue with the compilation environment, as gcc has installed the .so that isn't being found: $ equery files gcc | grep -i liblto /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/liblto_plugin.la /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/liblto_plugin.so /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/liblto_plugin.so.0 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/liblto_plugin.so.0.0.0 Did you ever find a solution to this?
Its an issue in gnat-gcc built with lto support. Lets keep discussion to one bug.. *** This bug has been marked as a duplicate of bug 501178 ***