Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944810 - media-gfx/prusaslicer-2.8.1-r1 fails to build with libqhullcpp.a: plugin needed to handle lto object
Summary: media-gfx/prusaslicer-2.8.1-r1 fails to build with libqhullcpp.a: plugin need...
Status: RESOLVED DUPLICATE of bug 926120
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-24 12:31 UTC by Alexey Korepanov
Modified: 2024-11-27 06:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.tar.xz,39.79 KB, application/x-xz)
2024-11-24 12:33 UTC, Alexey Korepanov
Details
emerge --info (emerge-info.txt,6.87 KB, text/plain)
2024-11-24 12:34 UTC, Alexey Korepanov
Details
emerge -pv (emerge-pv.txt,354 bytes, text/plain)
2024-11-24 12:34 UTC, Alexey Korepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***