Summary: | dev-qt/qtscript-5.6.0 fails to link with LTO -> error: undefined reference to 'cti_vm_throw' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petros <petros_20> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kredba |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info build.log patch |
Description
Petros
2016-04-24 09:43:13 UTC
Created attachment 431790 [details]
build.log
Created attachment 431792 [details]
emerge --info
Created attachment 431794 [details]
build.log
Add __attribute__((used)) to the end of cti_vm_throw line in the /var/tmp/portage/dev-qt/qtscript-5.6.0/work/qtscript-opensource-src-5.6.0/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h file. Unfortunetly slim LTO build is broken more for qtwebkit-5.5 and 5.6. *** This bug has been marked as a duplicate of bug 581022 *** Created attachment 472628 [details, diff] patch (In reply to David Kredba from comment #4) > Add __attribute__((used)) to the end of cti_vm_throw line in the > /var/tmp/portage/dev-qt/qtscript-5.6.0/work/qtscript-opensource-src-5.6.0/ > src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h file. I placed at the beggining and it worked. As I recall when I placed at the end it didn't work. |