MySQL Native Connector broken for LOdev 3.6

Stephan Bergmann sbergman at redhat.com
Wed Jun 13 23:38:31 PDT 2012


On 06/13/2012 06:39 PM, Fernand Vanrie wrote:
> On 13/06/2012 17:26, Stephan Bergmann wrote:
>> On 06/12/2012 02:48 PM, Fernand Vanrie wrote:
>>> Sinds dev 3.6 the MySQL Native connector (for Windows) is broken , the
>>> Mysqlc.uno.dll can not been loaded during the extention installation , i
>>> suppose the extension code have to be recompiled against the latest LO
>>> code.
>>
>> Ha, looks like
>> <http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e67c03dc0225fc66343546b14e902b9d238b1a3>
>>
>> "Enable -Wnon-virtual-dtor for GCC 4.6" is the culprit. Among other
>> things, it changed the destructor of cppu::OPropertySetHelper from
>> public to protected, which with MSC changes the corresponding mangled
>> symbol name from ??1OPropertySetHelper at cppu@@QAE at XZ to
>> ??1OPropertySetHellper at cppu@IAE at XZ, so breaks compatibility of
>> cppuhelper3msc.dll.
>>
>> I'm working on a fix.
> Stephan, also thanks but Michael Meeks wrote also :
>
> Fridrich is having a look, if it worked for 3.5 - it is possible there
> is some funky linking issue and/or calling convention, or missing
> back-compat piece we might need to re-instate.
>
>
> Hopes you and Fridrich dont do the same job :-)

No, it was a concerted effort.  :)

Anyway, fixed now with 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=271c4e2fe53c6fe159789db27507804133e72814> 
"Revert MSVC ABI incompatible URE change (public -> protected)" on 
master and libreoffice-3-6 (3.5 was not affected).

Stephan


More information about the LibreOffice mailing list