Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 944810

Summary: media-gfx/prusaslicer-2.8.1-r1 fails to build with libqhullcpp.a: plugin needed to handle lto object
Product: Gentoo Linux Reporter: Alexey Korepanov <kaikaikai>
Component: Current packagesAssignee: 3D Printing Team <3dprint>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kaikaikai
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
emerge -pv

Description Alexey Korepanov 2024-11-24 12:31:57 UTC
I had no issues with media-gfx/prusaslicer-2.8.1 and gcc-13.
But I cannot build media-gfx/prusaslicer-2.8.1-r1 with gcc-14, the error is

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(Qhull.cpp.o): plugin needed to handle lto object
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(Qhull.cpp.o): plugin needed to handle lto object
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(QhullFacet.cpp.o): plugin needed to handle lto object
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(QhullFacet.cpp.o): plugin needed to handle lto object
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(QhullVertex.cpp.o): plugin needed to handle lto object
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libqhullcpp.a(QhullVertex.cpp.o): plugin needed to handle lto object
...


I tried it with lto disabled, but the error is the same

Reproducible: Always
Comment 1 Alexey Korepanov 2024-11-24 12:33:45 UTC
Created attachment 911752 [details]
build.log
Comment 2 Alexey Korepanov 2024-11-24 12:34:04 UTC
Created attachment 911753 [details]
emerge --info
Comment 3 Alexey Korepanov 2024-11-24 12:34:21 UTC
Created attachment 911754 [details]
emerge -pv
Comment 4 Alexey Korepanov 2024-11-24 15:27:07 UTC
As a workaround, building both qhull and prusaslicer without lto worked
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-27 06:52:50 UTC

*** This bug has been marked as a duplicate of bug 926120 ***