[arch-dev-public] LibreOffice build error/linker bug?
In preparation of LibO 3.4 release my i686 build crash always at the same point. It seems to me to be a bug in our linker package. No other distribution seems to run into this, upstream has no clue so far. So I'm asking here for help. The stuff is in trunk. Please help how to locate and fix it. -Andy from the i686 build log: [ build CXX ] sc/source/ui/vba/vbawsfunction [ build LNK ] Library/vbaobj.uno.so `.L121' referenced in section `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o: defined in discarded section `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o `.L122' referenced in section `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o: defined in discarded section `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o `.L123' referenced in section `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o: defined in discarded section `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o `.L124' referenced in section `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o: defined in discarded section `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o `.L124' referenced in section `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o: defined in discarded section `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of /build/src/build/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o collect2: ld returned 1 exit status make[1]: *** [/build/src/build/solver/300/unxlngi6.pro/workdir/LinkTarget/Library/vbaobj.uno.so] Error 1 dmake: Error code 2, while making 'all'
On 14/05/11 02:54, Andreas Radke wrote:
In preparation of LibO 3.4 release my i686 build crash always at the same point. It seems to me to be a bug in our linker package. No other distribution seems to run into this, upstream has no clue so far.
So I'm asking here for help. The stuff is in trunk. Please help how to locate and fix it.
-Andy
from the i686 build log:
<snip>
These error tend to be due to gcc rather than binutils. I am building a new gcc snapshot this weekend to fix another issue with our current packages, so that might help. Although, I can not see any relevant fix on a quick glance... Allan
Am Sat, 14 May 2011 10:03:48 +1000 schrieb Allan McRae <allan@archlinux.org>:
On 14/05/11 02:54, Andreas Radke wrote:
In preparation of LibO 3.4 release my i686 build crash always at the same point. It seems to me to be a bug in our linker package. No other distribution seems to run into this, upstream has no clue so far.
So I'm asking here for help. The stuff is in trunk. Please help how to locate and fix it.
-Andy
from the i686 build log:
<snip>
These error tend to be due to gcc rather than binutils. I am building a new gcc snapshot this weekend to fix another issue with our current packages, so that might help. Although, I can not see any relevant fix on a quick glance...
Allan
And now a new build breaker with LibO 3.4rc1: Compiling: sdext/source/minimizer/informationdialog.cxx R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir && mkdir -p $W/ComponentTarget/svl/util/ && xsltproc --nonet --stringparam uri 'vnd.sun.star.expand:$OOO_BASE_DIR/program/libsvllx.so' -o $W/ComponentTarget/svl/util/svl.component $S/solenv/bin/createcomponent.xslt $S/svl/util/svl.component [ build CHK ] svl R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir && mkdir -p $W/Module/check/ && touch $W/Module/check/svl [ build DEP ] SRS:svl/res [ build SRS ] svl/res R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir && mkdir -p $W/Dep/SrsTarget/svl/ && cat $W/Dep/SrsPartTarget/svl/source/misc/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d > $W/Dep/SrsTarget/svl/res.d [ build LNK ] Library/fsstorage.uno.so R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir && mkdir -p $W/SrsTarget/svl/ && cat $W/SrsPartTarget/svl/source/misc/mediatyp.src $W/SrsPartTarget/svl/source/items/cstitem.src > $W/SrsTarget/svl/res.srs /bin/sh: line 1: 10897 Segmentation fault make -r -j10 dmake: Error code 139, while making 'all' Sadly LibO doesn't ship any internal gcc anymore :( -Andy
participants (2)
-
Allan McRae
-
Andreas Radke