Bug 108154 - Doesnt compile with LTO anymore.
Summary: Doesnt compile with LTO anymore.
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: All All
: lowest normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-27 10:43 UTC by Ivan Majhen
Modified: 2017-05-27 23:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Majhen 2017-05-27 10:43:25 UTC
Description:
When flag --enable-lto is enabled, compilation fails. 

Steps to Reproduce:
Configure with LTO.


Actual Results:  
Failed compilation:
/var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/temp/ccKfBKCF.ltrans20.ltrans.o: In function `MultiLineEdit::~MultiLineEdit()':
<artificial>:(.text+0x213): undefined reference to `vtable for MultiLineEdit'
<artificial>:(.text+0x239): undefined reference to `VTT for MultiLineEdit'
/var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/temp/ccKfBKCF.ltrans20.ltrans.o: In function `dp_gui::LicenseView::~LicenseView()':
<artificial>:(.text+0x2fb): undefined reference to `vtable for MultiLineEdit'
<artificial>:(.text+0x332): undefined reference to `vtable for MultiLineEdit'
/var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/temp/ccKfBKCF.ltrans20.ltrans.o: In function `MultiLineEdit::~MultiLineEdit()':
<artificial>:(.text+0x3b3): undefined reference to `vtable for MultiLineEdit'
<artificial>:(.text+0x3e0): undefined reference to `VTT for MultiLineEdit'
/var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/temp/ccKfBKCF.ltrans20.ltrans.o: In function `makeLicenseView':
<artificial>:(.text+0x7be): undefined reference to `vtable for MultiLineEdit'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/work/libreoffice-5.3.3.2/desktop/Library_deploymentgui.mk:10: /var/tmp/portage-ondisk/portage/app-office/libreoffice-5.3.3.2/work/libreoffice-5.3.3.2/instdir/program/libdeploymentgui.so] Error 1
make[1]: *** Waiting for unfinished jobs....


Expected Results:
Should compile like before


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.61 Safari/537.36
Comment 1 How can I remove my account? 2017-05-27 16:53:10 UTC
Don't do it then. Or fix it. The help message for --enable-lto says "[...] This is experimental work in progress that shouldn't be used unless you are working on it."
Comment 2 Xisco Faulí 2017-05-27 23:54:34 UTC
Closing as RESOLVED WONTFIT as per comment 1