Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528854 - dev-ada/aunit-2.03 - gnatgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
Summary: dev-ada/aunit-2.03 - gnatgcc: fatal error: -fuse-linker-plugin, but liblto_pl...
Status: RESOLVED DUPLICATE of bug 501178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard: Pending removal: 2016-02-06
Keywords: PMASKED
: 528876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-10 16:35 UTC by Toralf Förster
Modified: 2016-02-10 15:59 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ada:aunit-2.03:20141110-024609.log (dev-ada:aunit-2.03:20141110-024609.log,2.36 KB, text/plain)
2014-11-10 16:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2014-11-10 16:35:04 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-11 11:20:38 UTC
*** Bug 528876 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2015-05-13 21:12:18 UTC
CCing treecleaners
Comment 3 Philippe Chaintreuil 2015-09-08 12:41:09 UTC
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?
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2016-02-10 15:59:25 UTC
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 ***