[Bug ipa/64812] [4.9 regression] x86 LibreOffice Build failure: undefined reference to acquire
mstahl at redhat dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 27 14:23:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812
Michael Stahl <mstahl at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtardon at redhat dot com
--- Comment #9 from Michael Stahl <mstahl at redhat dot com> ---
(In reply to Markus Trippelsdorf from comment #8)
> Also happens with gcc-5 when linking two different LibreOffice libraries.
> (libscfiltlo.so and libooxlo.so)
>
> The undefined symbol is:
> x4 ~ # c++filt _ZThn40_N3utl28OSeekableOutputStreamWrapper7acquireEv
> non-virtual thunk to utl::OSeekableOutputStreamWrapper::acquire()
interesting ... you are building LO 4.4.1.1 or older?
looking at the git log there is this apparent work-around:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=8bb0446974282b32d06cdbd35af83f91e033b4af
not sure if it's the same bug... in case this is triggered by some sort
of de-virtualization new in GCC5 then i guess it is LO's fault
because the acquire() / release() was not dll-exported.
i will push that to the libreoffice-4-3 release branch to get it into 4.3.7.
(i've only tried to build current master, which works fine now with
workaround for the bug from the description)
More information about the Gcc-bugs
mailing list