<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Doesnt compile with LTO anymore."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108154">108154</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Doesnt compile with LTO anymore.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.3.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>majhen.ivan@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>