| 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 |
||
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. |
dev-qt/qtscript-5.6.0 can not be compiled because of error: undefined reference to 'cti_vm_throw'. I tried to investigate it a little further but no success. PC ~ # grep -r cti_vm_throw /usr/lib64/ grep: /usr/lib64/libQt5Designer.so.5.5: no such file or directory grep: /usr/lib64/libQt5DesignerComponents.so.5.5: no such file or directory grep: /usr/lib64/libQt5DesignerComponents.so.5.5.1: no such file or directory grep: /usr/lib64/libQt5Designer.so.5.5.1: no such file or directory Let me tell you that from all dev-qt/qt*:5 packages that was to be emerged, qtscript was the first (but not the only one) to fail at compilation. qtcore:5, qtgui:5 etc were built fine with the same {X}FLAGS and toolchain.