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

Bug 910432

Summary: media-libs/vamp-plugin-sdk: lto-wrapper failed
Product: Gentoo Linux Reporter: Andrew Udvare <audvare>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Udvare 2023-07-16 14:57:19 UTC
x86_64-pc-linux-gnu-ar: creating libvamp-hostsdk.a
x86_64-pc-linux-gnu-ranlib ./libvamp-sdk.a
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed  -o host/vamp-simple-host host/vamp-simple-host.o ./libvamp-hostsdk.a -lsndfile
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed  -o rdf/generator/vamp-rdf-template-generator rdf/generator/vamp-rdf-template-generator.o ./libvamp-hostsdk.a
x86_64-pc-linux-gnu-ranlib ./libvamp-hostsdk.a
lto1: error: ./libvamp-hostsdk.a: file too short
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: x86_64-pc-linux-gnu-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

I have the preprocessed source and logs. Both are too large for attachment. Where can I share these files?
Comment 1 Mike Gilbert gentoo-dev 2023-07-20 15:23:36 UTC
> I have the preprocessed source and logs. Both are too large for attachment. Where can I share these files?

Please compress the logs and attach them to the bug.

Also provide emerge --info.
Comment 2 Andrew Udvare 2023-07-21 00:12:48 UTC
I tried to reproduce this today and it is no longer happening.