<br><div style="color: rgb(0, 0, 0); font-family: Verdana;"><font size="2">mmmm....looking at the solari_intel sources, uno2cpp.cxx already contains code similar</font>
</div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><font size="2">to the patch you pointed:</font></div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><font size="2"><br></font></div><div><font size="2"><div><font face="Verdana">using namespace ::com::sun::star::uno;</font></div><div><font face="Verdana"><br></font></div><div><font face="Verdana">namespace</font></div><div><font face="Verdana">{</font></div><div><font face="Verdana"><br></font></div><div><font face="Verdana">static void  __attribute__((noinline)) callVirtualMethod(</font></div><div><font face="Verdana">    void * pAdjustedThisPtr,</font></div><div><font face="Verdana">    sal_Int32 nVtableIndex,</font></div><div><font face="Verdana">    void * pRegisterReturn,</font></div><div><font face="Verdana">    typelib_TypeClass eReturnType,</font></div><div><font face="Verdana">    sal_Int32 * pStackLongs,</font></div><div><font face="Verdana">    sal_Int32 nStackLongs )</font></div><div><font face="Verdana">{</font></div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana;">....</div><div style="color: rgb(0, 0, 0); font-family: Verdana;">....</div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana;">and</div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana;"><div>    asm volatile (</div><div>        "mov   %%esp, %2\n\t"</div><div>       // preserve potential 128bit stack alignment</div><div>        "and   $0xfffffff0, %%esp\n\t"</div><div>        "mov   %3, %%eax\n\t"</div><div>        "lea   -4(,%%eax,4), %%eax\n\t"</div><div>        "and   $0xf, %%eax\n\t"</div><div>        "sub   $0xc, %%eax\n\t"</div><div>...</div><div>...</div><div>...</div><div><br></div><div><br></div><div>without the need for a new callvirtualmethod.cxx</div><div><br></div><div>The remaining part of the patches actually just take out an unused call (dummy_can_throw_anything)</div><div>and add some throw() around.</div><div><br></div><div>How can we track if that solar files are already taking into account gcc 4.7?</div></div></font></div><tt style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Stephan Bergmann <sbergman@redhat.com><br>A: libreoffice@lists.freedesktop.org <br>Data: 16 febbraio 2015 13.38.47 CET<br>Oggetto: Re: uno.bin core dump during build<br><br></tt><blockquote style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px; border-left-color: rgb(0, 0, 128); border-left-width: 2px; border-left-style: solid; margin-left: 5px; padding-left: 5px;"><tt>On 02/16/2015 11:38 AM, Gabriele Bulfon wrote:<br>> while building on XStreamOS / illumos, looks like uno.bin gets corrupted<br>> then causing a core dump at first build usage.<br><br>Most likely bridges/source/cpp_uno/gcc3_solar_intel/ needs the <br>equivalent of <br><http://cgit.freedesktop.org/libreoffice/core/commit/?id=0fdbb5b0eabbaa571f3747fda12a56c938cba474> <br>"Make cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7."<br><br>_______________________________________________<br>LibreOffice mailing list<br>LibreOffice@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/libreoffice<br><br><br></tt></blockquote>