Added workaround for app-emulation/libguestfs #245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
=app-emulation/libguestfs-1.38.6 compilation fails with the following error:
libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/app-emulation/libguestfs-1.38.6/work/libguestfs-1.38.6/gobject/tmp-introspectwljek7i2/.libs/Guestfs-1.0 -march=native -O3 -fgraphite-identity -floop-nes t-optimize -fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -pipe -falign-functions=32 -Wl,-O1 -Wl,--hash-style=gnu -fno-strict-overflow -Wno-strict-overflow /var/tmp/portage/app-emulation/libgu estfs-1.38.6/work/libguestfs-1.38.6/gobject/tmp-introspectwljek7i2/Guestfs-1.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--hash-style=gnu -march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -f no-semantic-interposition -flto=8 -fuse-linker-plugin -pipe -falign-functions=32 -Wl,--export-dynamic -L. ./.libs/libguestfs-gobject-1.0.so ../lib/.libs/libguestfs.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgli b-2.0 -Wl,--as-needed -pthread
Command '['/var/tmp/portage/app-emulation/libguestfs-1.38.6/work/libguestfs-1.38.6/gobject/tmp-introspectwljek7i2/Guestfs-1.0', '--introspect-dump=/var/tmp/portage/app-emulation/libguestfs-1.38.6/work/libguestfs-1.38.6/gobject/tmp-introspectwljek7i2/functions.txt,/var/tmp/portage/app-emulation/libguestfs-1.38.6/work/libguestfs-1.38.6/gobject/tmp-introspectwljek7i2/dump.xml']' died with <Signals.SIGSEGV: 11>.
Disabling LTO allowed it to compile.