On 8/6/20 9:01 AM, Jeff Law wrote:
On Thu, 2020-08-06 at 08:03 -0600, Orion Poplawski wrote:
> InsightToolkit fails to build with LTO:
>
> /usr/bin/ld.gold: fatal error: lto-wrapper failed
> collect2: error: ld returned 1 exit status
> gmake[2]: ***
>
[Modules/Filtering/ImageIntensity/test/CMakeFiles/ITKImageIntensityTestDriver.dir/build.make:1307:
> bin/ITKImageIntensityTestDriver] Error 1
>
>
https://koji.fedoraproject.org/koji/taskinfo?taskID=48777433
>
> I'm disabling for now. Let me know where I should file a bug if needed.
No need to file a bug right now. Once we're past the mass rebuild we'll review
everything that's opted out and see what upstream actions need to be taken.
Note that it appears this package is using the "gold" linker. That's been
deprecated upstream, so you might want to look at transitioning away to either
ld.bfd or lld.
Thanks,
jeff
Thanks. However it appears to fails the same way with "ld" (presumably
ld.bfd):
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
gmake[2]: ***
[Modules/Filtering/ImageIntensity/test/CMakeFiles/ITKImageIntensityTestDriver.dir/build.make:1307:
bin/ITKImageIntensityTestDriver] Error 1
https://koji.fedoraproject.org/koji/taskinfo?taskID=48844073
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/