openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Lewis <truck...@apache.org>
Subject Re: Help needed: Build error in bean and vcl
Date Mon, 05 Sep 2016 03:39:03 GMT
On  4 Sep, Don Lewis wrote:
> On  4 Sep, Marcus wrote:
>> Thanks a lot. "libXt-devel" was indeed not installed.
>> 
>> But now it's breaking in svx:
>> 
>> [...]
>> 
>> =============
>> Building module svx
>> =============
>> 
>> Entering /share/linux2/aoo/trunk/main/svx/prj
>> 
>> cd .. && make -s -r -j1   && make -s -r deliverlog
>> [ build LNK ] Library/libsvxcore.so
>> /share/linux2/aoo/trunk/main/solver/420/unxlngx6.pro/workdir/CxxObject/svx/source/fmcomp/fmgridif.o:
>> In function
>> `FmXGridControl::createPeer(com::sun::star::uno::Reference<com::sun::star::awt::XToolkit>
>> const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer>
>> const&)':
>> fmgridif.cxx:(.text+0x68b2): undefined reference to `non-virtual thunk to
>> WindowListenerMultiplexer::acquire()'
>> /usr/bin/ld:
>> /share/linux2/aoo/trunk/main/solver/420/unxlngx6.pro/workdir/CxxObject/svx/source/fmcomp/fmgridif.o:
>> relocation R_X86_64_PC32 against undefined symbol
>> `_ZThn48_N25WindowListenerMultiplexer7acquireEv' can not be used when
>> making a shared object; recompile with -fPIC
>> /usr/bin/ld: final link failed: Bad value
>> collect2: error: ld returned 1 exit status
>> /share/linux2/aoo/trunk/main/solenv/gbuild/LinkTarget.mk:248: recipe for
>> target
>> '/share/linux2/aoo/trunk/main/solver/420/unxlngx6.pro/workdir/LinkTarget/Library/libsvxcore.so'
>> failed
>> make: ***
>> [/share/linux2/aoo/trunk/main/solver/420/unxlngx6.pro/workdir/LinkTarget/Library/libsvxcore.so]
>> Error 1
>> dmake:  Error code 2, while making 'all'
>> 
>> 1 module(s):
>> 	svx
>> need(s) to be rebuilt
> 
> That looks very familiar.  What compiler version are you using?

Yup, it's gcc 4.9 bug.  This is what I did for the FreeBSD port to work
around this problem:
<https://bz.apache.org/ooo/show_bug.cgi?id=125475#c8>

Unfortunately $(CCNUMVER) isn't available to gbuild so we can't disable
optimization of the affected file only for gcc 4.9.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message