Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added workaround for app-emulation/libguestfs #245

Merged
merged 2 commits into from
Feb 17, 2019
Merged

Added workaround for app-emulation/libguestfs #245

merged 2 commits into from
Feb 17, 2019

Conversation

corrmaan
Copy link
Contributor

=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.

Disable LTO for app-emulation/libguestfs to allow it to compile.
@InBetweenNames
Copy link
Owner

Thanks for the contribution!

@InBetweenNames InBetweenNames merged commit cd92a39 into InBetweenNames:master Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants