Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5042 closed defect (fixed)

gcc-4.9.0 32-bit build issues - libreoffice

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Attachments (2)

libreoffice-4.2.3.3-gcc-4.9-1.patch.bz2 (652 bytes ) - added by ken@… 10 years ago.
Jürg's patch from Paldo
libreoffice-4.2.3.3-gcc-4.9-1.patch (1.7 KB ) - added by bdubbs@… 10 years ago.
Uncompressed patch so it can be viewed in Trac

Download all attachments as: .zip

Change History (43)

comment:1 by Fernando de Oliveira, 10 years ago

Tried to build it twice. First, with j4 and now with j1.

Same problem:

[build CXX] svx/source/form/typemap.cxx
[build CXX] svx/source/form/xfm_addcondition.cxx
[build DEP] LNK:Library/libsvxcorelo.so
[build LNK] Library/libsvxcorelo.so
/home/fernando/tmp/paco-build-libreoffice-2014.05.10-17h56m31s/
libreoffice-4.2.4.2/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+0x7f5a): undefined reference to `non-virtual thunk to 
WindowListenerMultiplexer::acquire()'
fmgridif.cxx:(.text+0x7fb5): undefined reference to `non-virtual thunk to 
FocusListenerMultiplexer::acquire()'
fmgridif.cxx:(.text+0x8010): undefined reference to `non-virtual thunk to 
KeyListenerMultiplexer::acquire()'
fmgridif.cxx:(.text+0x806b): undefined reference to `non-virtual thunk to 
MouseListenerMultiplexer::acquire()'
fmgridif.cxx:(.text+0x80c6): undefined reference to `non-virtual thunk to 
MouseMotionListenerMultiplexer::acquire()'
fmgridif.cxx:(.text+0x8121): undefined reference to `non-virtual thunk to 
PaintListenerMultiplexer::acquire()'
collect2: error: ld returned 1 exit status
/home/fernando/tmp/paco-build-libreoffice-2014.05.10-17h56m31s/
libreoffice-4.2.4.2/svx/Library_svxcore.mk:20: recipe for target 
'/home/fernando/tmp/paco-build-libreoffice-2014.05.10-17h56m31s/libreoffice-4.2.4.2/instdir/program/libsvxcorelo.so' failed
make[1]: *** [/home/fernando/tmp/paco-build-libreoffice-2014.05.10-17h56m31s/
libreoffice-4.2.4.2/instdir/program/libsvxcorelo.so] Error 1
Makefile:217: recipe for target 'build' failed
make: *** [build] Error 2

I have found one reference to this problem, but with version 4.2.3.3, but no solution:

"Bug 78174 - Build failure: undefined reference to acquire"

https://bugs.freedesktop.org/show_bug.cgi?id=78174

in reply to:  1 comment:2 by Fernando de Oliveira, 10 years ago

Replying to fo:

I have found one reference to this problem, but with version 4.2.3.3, but no solution:

"Bug 78174 - Build failure: undefined reference to acquire"

https://bugs.freedesktop.org/show_bug.cgi?id=78174

One detail I only notice yesterday afternoon in that bug:

The build of libreoffice 4.2.3.3 fails here in a clean build environment on 
Linux x86-32 with gcc 4.9.0. However, the build succeeds on an otherwise 
identical x86-64 system, and it also succeeds with gcc 4.8.2 (on x86-32 and 
x86-64)

I can build it in LFS 7.1 svn (gcc-4.6.3), LFS-7.5 (gcc-4.8.2), but not in svn sysv (gcc-4.9.0 patched).

So, it seems that i686 with gcc 4.9.0 is the only affected. I have not built version in the book (4.2.3.3), but from the bug, it started with that, and was not noticed, because the update was with x86_64.

I am thinking to install latest gcc -dev in svn , now that I will need to build a new LFS, and test again.

I am still afraid about gcc and what can be done with it.

comment:3 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

As I am working on this, I will take. If LFS-7.5 is acceptable, I can update using that one. If not, I will need to find a fix for gcc.

At the moment I am still working to find a fix, would appreciate any help. Also would appreciate any comment against or not using previous gcc or dev gcc.

Other option is ignore i686, and someone else update using x86-64, but I do not believe that "The Book" wants that solution.

comment:4 by bdubbs@…, 10 years ago

I suggest just holding on to it for a week or two to see if something comes up from upstream. We really do need to stay with the latest compiler for BLFS.

comment:5 by Fernando de Oliveira, 10 years ago

Problem is that since previous version the problem is there without apparent solution. I did install it but in LFS-7.5.

About gcc, I wrote about LFS-7.5 just for the update, because the one in the book has the same problem. Therefore from the point of view of this problem, it does not matter if updated to the new version.

I have installed gcc-4.9-20140507 and, as Armin wrote in the qt4 ticket:

$ gcc --version
gcc (GCC) 4.9.1 20140507 (prerelease)

it is already a prelease.

I am now trying to build LO with that. If it works, as soon as gcc-4.9.1 is released, the package can be update, if you or the other devs think that we need to wait for a solution.

comment:6 by Fernando de Oliveira, 10 years ago

Build failed.

comment:7 by Fernando de Oliveira, 10 years ago

Will spend about more 4 hours with this and will give up temporarily to build new LFS/eudev.

I did not say that I was using gcc-4.9.1-prerelease for the latest failure, it was the same problem.

Tried once more again, removing all "with-system" and used --with-lang="", same problem.

I hate being the "lucky" one reporting bad news.

I like reporting solutions.

comment:8 by Fernando de Oliveira, 10 years ago

Building LFS75eudev.

Nothing I tried worked for LO, now, only after LFS75eudev and dependencies are built.

Tried some patches from upstream, to see if they could be related to problem (just guessing) did not work.

Some sed's. nothing.

Tried to build without any with-system, again, same error.

Final attempt: tried to build from git, so, all patches, including for ICU53.1 were already applied: exactly same failure, but more verbose, the building.

Only guess is gcc, but 4.9.0 or 1 don't work.

comment:9 by Fernando de Oliveira, 10 years ago

Owner: changed from Fernando de Oliveira to blfs-book@…
Status: assignednew

I'm sorry.

I am having problems with my system. Will build a new one. Don't know when will be with a system to update packages, so, I am giving back to the book all that I had to do.

comment:10 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:11 by bdubbs@…, 10 years ago

Summary: libreoffice-4.2.4gcc-4.9.0 32-bit build issues - libreoffice, gst-plugins-base, lame

comment:12 by Fernando de Oliveira, 10 years ago

Keywords: blfs-book@linuxfromscratch.org added
Status: assignednew

Right, thanks!

There are also problems with qt, and kde, that we apparently solved with a patch submitted by Armin.

I am giving back to the book, so whoever finds the solution or wants to investigate can take it.

comment:13 by Fernando de Oliveira, 10 years ago

Keywords: blfs-book@linuxfromscratch.org removed
Owner: changed from Fernando de Oliveira to blfs-book@…

comment:14 by Fernando de Oliveira, 10 years ago

Just now, remembered that the patch was for gcc-4.9.0. I used to recompile gcc, but it is now incorporated to LFS.

Problem solved for 32 (and 64bit, I presume) and was segfaults for some Qt and KDE programs.

comment:15 by ken@…, 10 years ago

lame : previous fix did not fix the compilation for me, the sed in r13178 does and has been tested at runtime.

comment:16 by ken@…, 10 years ago

Patches for both versions of gst-plugins-base added in r13179. Both versions now compile on my hardware, and 1.2.4 seems to work well. With 0.10.36 I cannot get any sound, so there is probably still a runtime problem somewhere in the gstreamer-0.10 packages.

in reply to:  14 ; comment:17 by Fernando de Oliveira, 10 years ago

Replying to fo:

Just now, remembered that the patch was for gcc-4.9.0. I used to recompile gcc, but it is now incorporated to LFS.

Problem solved for 32 (and 64bit, I presume) and was segfaults for some Qt and KDE programs.

The problem solved here is gcc for other packages, not LibreOffice.

I believe that gst plugins are OK, Ken seems to have all problems solved.

comment:18 by Fernando de Oliveira, 10 years ago

Back to LibreOffice

I have tried modifications, all resulted in failure of LO build, so many, that I don't remember everything.

One modification was --enable-verbose (IITR). Anyway, now I have the failing command (apologies for the long line, don't want to mess up):

Configuration: Running ./configure with '--prefix=/opt/libreoffice-4.2.4.2' '--sysconfdir=/etc/' '--enable-crashdump' '--enable-epm' '--enable-gstreamer' '--enable-gtk3' '--enable-release-build' '--enable-python=system' '--enable-split-app-modules' '--enable-vlc' '--enable-verbose' '--disable-gnome-vfs' '--disable-gconf' '--disable-kde' '--disable-kde4' '--disable-odk' '--disable-postgresql-sdbc' '--disable-systray' '--with-alloc=system' '--with-system-boost' '--with-system-clucene' '--with-system-cairo' '--with-system-curl' '--with-system-expat' '--with-system-graphite' '--with-system-harfbuzz' '--with-system-icu' '--with-system-jpeg' '--with-system-lcms2' '--with-system-libatomic_ops' '--with-system-libpng' '--with-system-libxml' '--with-system-mesa-headers' '--with-system-neon' '--with-system-npapi-headers' '--with-system-nss' '--with-system-odbc' '--with-system-openldap' '--with-system-openssl' '--with-system-poppler' '--with-system-redland' '--with-system-zlib' '--with-build-version=4.2.4.2' '--with-lang=pt-BR en-US' '--with-help' '--with-alloc=system' '--with-parallelism=1' '--with-package-format=native' '--with-vendor=LFS-BLFS' '--without-java' '--without-krb5' '--without-system-dicts' '--without-gssapi' '--srcdir=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2' '--enable-option-checking=fatal'

Commands just before the error:

build DEP] LNK:Library/libsvxcorelo.so [build LNK] Library/libsvxcorelo.so S=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/Dep/LinkTarget/Library/ && RESPONSEFILE=/tmp/gbuild.x6b8nx && LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/ure/lib:$I/program" $W/LinkTarget/Executable/concat-deps ${RESPONSEFILE} > $W/Dep/LinkTarget/Library/libsvxcorelo.so.d && rm -f ${RESPONSEFILE} S=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && g++ -shared -Wl,-z,noexecstack -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-rpath-link,$I/ure/lib -Wl,-rpath-link,$I/program -Wl,-z,defs -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -Wl,--hash-style=gnu -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib -L$I/ure/lib -L$I/program -Wl,-O1 -Wl,-S $W/CxxObject/svx/source/core/coreservices.o $W/CxxObject/svx/source/core/extedit.o $W/CxxObject/svx/source/core/graphichelper.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShape2d.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeFunctionParser.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeGeometry.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeTypeNames.o $W/CxxObject/svx/source/dialog/checklbx.o $W/CxxObject/svx/source/dialog/dialmgr.o $W/CxxObject/svx/source/dialog/dlgutil.o $W/CxxObject/svx/source/dialog/framelink.o $W/CxxObject/svx/source/dialog/langbox.o $W/CxxObject/svx/source/dialog/stddlg.o $W/CxxObject/svx/source/dialog/svxdlg.o $W/CxxObject/svx/source/engine3d/camera3d.o $W/CxxObject/svx/source/engine3d/cube3d.o $W/CxxObject/svx/source/engine3d/deflt3d.o $W/CxxObject/svx/source/engine3d/dragmt3d.o $W/CxxObject/svx/source/engine3d/e3dsceneupdater.o $W/CxxObject/svx/source/engine3d/e3dundo.o $W/CxxObject/svx/source/engine3d/extrud3d.o $W/CxxObject/svx/source/engine3d/helperhittest3d.o $W/CxxObject/svx/source/engine3d/helperminimaldepth3d.o $W/CxxObject/svx/source/engine3d/lathe3d.o $W/CxxObject/svx/source/engine3d/obj3d.o $W/CxxObject/svx/source/engine3d/objfac3d.o $W/CxxObject/svx/source/engine3d/polygn3d.o $W/CxxObject/svx/source/engine3d/polysc3d.o $W/CxxObject/svx/source/engine3d/scene3d.o $W/CxxObject/svx/source/engine3d/sphere3d.o $W/CxxObject/svx/source/engine3d/svx3ditems.o $W/CxxObject/svx/source/engine3d/view3d.o $W/CxxObject/svx/source/engine3d/view3d1.o $W/CxxObject/svx/source/engine3d/viewpt3d2.o $W/CxxObject/svx/source/gallery2/codec.o $W/CxxObject/svx/source/gallery2/galbrws.o $W/CxxObject/svx/source/gallery2/galbrws1.o $W/CxxObject/svx/source/gallery2/galbrws2.o $W/CxxObject/svx/source/gallery2/galctrl.o $W/CxxObject/svx/source/gallery2/galexpl.o $W/CxxObject/svx/source/gallery2/galini.o $W/CxxObject/svx/source/gallery2/gallery1.o $W/CxxObject/svx/source/gallery2/galmisc.o $W/CxxObject/svx/source/gallery2/galobj.o $W/CxxObject/svx/source/gallery2/galtheme.o $W/CxxObject/svx/source/gallery2/GalleryControl.o $W/CxxObject/svx/source/gallery2/GallerySplitter.o $W/CxxObject/svx/source/items/chrtitem.o $W/CxxObject/svx/source/items/clipfmtitem.o $W/CxxObject/svx/source/items/customshapeitem.o $W/CxxObject/svx/source/items/drawitem.o $W/CxxObject/svx/source/items/e3ditem.o $W/CxxObject/svx/source/items/galleryitem.o $W/CxxObject/svx/source/items/grfitem.o $W/CxxObject/svx/source/sdr/animation/scheduler.o $W/CxxObject/svx/source/sdr/animation/objectanimator.o $W/CxxObject/svx/source/sdr/animation/animationstate.o $W/CxxObject/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrfilltextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrlineshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrformtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrformtextoutlineattribute.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofgroup.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrpage.o $W/CxxObject/svx/source/sdr/contact/viewcontactofpageobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3d.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dcube.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrmediaobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofpageobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofe3dscene.o $W/CxxObject/svx/source/sdr/contact/viewcontactofgraphic.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactredirector.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrcircobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofgroup.o $W/CxxObject/svx/source/sdr/contact/viewcontactofunocontrol.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrobj.o $W/CxxObject/svx/source/sdr/contact/objectcontact.o $W/CxxObject/svx/source/sdr/contact/viewcontactoftextobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dlathe.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrpage.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dextrude.o $W/CxxObject/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.o $W/CxxObject/svx/source/sdr/contact/viewcontact.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrole2obj.o $W/CxxObject/svx/source/sdr/contact/displayinfo.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dscene.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrrectobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrole2obj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofunocontrol.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofgraphic.o $W/CxxObject/svx/source/sdr/contact/sdrmediawindow.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrcaptionobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofvirtobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dsphere.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dpolygon.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdredgeobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontact.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrobj.o $W/CxxObject/svx/source/sdr/contact/objectcontactofpageview.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrpathobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrmeasureobj.o $W/CxxObject/svx/source/sdr/contact/objectcontactofobjlistpainter.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofe3d.o $W/CxxObject/svx/source/sdr/event/eventhandler.o $W/CxxObject/svx/source/sdr/overlay/overlayline.o $W/CxxObject/svx/source/sdr/overlay/overlaycrosshair.o $W/CxxObject/svx/source/sdr/overlay/overlayrollingrectangle.o $W/CxxObject/svx/source/sdr/overlay/overlaytriangle.o $W/CxxObject/svx/source/sdr/overlay/overlayselection.o $W/CxxObject/svx/source/sdr/overlay/overlayrectangle.o $W/CxxObject/svx/source/sdr/overlay/overlaybitmapex.o $W/CxxObject/svx/source/sdr/overlay/overlaymanagerbuffered.o $W/CxxObject/svx/source/sdr/overlay/overlayhelpline.o $W/CxxObject/svx/source/sdr/overlay/overlayanimatedbitmapex.o $W/CxxObject/svx/source/sdr/overlay/overlaypolypolygon.o $W/CxxObject/svx/source/sdr/overlay/overlayobjectcell.o $W/CxxObject/svx/source/sdr/overlay/overlaytools.o $W/CxxObject/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.o $W/CxxObject/svx/source/sdr/overlay/overlayobject.o $W/CxxObject/svx/source/sdr/overlay/overlaymanager.o $W/CxxObject/svx/source/sdr/overlay/overlayobjectlist.o $W/CxxObject/svx/source/sdr/primitive2d/sdrellipseprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrprimitivetools.o $W/CxxObject/svx/source/sdr/primitive2d/sdrtextprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/primitivefactory2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrgrafprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrole2primitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrpathprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrattributecreator.o $W/CxxObject/svx/source/sdr/primitive2d/sdrdecompositiontools.o $W/CxxObject/svx/source/sdr/primitive3d/sdrattributecreator3d.o $W/CxxObject/svx/source/sdr/properties/pageproperties.o $W/CxxObject/svx/source/sdr/properties/e3dsceneproperties.o $W/CxxObject/svx/source/sdr/properties/itemsettools.o $W/CxxObject/svx/source/sdr/properties/captionproperties.o $W/CxxObject/svx/source/sdr/properties/e3dextrudeproperties.o $W/CxxObject/svx/source/sdr/properties/e3dproperties.o $W/CxxObject/svx/source/sdr/properties/measureproperties.o $W/CxxObject/svx/source/sdr/properties/customshapeproperties.o $W/CxxObject/svx/source/sdr/properties/rectangleproperties.o $W/CxxObject/svx/source/sdr/properties/groupproperties.o $W/CxxObject/svx/source/sdr/properties/properties.o $W/CxxObject/svx/source/sdr/properties/e3dlatheproperties.o $W/CxxObject/svx/source/sdr/properties/graphicproperties.o $W/CxxObject/svx/source/sdr/properties/circleproperties.o $W/CxxObject/svx/source/sdr/properties/emptyproperties.o $W/CxxObject/svx/source/sdr/properties/e3dsphereproperties.o $W/CxxObject/svx/source/sdr/properties/defaultproperties.o $W/CxxObject/svx/source/sdr/properties/textproperties.o $W/CxxObject/svx/source/sdr/properties/attributeproperties.o $W/CxxObject/svx/source/sdr/properties/connectorproperties.o $W/CxxObject/svx/source/sdr/properties/e3dcompoundproperties.o $W/CxxObject/svx/source/sdr/properties/oleproperties.o $W/CxxObject/svx/source/svdraw/clonelist.o $W/CxxObject/svx/source/svdraw/charthelper.o $W/CxxObject/svx/source/svdraw/gradtrns.o $W/CxxObject/svx/source/svdraw/polypolygoneditor.o $W/CxxObject/svx/source/svdraw/sdrhittesthelper.o $W/CxxObject/svx/source/svdraw/sdrmasterpagedescriptor.o $W/CxxObject/svx/source/svdraw/sdrpagewindow.o $W/CxxObject/svx/source/svdraw/sdrpaintwindow.o $W/CxxObject/svx/source/svdraw/sdrundomanager.o $W/CxxObject/svx/source/svdraw/selectioncontroller.o $W/CxxObject/svx/source/svdraw/svdattr.o $W/CxxObject/svx/source/svdraw/svdcrtv.o $W/CxxObject/svx/source/svdraw/svddrag.o $W/CxxObject/svx/source/svdraw/svddrgmt.o $W/CxxObject/svx/source/svdraw/svddrgv.o $W/CxxObject/svx/source/svdraw/svdedtv.o $W/CxxObject/svx/source/svdraw/svdedtv1.o $W/CxxObject/svx/source/svdraw/svdedtv2.o $W/CxxObject/svx/source/svdraw/svdedxv.o $W/CxxObject/svx/source/svdraw/svdetc.o $W/CxxObject/svx/source/svdraw/svdfmtf.o $W/CxxObject/svx/source/svdraw/svdglev.o $W/CxxObject/svx/source/svdraw/svdglue.o $W/CxxObject/svx/source/svdraw/svdhdl.o $W/CxxObject/svx/source/svdraw/svdhlpln.o $W/CxxObject/svx/source/svdraw/svdibrow.o $W/CxxObject/svx/source/svdraw/svditer.o $W/CxxObject/svx/source/svdraw/svdlayer.o $W/CxxObject/svx/source/svdraw/svdmark.o $W/CxxObject/svx/source/svdraw/svdmodel.o $W/CxxObject/svx/source/svdraw/svdmrkv.o $W/CxxObject/svx/source/svdraw/svdmrkv1.o $W/CxxObject/svx/source/svdraw/svdoashp.o $W/CxxObject/svx/source/svdraw/svdoattr.o $W/CxxObject/svx/source/svdraw/svdobj.o $W/CxxObject/svx/source/svdraw/svdocapt.o $W/CxxObject/svx/source/svdraw/svdocirc.o $W/CxxObject/svx/source/svdraw/svdoedge.o $W/CxxObject/svx/source/svdraw/svdograf.o $W/CxxObject/svx/source/svdraw/svdogrp.o $W/CxxObject/svx/source/svdraw/svdomeas.o $W/CxxObject/svx/source/svdraw/svdomedia.o $W/CxxObject/svx/source/svdraw/svdoole2.o $W/CxxObject/svx/source/svdraw/svdopage.o $W/CxxObject/svx/source/svdraw/svdopath.o $W/CxxObject/svx/source/svdraw/svdorect.o $W/CxxObject/svx/source/svdraw/svdotext.o $W/CxxObject/svx/source/svdraw/svdotextdecomposition.o $W/CxxObject/svx/source/svdraw/svdotextpathdecomposition.o $W/CxxObject/svx/source/svdraw/svdotxat.o $W/CxxObject/svx/source/svdraw/svdotxdr.o $W/CxxObject/svx/source/svdraw/svdotxed.o $W/CxxObject/svx/source/svdraw/svdotxfl.o $W/CxxObject/svx/source/svdraw/svdotxln.o $W/CxxObject/svx/source/svdraw/svdotxtr.o $W/CxxObject/svx/source/svdraw/svdouno.o $W/CxxObject/svx/source/svdraw/svdoutl.o $W/CxxObject/svx/source/svdraw/svdoutlinercache.o $W/CxxObject/svx/source/svdraw/svdovirt.o $W/CxxObject/svx/source/svdraw/svdpage.o $W/CxxObject/svx/source/svdraw/svdpagv.o $W/CxxObject/svx/source/svdraw/svdpntv.o $W/CxxObject/svx/source/svdraw/svdpoev.o $W/CxxObject/svx/source/svdraw/svdsnpv.o $W/CxxObject/svx/source/svdraw/svdtext.o $W/CxxObject/svx/source/svdraw/svdtrans.o $W/CxxObject/svx/source/svdraw/svdundo.o $W/CxxObject/svx/source/svdraw/svdview.o $W/CxxObject/svx/source/svdraw/svdviter.o $W/CxxObject/svx/source/svdraw/svdxcgv.o $W/CxxObject/svx/source/table/cell.o $W/CxxObject/svx/source/table/cellcursor.o $W/CxxObject/svx/source/table/cellrange.o $W/CxxObject/svx/source/table/propertyset.o $W/CxxObject/svx/source/table/svdotable.o $W/CxxObject/svx/source/table/tablecolumn.o $W/CxxObject/svx/source/table/tablecolumns.o $W/CxxObject/svx/source/table/tablecontroller.o $W/CxxObject/svx/source/table/tablehandles.o $W/CxxObject/svx/source/table/tablelayouter.o $W/CxxObject/svx/source/table/tablemodel.o $W/CxxObject/svx/source/table/tablerow.o $W/CxxObject/svx/source/table/tablerows.o $W/CxxObject/svx/source/table/tableundo.o $W/CxxObject/svx/source/table/viewcontactoftableobj.o $W/CxxObject/svx/source/tbxctrls/extrusioncontrols.o $W/CxxObject/svx/source/tbxctrls/fontworkgallery.o $W/CxxObject/svx/source/tbxctrls/tbcontrl.o $W/CxxObject/svx/source/tbxctrls/tbxcolorupdate.o $W/CxxObject/svx/source/tbxctrls/SvxColorValueSet.o $W/CxxObject/svx/source/toolbars/extrusionbar.o $W/CxxObject/svx/source/toolbars/fontworkbar.o $W/CxxObject/svx/source/unodraw/gluepts.o $W/CxxObject/svx/source/unodraw/shapepropertynotifier.o $W/CxxObject/svx/source/unodraw/tableshape.o $W/CxxObject/svx/source/unodraw/unobtabl.o $W/CxxObject/svx/source/unodraw/unodtabl.o $W/CxxObject/svx/source/unodraw/UnoGraphicExporter.o $W/CxxObject/svx/source/unodraw/unogtabl.o $W/CxxObject/svx/source/unodraw/unohtabl.o $W/CxxObject/svx/source/unodraw/unomlstr.o $W/CxxObject/svx/source/unodraw/unomod.o $W/CxxObject/svx/source/unodraw/unomtabl.o $W/CxxObject/svx/source/unodraw/UnoNameItemTable.o $W/CxxObject/svx/source/unodraw/unopage.o $W/CxxObject/svx/source/unodraw/unoprov.o $W/CxxObject/svx/source/unodraw/unoshap2.o $W/CxxObject/svx/source/unodraw/unoshap3.o $W/CxxObject/svx/source/unodraw/unoshap4.o $W/CxxObject/svx/source/unodraw/unoshape.o $W/CxxObject/svx/source/unodraw/unoshtxt.o $W/CxxObject/svx/source/unodraw/unottabl.o $W/CxxObject/svx/source/unodraw/XPropertyTable.o $W/CxxObject/svx/source/xml/xmleohlp.o $W/CxxObject/svx/source/xml/xmlexport.o $W/CxxObject/svx/source/xml/xmlgrhlp.o $W/CxxObject/svx/source/xml/xmlxtexp.o $W/CxxObject/svx/source/xml/xmlxtimp.o $W/CxxObject/svx/source/xoutdev/xattr.o $W/CxxObject/svx/source/xoutdev/xattr2.o $W/CxxObject/svx/source/xoutdev/xattrbmp.o $W/CxxObject/svx/source/xoutdev/xexch.o $W/CxxObject/svx/source/xoutdev/_xoutbmp.o $W/CxxObject/svx/source/xoutdev/_xpoly.o $W/CxxObject/svx/source/xoutdev/xpool.o $W/CxxObject/svx/source/xoutdev/xtabbtmp.o $W/CxxObject/svx/source/xoutdev/xtabcolr.o $W/CxxObject/svx/source/xoutdev/xtabdash.o $W/CxxObject/svx/source/xoutdev/xtabgrdt.o $W/CxxObject/svx/source/xoutdev/xtabhtch.o $W/CxxObject/svx/source/xoutdev/xtable.o $W/CxxObject/svx/source/xoutdev/XPropertyEntry.o $W/CxxObject/svx/source/xoutdev/xtablend.o $W/CxxObject/svx/source/fmcomp/dbaexchange.o $W/CxxObject/svx/source/fmcomp/fmgridcl.o $W/CxxObject/svx/source/fmcomp/fmgridif.o $W/CxxObject/svx/source/fmcomp/gridcell.o $W/CxxObject/svx/source/fmcomp/gridcols.o $W/CxxObject/svx/source/fmcomp/gridctrl.o $W/CxxObject/svx/source/fmcomp/xmlexchg.o $W/CxxObject/svx/source/form/dataaccessdescriptor.o $W/CxxObject/svx/source/form/datalistener.o $W/CxxObject/svx/source/form/datanavi.o $W/CxxObject/svx/source/form/dbtoolsclient.o $W/CxxObject/svx/source/form/delayedevent.o $W/CxxObject/svx/source/form/fmcontrolbordermanager.o $W/CxxObject/svx/source/form/fmcontrollayout.o $W/CxxObject/svx/source/form/fmdmod.o $W/CxxObject/svx/source/form/fmdocumentclassification.o $W/CxxObject/svx/source/form/fmdpage.o $W/CxxObject/svx/source/form/fmexch.o $W/CxxObject/svx/source/form/fmexpl.o $W/CxxObject/svx/source/form/fmitems.o $W/CxxObject/svx/source/form/fmmodel.o $W/CxxObject/svx/source/form/fmobj.o $W/CxxObject/svx/source/form/fmpage.o $W/CxxObject/svx/source/form/fmpgeimp.o $W/CxxObject/svx/source/form/fmscriptingenv.o $W/CxxObject/svx/source/form/fmservs.o $W/CxxObject/svx/source/form/fmshell.o $W/CxxObject/svx/source/form/fmshimp.o $W/CxxObject/svx/source/form/fmtextcontroldialogs.o $W/CxxObject/svx/source/form/fmtextcontrolfeature.o $W/CxxObject/svx/source/form/fmtextcontrolshell.o $W/CxxObject/svx/source/form/fmtools.o $W/CxxObject/svx/source/form/fmundo.o $W/CxxObject/svx/source/form/fmview.o $W/CxxObject/svx/source/form/fmvwimp.o $W/CxxObject/svx/source/form/formcontrolfactory.o $W/CxxObject/svx/source/form/formcontroller.o $W/CxxObject/svx/source/form/formcontrolling.o $W/CxxObject/svx/source/form/formdispatchinterceptor.o $W/CxxObject/svx/source/form/formfeaturedispatcher.o $W/CxxObject/svx/source/form/formtoolbars.o $W/CxxObject/svx/source/form/legacyformcontroller.o $W/CxxObject/svx/source/form/navigatortree.o $W/CxxObject/svx/source/form/navigatortreemodel.o $W/CxxObject/svx/source/form/ParseContext.o $W/CxxObject/svx/source/form/sdbdatacolumn.o $W/CxxObject/svx/source/form/sqlparserclient.o $W/CxxObject/svx/source/form/stringlistresource.o $W/CxxObject/svx/source/form/typeconversionclient.o $W/CxxObject/svx/source/form/typemap.o $W/CxxObject/svx/source/form/xfm_addcondition.o -Wl,--start-group -licuuc -Wl,--end-group -Wl,--no-as-needed -lavmedialo -lbasegfxlo -lsblo -lcomphelper -luno_cppuhelpergcc3 -luno_cppu -ldrawinglayerlo -leditenglo -lfwelo -li18nlangtag -llnglo -luno_sal -luno_salhelpergcc3 -lsaxlo -lsfxlo -lsotlo -lsvllo -lsvtlo -ltklo -ltllo -lucbhelper -lutllo -lvcllo -lxolo -o $I/program/libsvxcorelo.so

Reproducing in one line:

Configuration:
Running ./configure with '--prefix=/opt/libreoffice-4.2.4.2' '--sysconfdir=/etc/' '--enable-crashdump' '--enable-epm' '--enable-gstreamer' '--enable-gtk3' '--enable-release-build' '--enable-python=system' '--enable-split-app-modules' '--enable-vlc' '--enable-verbose' '--disable-gnome-vfs' '--disable-gconf' '--disable-kde' '--disable-kde4' '--disable-odk' '--disable-postgresql-sdbc' '--disable-systray' '--with-alloc=system' '--with-system-boost' '--with-system-clucene' '--with-system-cairo' '--with-system-curl' '--with-system-expat' '--with-system-graphite' '--with-system-harfbuzz' '--with-system-icu' '--with-system-jpeg' '--with-system-lcms2' '--with-system-libatomic_ops' '--with-system-libpng' '--with-system-libxml' '--with-system-mesa-headers' '--with-system-neon' '--with-system-npapi-headers' '--with-system-nss' '--with-system-odbc' '--with-system-openldap' '--with-system-openssl' '--with-system-poppler' '--with-system-redland' '--with-system-zlib' '--with-build-version=4.2.4.2' '--with-lang=pt-BR en-US' '--with-help' '--with-alloc=system' '--with-parallelism=1' '--with-package-format=native' '--with-vendor=LFS-BLFS' '--without-java' '--without-krb5' '--without-system-dicts' '--without-gssapi' '--srcdir=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2' '--enable-option-checking=fatal'


Commands just before the error:

build DEP] LNK:Library/libsvxcorelo.so
[build LNK] Library/libsvxcorelo.so
S=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/Dep/LinkTarget/Library/ && RESPONSEFILE=/tmp/gbuild.x6b8nx && LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/ure/lib:$I/program"   $W/LinkTarget/Executable/concat-deps ${RESPONSEFILE} > $W/Dep/LinkTarget/Library/libsvxcorelo.so.d && rm -f ${RESPONSEFILE}
S=/home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir &&  g++ -shared -Wl,-z,noexecstack   -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-rpath-link,$I/ure/lib -Wl,-rpath-link,$I/program -Wl,-z,defs  -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc   -Wl,--hash-style=gnu  -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions  -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/ure/lib  -L$I/program -Wl,-O1 -Wl,-S  $W/CxxObject/svx/source/core/coreservices.o $W/CxxObject/svx/source/core/extedit.o $W/CxxObject/svx/source/core/graphichelper.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShape2d.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeFunctionParser.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeGeometry.o $W/CxxObject/svx/source/customshapes/EnhancedCustomShapeTypeNames.o $W/CxxObject/svx/source/dialog/checklbx.o $W/CxxObject/svx/source/dialog/dialmgr.o $W/CxxObject/svx/source/dialog/dlgutil.o $W/CxxObject/svx/source/dialog/framelink.o $W/CxxObject/svx/source/dialog/langbox.o $W/CxxObject/svx/source/dialog/stddlg.o $W/CxxObject/svx/source/dialog/svxdlg.o $W/CxxObject/svx/source/engine3d/camera3d.o $W/CxxObject/svx/source/engine3d/cube3d.o $W/CxxObject/svx/source/engine3d/deflt3d.o $W/CxxObject/svx/source/engine3d/dragmt3d.o $W/CxxObject/svx/source/engine3d/e3dsceneupdater.o $W/CxxObject/svx/source/engine3d/e3dundo.o $W/CxxObject/svx/source/engine3d/extrud3d.o $W/CxxObject/svx/source/engine3d/helperhittest3d.o $W/CxxObject/svx/source/engine3d/helperminimaldepth3d.o $W/CxxObject/svx/source/engine3d/lathe3d.o $W/CxxObject/svx/source/engine3d/obj3d.o $W/CxxObject/svx/source/engine3d/objfac3d.o $W/CxxObject/svx/source/engine3d/polygn3d.o $W/CxxObject/svx/source/engine3d/polysc3d.o $W/CxxObject/svx/source/engine3d/scene3d.o $W/CxxObject/svx/source/engine3d/sphere3d.o $W/CxxObject/svx/source/engine3d/svx3ditems.o $W/CxxObject/svx/source/engine3d/view3d.o $W/CxxObject/svx/source/engine3d/view3d1.o $W/CxxObject/svx/source/engine3d/viewpt3d2.o $W/CxxObject/svx/source/gallery2/codec.o $W/CxxObject/svx/source/gallery2/galbrws.o $W/CxxObject/svx/source/gallery2/galbrws1.o $W/CxxObject/svx/source/gallery2/galbrws2.o $W/CxxObject/svx/source/gallery2/galctrl.o $W/CxxObject/svx/source/gallery2/galexpl.o $W/CxxObject/svx/source/gallery2/galini.o $W/CxxObject/svx/source/gallery2/gallery1.o $W/CxxObject/svx/source/gallery2/galmisc.o $W/CxxObject/svx/source/gallery2/galobj.o $W/CxxObject/svx/source/gallery2/galtheme.o $W/CxxObject/svx/source/gallery2/GalleryControl.o $W/CxxObject/svx/source/gallery2/GallerySplitter.o $W/CxxObject/svx/source/items/chrtitem.o $W/CxxObject/svx/source/items/clipfmtitem.o $W/CxxObject/svx/source/items/customshapeitem.o $W/CxxObject/svx/source/items/drawitem.o $W/CxxObject/svx/source/items/e3ditem.o $W/CxxObject/svx/source/items/galleryitem.o $W/CxxObject/svx/source/items/grfitem.o $W/CxxObject/svx/source/sdr/animation/scheduler.o $W/CxxObject/svx/source/sdr/animation/objectanimator.o $W/CxxObject/svx/source/sdr/animation/animationstate.o $W/CxxObject/svx/source/sdr/attribute/sdrlinefillshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrfilltextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrlineshadowtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrformtextattribute.o $W/CxxObject/svx/source/sdr/attribute/sdrformtextoutlineattribute.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofgroup.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrpage.o $W/CxxObject/svx/source/sdr/contact/viewcontactofpageobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3d.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dcube.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrmediaobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofpageobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofe3dscene.o $W/CxxObject/svx/source/sdr/contact/viewcontactofgraphic.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactredirector.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrcircobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofgroup.o $W/CxxObject/svx/source/sdr/contact/viewcontactofunocontrol.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrobj.o $W/CxxObject/svx/source/sdr/contact/objectcontact.o $W/CxxObject/svx/source/sdr/contact/viewcontactoftextobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dlathe.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrpage.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dextrude.o $W/CxxObject/svx/source/sdr/contact/viewcontactofmasterpagedescriptor.o $W/CxxObject/svx/source/sdr/contact/viewcontact.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrole2obj.o $W/CxxObject/svx/source/sdr/contact/displayinfo.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dscene.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrrectobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrole2obj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofunocontrol.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofgraphic.o $W/CxxObject/svx/source/sdr/contact/sdrmediawindow.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrcaptionobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofvirtobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dsphere.o $W/CxxObject/svx/source/sdr/contact/viewcontactofe3dpolygon.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdredgeobj.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontact.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofsdrobj.o $W/CxxObject/svx/source/sdr/contact/objectcontactofpageview.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrpathobj.o $W/CxxObject/svx/source/sdr/contact/viewcontactofsdrmeasureobj.o $W/CxxObject/svx/source/sdr/contact/objectcontactofobjlistpainter.o $W/CxxObject/svx/source/sdr/contact/viewobjectcontactofe3d.o $W/CxxObject/svx/source/sdr/event/eventhandler.o $W/CxxObject/svx/source/sdr/overlay/overlayline.o $W/CxxObject/svx/source/sdr/overlay/overlaycrosshair.o $W/CxxObject/svx/source/sdr/overlay/overlayrollingrectangle.o $W/CxxObject/svx/source/sdr/overlay/overlaytriangle.o $W/CxxObject/svx/source/sdr/overlay/overlayselection.o $W/CxxObject/svx/source/sdr/overlay/overlayrectangle.o $W/CxxObject/svx/source/sdr/overlay/overlaybitmapex.o $W/CxxObject/svx/source/sdr/overlay/overlaymanagerbuffered.o $W/CxxObject/svx/source/sdr/overlay/overlayhelpline.o $W/CxxObject/svx/source/sdr/overlay/overlayanimatedbitmapex.o $W/CxxObject/svx/source/sdr/overlay/overlaypolypolygon.o $W/CxxObject/svx/source/sdr/overlay/overlayobjectcell.o $W/CxxObject/svx/source/sdr/overlay/overlaytools.o $W/CxxObject/svx/source/sdr/overlay/overlayprimitive2dsequenceobject.o $W/CxxObject/svx/source/sdr/overlay/overlayobject.o $W/CxxObject/svx/source/sdr/overlay/overlaymanager.o $W/CxxObject/svx/source/sdr/overlay/overlayobjectlist.o $W/CxxObject/svx/source/sdr/primitive2d/sdrellipseprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrprimitivetools.o $W/CxxObject/svx/source/sdr/primitive2d/sdrtextprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/primitivefactory2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrgrafprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrole2primitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrpathprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrrectangleprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrcaptionprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrconnectorprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.o $W/CxxObject/svx/source/sdr/primitive2d/sdrattributecreator.o $W/CxxObject/svx/source/sdr/primitive2d/sdrdecompositiontools.o $W/CxxObject/svx/source/sdr/primitive3d/sdrattributecreator3d.o $W/CxxObject/svx/source/sdr/properties/pageproperties.o $W/CxxObject/svx/source/sdr/properties/e3dsceneproperties.o $W/CxxObject/svx/source/sdr/properties/itemsettools.o $W/CxxObject/svx/source/sdr/properties/captionproperties.o $W/CxxObject/svx/source/sdr/properties/e3dextrudeproperties.o $W/CxxObject/svx/source/sdr/properties/e3dproperties.o $W/CxxObject/svx/source/sdr/properties/measureproperties.o $W/CxxObject/svx/source/sdr/properties/customshapeproperties.o $W/CxxObject/svx/source/sdr/properties/rectangleproperties.o $W/CxxObject/svx/source/sdr/properties/groupproperties.o $W/CxxObject/svx/source/sdr/properties/properties.o $W/CxxObject/svx/source/sdr/properties/e3dlatheproperties.o $W/CxxObject/svx/source/sdr/properties/graphicproperties.o $W/CxxObject/svx/source/sdr/properties/circleproperties.o $W/CxxObject/svx/source/sdr/properties/emptyproperties.o $W/CxxObject/svx/source/sdr/properties/e3dsphereproperties.o $W/CxxObject/svx/source/sdr/properties/defaultproperties.o $W/CxxObject/svx/source/sdr/properties/textproperties.o $W/CxxObject/svx/source/sdr/properties/attributeproperties.o $W/CxxObject/svx/source/sdr/properties/connectorproperties.o $W/CxxObject/svx/source/sdr/properties/e3dcompoundproperties.o $W/CxxObject/svx/source/sdr/properties/oleproperties.o $W/CxxObject/svx/source/svdraw/clonelist.o $W/CxxObject/svx/source/svdraw/charthelper.o $W/CxxObject/svx/source/svdraw/gradtrns.o $W/CxxObject/svx/source/svdraw/polypolygoneditor.o $W/CxxObject/svx/source/svdraw/sdrhittesthelper.o $W/CxxObject/svx/source/svdraw/sdrmasterpagedescriptor.o $W/CxxObject/svx/source/svdraw/sdrpagewindow.o $W/CxxObject/svx/source/svdraw/sdrpaintwindow.o $W/CxxObject/svx/source/svdraw/sdrundomanager.o $W/CxxObject/svx/source/svdraw/selectioncontroller.o $W/CxxObject/svx/source/svdraw/svdattr.o $W/CxxObject/svx/source/svdraw/svdcrtv.o $W/CxxObject/svx/source/svdraw/svddrag.o $W/CxxObject/svx/source/svdraw/svddrgmt.o $W/CxxObject/svx/source/svdraw/svddrgv.o $W/CxxObject/svx/source/svdraw/svdedtv.o $W/CxxObject/svx/source/svdraw/svdedtv1.o $W/CxxObject/svx/source/svdraw/svdedtv2.o $W/CxxObject/svx/source/svdraw/svdedxv.o $W/CxxObject/svx/source/svdraw/svdetc.o $W/CxxObject/svx/source/svdraw/svdfmtf.o $W/CxxObject/svx/source/svdraw/svdglev.o $W/CxxObject/svx/source/svdraw/svdglue.o $W/CxxObject/svx/source/svdraw/svdhdl.o $W/CxxObject/svx/source/svdraw/svdhlpln.o $W/CxxObject/svx/source/svdraw/svdibrow.o $W/CxxObject/svx/source/svdraw/svditer.o $W/CxxObject/svx/source/svdraw/svdlayer.o $W/CxxObject/svx/source/svdraw/svdmark.o $W/CxxObject/svx/source/svdraw/svdmodel.o $W/CxxObject/svx/source/svdraw/svdmrkv.o $W/CxxObject/svx/source/svdraw/svdmrkv1.o $W/CxxObject/svx/source/svdraw/svdoashp.o $W/CxxObject/svx/source/svdraw/svdoattr.o $W/CxxObject/svx/source/svdraw/svdobj.o $W/CxxObject/svx/source/svdraw/svdocapt.o $W/CxxObject/svx/source/svdraw/svdocirc.o $W/CxxObject/svx/source/svdraw/svdoedge.o $W/CxxObject/svx/source/svdraw/svdograf.o $W/CxxObject/svx/source/svdraw/svdogrp.o $W/CxxObject/svx/source/svdraw/svdomeas.o $W/CxxObject/svx/source/svdraw/svdomedia.o $W/CxxObject/svx/source/svdraw/svdoole2.o $W/CxxObject/svx/source/svdraw/svdopage.o $W/CxxObject/svx/source/svdraw/svdopath.o $W/CxxObject/svx/source/svdraw/svdorect.o $W/CxxObject/svx/source/svdraw/svdotext.o $W/CxxObject/svx/source/svdraw/svdotextdecomposition.o $W/CxxObject/svx/source/svdraw/svdotextpathdecomposition.o $W/CxxObject/svx/source/svdraw/svdotxat.o $W/CxxObject/svx/source/svdraw/svdotxdr.o $W/CxxObject/svx/source/svdraw/svdotxed.o $W/CxxObject/svx/source/svdraw/svdotxfl.o $W/CxxObject/svx/source/svdraw/svdotxln.o $W/CxxObject/svx/source/svdraw/svdotxtr.o $W/CxxObject/svx/source/svdraw/svdouno.o $W/CxxObject/svx/source/svdraw/svdoutl.o $W/CxxObject/svx/source/svdraw/svdoutlinercache.o $W/CxxObject/svx/source/svdraw/svdovirt.o $W/CxxObject/svx/source/svdraw/svdpage.o $W/CxxObject/svx/source/svdraw/svdpagv.o $W/CxxObject/svx/source/svdraw/svdpntv.o $W/CxxObject/svx/source/svdraw/svdpoev.o $W/CxxObject/svx/source/svdraw/svdsnpv.o $W/CxxObject/svx/source/svdraw/svdtext.o $W/CxxObject/svx/source/svdraw/svdtrans.o $W/CxxObject/svx/source/svdraw/svdundo.o $W/CxxObject/svx/source/svdraw/svdview.o $W/CxxObject/svx/source/svdraw/svdviter.o $W/CxxObject/svx/source/svdraw/svdxcgv.o $W/CxxObject/svx/source/table/cell.o $W/CxxObject/svx/source/table/cellcursor.o $W/CxxObject/svx/source/table/cellrange.o $W/CxxObject/svx/source/table/propertyset.o $W/CxxObject/svx/source/table/svdotable.o $W/CxxObject/svx/source/table/tablecolumn.o $W/CxxObject/svx/source/table/tablecolumns.o $W/CxxObject/svx/source/table/tablecontroller.o $W/CxxObject/svx/source/table/tablehandles.o $W/CxxObject/svx/source/table/tablelayouter.o $W/CxxObject/svx/source/table/tablemodel.o $W/CxxObject/svx/source/table/tablerow.o $W/CxxObject/svx/source/table/tablerows.o $W/CxxObject/svx/source/table/tableundo.o $W/CxxObject/svx/source/table/viewcontactoftableobj.o $W/CxxObject/svx/source/tbxctrls/extrusioncontrols.o $W/CxxObject/svx/source/tbxctrls/fontworkgallery.o $W/CxxObject/svx/source/tbxctrls/tbcontrl.o $W/CxxObject/svx/source/tbxctrls/tbxcolorupdate.o $W/CxxObject/svx/source/tbxctrls/SvxColorValueSet.o $W/CxxObject/svx/source/toolbars/extrusionbar.o $W/CxxObject/svx/source/toolbars/fontworkbar.o $W/CxxObject/svx/source/unodraw/gluepts.o $W/CxxObject/svx/source/unodraw/shapepropertynotifier.o $W/CxxObject/svx/source/unodraw/tableshape.o $W/CxxObject/svx/source/unodraw/unobtabl.o $W/CxxObject/svx/source/unodraw/unodtabl.o $W/CxxObject/svx/source/unodraw/UnoGraphicExporter.o $W/CxxObject/svx/source/unodraw/unogtabl.o $W/CxxObject/svx/source/unodraw/unohtabl.o $W/CxxObject/svx/source/unodraw/unomlstr.o $W/CxxObject/svx/source/unodraw/unomod.o $W/CxxObject/svx/source/unodraw/unomtabl.o $W/CxxObject/svx/source/unodraw/UnoNameItemTable.o $W/CxxObject/svx/source/unodraw/unopage.o $W/CxxObject/svx/source/unodraw/unoprov.o $W/CxxObject/svx/source/unodraw/unoshap2.o $W/CxxObject/svx/source/unodraw/unoshap3.o $W/CxxObject/svx/source/unodraw/unoshap4.o $W/CxxObject/svx/source/unodraw/unoshape.o $W/CxxObject/svx/source/unodraw/unoshtxt.o $W/CxxObject/svx/source/unodraw/unottabl.o $W/CxxObject/svx/source/unodraw/XPropertyTable.o $W/CxxObject/svx/source/xml/xmleohlp.o $W/CxxObject/svx/source/xml/xmlexport.o $W/CxxObject/svx/source/xml/xmlgrhlp.o $W/CxxObject/svx/source/xml/xmlxtexp.o $W/CxxObject/svx/source/xml/xmlxtimp.o $W/CxxObject/svx/source/xoutdev/xattr.o $W/CxxObject/svx/source/xoutdev/xattr2.o $W/CxxObject/svx/source/xoutdev/xattrbmp.o $W/CxxObject/svx/source/xoutdev/xexch.o $W/CxxObject/svx/source/xoutdev/_xoutbmp.o $W/CxxObject/svx/source/xoutdev/_xpoly.o $W/CxxObject/svx/source/xoutdev/xpool.o $W/CxxObject/svx/source/xoutdev/xtabbtmp.o $W/CxxObject/svx/source/xoutdev/xtabcolr.o $W/CxxObject/svx/source/xoutdev/xtabdash.o $W/CxxObject/svx/source/xoutdev/xtabgrdt.o $W/CxxObject/svx/source/xoutdev/xtabhtch.o $W/CxxObject/svx/source/xoutdev/xtable.o $W/CxxObject/svx/source/xoutdev/XPropertyEntry.o $W/CxxObject/svx/source/xoutdev/xtablend.o $W/CxxObject/svx/source/fmcomp/dbaexchange.o $W/CxxObject/svx/source/fmcomp/fmgridcl.o $W/CxxObject/svx/source/fmcomp/fmgridif.o $W/CxxObject/svx/source/fmcomp/gridcell.o $W/CxxObject/svx/source/fmcomp/gridcols.o $W/CxxObject/svx/source/fmcomp/gridctrl.o $W/CxxObject/svx/source/fmcomp/xmlexchg.o $W/CxxObject/svx/source/form/dataaccessdescriptor.o $W/CxxObject/svx/source/form/datalistener.o $W/CxxObject/svx/source/form/datanavi.o $W/CxxObject/svx/source/form/dbtoolsclient.o $W/CxxObject/svx/source/form/delayedevent.o $W/CxxObject/svx/source/form/fmcontrolbordermanager.o $W/CxxObject/svx/source/form/fmcontrollayout.o $W/CxxObject/svx/source/form/fmdmod.o $W/CxxObject/svx/source/form/fmdocumentclassification.o $W/CxxObject/svx/source/form/fmdpage.o $W/CxxObject/svx/source/form/fmexch.o $W/CxxObject/svx/source/form/fmexpl.o $W/CxxObject/svx/source/form/fmitems.o $W/CxxObject/svx/source/form/fmmodel.o $W/CxxObject/svx/source/form/fmobj.o $W/CxxObject/svx/source/form/fmpage.o $W/CxxObject/svx/source/form/fmpgeimp.o $W/CxxObject/svx/source/form/fmscriptingenv.o $W/CxxObject/svx/source/form/fmservs.o $W/CxxObject/svx/source/form/fmshell.o $W/CxxObject/svx/source/form/fmshimp.o $W/CxxObject/svx/source/form/fmtextcontroldialogs.o $W/CxxObject/svx/source/form/fmtextcontrolfeature.o $W/CxxObject/svx/source/form/fmtextcontrolshell.o $W/CxxObject/svx/source/form/fmtools.o $W/CxxObject/svx/source/form/fmundo.o $W/CxxObject/svx/source/form/fmview.o $W/CxxObject/svx/source/form/fmvwimp.o $W/CxxObject/svx/source/form/formcontrolfactory.o $W/CxxObject/svx/source/form/formcontroller.o $W/CxxObject/svx/source/form/formcontrolling.o $W/CxxObject/svx/source/form/formdispatchinterceptor.o $W/CxxObject/svx/source/form/formfeaturedispatcher.o $W/CxxObject/svx/source/form/formtoolbars.o $W/CxxObject/svx/source/form/legacyformcontroller.o $W/CxxObject/svx/source/form/navigatortree.o $W/CxxObject/svx/source/form/navigatortreemodel.o $W/CxxObject/svx/source/form/ParseContext.o $W/CxxObject/svx/source/form/sdbdatacolumn.o $W/CxxObject/svx/source/form/sqlparserclient.o $W/CxxObject/svx/source/form/stringlistresource.o $W/CxxObject/svx/source/form/typeconversionclient.o $W/CxxObject/svx/source/form/typemap.o $W/CxxObject/svx/source/form/xfm_addcondition.o     -Wl,--start-group    -licuuc -Wl,--end-group -Wl,--no-as-needed -lavmedialo -lbasegfxlo -lsblo -lcomphelper -luno_cppuhelpergcc3 -luno_cppu -ldrawinglayerlo -leditenglo -lfwelo -li18nlangtag -llnglo -luno_sal -luno_salhelpergcc3 -lsaxlo -lsfxlo -lsotlo -lsvllo -lsvtlo -ltklo -ltllo -lucbhelper -lutllo -lvcllo -lxolo -o $I/program/libsvxcorelo.so

comment:19 by Fernando de Oliveira, 10 years ago

Second modification I recall is last one I did: using clang, instead of gcc:

CC=clang CXX=clang++ ./autogen.sh --prefix=/opt/"$PACKAGE" \ ...

S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && touch $W/Headers/Library/libgcc3_uno.so [build CXX] bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ && cd /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && clang++ -DCPPU_ENV=gcc3 -DINTEL -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86 -D_PTHREADS -D_REENTRANT -DRTL_USING -DHAVE_POSIX_FALLOCATE -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -std=gnu++11 -DEXCEPTIONS_ON -fexceptions -Os -fno-omit-frame-pointer -fno-strict-aliasing -mno-avx -c $S/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx -o $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.o -MMD -MT $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.o -MP -MF $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d_ -I$S/bridges/source/cpp_uno/gcc3_linux_intel/ -I$S/bridges/inc -I$S/include -I$S/config_host -I/usr/include -I$W/UnoApiHeadersTarget/udkapi/comprehensive && mv $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d_ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d [build CXX] bridges/source/cpp_uno/gcc3_linux_intel/except.cxx S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ && cd /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && clang++ -DCPPU_ENV=gcc3 -DINTEL -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86 -D_PTHREADS -D_REENTRANT -DRTL_USING -DHAVE_POSIX_FALLOCATE -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -std=gnu++11 -DEXCEPTIONS_ON -fexceptions -Os -fno-omit-frame-pointer -fno-strict-aliasing -mno-avx -c $S/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx -o $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o -MMD -MT $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o -MP -MF $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d_ -I$S/bridges/source/cpp_uno/gcc3_linux_intel/ -I$S/bridges/inc -I$S/include -I$S/config_host -I/usr/include -I$W/UnoApiHeadersTarget/udkapi/comprehensive && mv $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d_ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d In file included from /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:39: /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx:72:54: error: functions that differ only in their return type cannot be overloaded extern "C" CPPU_CURRENT_NAMESPACE::cxa_eh_globals *cxa_get_globals () throw();

/usr/bin/../lib/gcc/i686-pc-linux-gnu/4.9.0/../../../../include/c++/4.9.0/cxxabi.h:600:3: note: previous declaration is here

cxa_get_globals() _GLIBCXX_NOTHROW attribute ((const));

In file included from /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:39: /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx:85:17: error: conflicting types for 'cxa_throw' extern "C" void cxa_throw (

/usr/bin/../lib/gcc/i686-pc-linux-gnu/4.9.0/../../../../include/c++/4.9.0/cxxabi.h:615:3: note: previous declaration is here

cxa_throw(void*, std::type_info*, void (_GLIBCXX_CDTOR_CALLABI *) (void *))

2 errors generated.

/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/solenv/gbuild/LinkTarget.mk:177: recipe for target '/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o' failed

make[1]: * home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o Error 1

make[1]: Leaving directory '/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2'

Makefile:217: recipe for target 'build' failed

make: * [build] Error 2

In single lines:

S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir &&  touch $W/Headers/Library/libgcc3_uno.so
[build CXX] bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ && cd /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 &&  clang++ -DCPPU_ENV=gcc3 -DINTEL -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DHAVE_POSIX_FALLOCATE   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++11  -DEXCEPTIONS_ON -fexceptions -Os  -fno-omit-frame-pointer -fno-strict-aliasing  -mno-avx  -c $S/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx -o $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.o -MMD -MT $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.o -MP -MF $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d_ -I$S/bridges/source/cpp_uno/gcc3_linux_intel/ -I$S/bridges/inc  -I$S/include   -I$S/config_host  -I/usr/include  -I$W/UnoApiHeadersTarget/udkapi/comprehensive   && mv $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d_ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.d 
[build CXX] bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ && cd /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 &&  clang++ -DCPPU_ENV=gcc3 -DINTEL -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DHAVE_POSIX_FALLOCATE   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++11  -DEXCEPTIONS_ON -fexceptions -Os  -fno-omit-frame-pointer -fno-strict-aliasing  -mno-avx  -c $S/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx -o $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o -MMD -MT $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o -MP -MF $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d_ -I$S/bridges/source/cpp_uno/gcc3_linux_intel/ -I$S/bridges/inc  -I$S/include   -I$S/config_host  -I/usr/include  -I$W/UnoApiHeadersTarget/udkapi/comprehensive   && mv $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d_ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.d 
In file included from /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:39:
/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx:72:54: error: functions that differ only in their return type cannot be overloaded
extern "C" CPPU_CURRENT_NAMESPACE::__cxa_eh_globals *__cxa_get_globals () throw();
                                                     ^
/usr/bin/../lib/gcc/i686-pc-linux-gnu/4.9.0/../../../../include/c++/4.9.0/cxxabi.h:600:3: note: previous declaration is here
  __cxa_get_globals() _GLIBCXX_NOTHROW __attribute__ ((__const__));
  ^
In file included from /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:39:
/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx:85:17: error: conflicting types for '__cxa_throw'
extern "C" void __cxa_throw (
                ^
/usr/bin/../lib/gcc/i686-pc-linux-gnu/4.9.0/../../../../include/c++/4.9.0/cxxabi.h:615:3: note: previous declaration is here
  __cxa_throw(void*, std::type_info*, void (_GLIBCXX_CDTOR_CALLABI *) (void *))
  ^
2 errors generated.
/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/solenv/gbuild/LinkTarget.mk:177: recipe for target '/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o' failed
make[1]: *** [/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/except.o] Error 1
make[1]: Leaving directory '/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2'
Makefile:217: recipe for target 'build' failed
make: *** [build] Error 2

comment:20 by Fernando de Oliveira, 10 years ago

Forgot to say:

Somehow, it got back to gcc.

Have also tried to identify where could find the

fmgridif.cxx:(.text+0x80c6): undefined reference to `non-virtual thunk to PrefixListenerMultiplexer::acquire()'

where

Prefix = Window, Focus, Key, Mouse, MouseMotion, Paint

(comment:1, with gcc-4.9.0, not clang, here), so that could try some includes.

From

https://stackoverflow.com/questions/14148380/how-to-troubleshoot-undefined-reference-to-non-virtual-thunk-to

used:

nm -po /home/fernando/tmp/paco-build-libreoffice-2014.06.16-22h16m48s/libreoffice-4.2.4.2/workdir/CxxObject/svx/source/fmcomp/*.o | c++filt | grep Multiplexer::acquire | grep -v ' U ' | less

Many grep -r.

Failed.

I don't know what I can do, from here.

I really need help from someone with i686.

comment:21 by bdubbs@…, 10 years ago

I think you have an error in your setup. Look at share.hxx in the libreoffice source:

The second error translates to (after removing all the .. entries):

In file included from 
libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:39:
libreoffice-4.2.4.2/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx:85:17: 
error: conflicting types for '__cxa_throw'

extern "C" void __cxa_throw (
                ^
/usr/include/c++/4.9.0/cxxabi.h:615:3: note: previous declaration is here
 __cxa_throw(void*, std::type_info*, void (_GLIBCXX_CDTOR_CALLABI *) (void *))
 ^

Around lines 82-87 of share.hxx:

#if __GNUC__ == 4 && __GNUC_MINOR__ <= 6
extern "C" void *__cxa_allocate_exception(
    std::size_t thrown_size ) throw();
extern "C" void __cxa_throw (
    void *thrown_exception, void *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
#endif

GNUC_MINOR <= 6 should be false and __cxa_throw should not be defined in share.hxx.

Try running:

$ cat test.cpp
#include <stdio.h>

int main()
{
  printf( "__GNUC_MINOR__: %i\n", __GNUC_MINOR__ );
}

$ g++ -o t test.cpp
$ ./t
__GNUC_MINOR__: 9

comment:22 by Fernando de Oliveira, 10 years ago

Thanks, Bruce.

Result is apparently good:

$ cat > test.cpp << "EOF"
> #include <stdio.h>
> 
> int main()
> {
>   printf( "__GNUC_MINOR__: %i\n", __GNUC_MINOR__ );
> }
> EOF
$ g++ -o t test.cpp
$ ./t
__GNUC_MINOR__: 9
$ cp -van test.cpp test2.cpp
“test.cpp” -> “test2.cpp”

$ sed -i 's/GNUC_MINOR/GNUC/g' test2.cpp

$ g++ -o t test2.cpp
$ ./t
__GNUC__: 4

comment:23 by bdubbs@…, 10 years ago

Comment 20 used clang. Perhaps LO is not compatible with that.

S=/home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 && 
I=$S/instdir && 
W=$S/workdir &&  
mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ \
         $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_intel/ && 
cd /home/fernando/tmp/paco-build-libreoffice-2014.06.17-22h15m13s/libreoffice-4.2.4.2 &&  
clang++ -DCPPU_ENV=gcc3 ...

comment:24 by Fernando de Oliveira, 10 years ago

Unfortunately that was my fear, too.

Tried clang, because all the other attempts, with gcc-4.9.0, failed.

I am really stuck with LO. Upstream is considering the problem "Importance: medium major".

Bug is there since previous version, as I mentioned earlier:

https://bugs.freedesktop.org/show_bug.cgi?id=78174

in reply to:  17 comment:25 by ken@…, 10 years ago

Replying to fo:

Replying to fo:

I believe that gst plugins are OK, Ken seems to have all problems solved.

I gave up on this, too much else to do. It might be a more general problem on that machine, and perhaps nothing to do with gstreamer. I found that on some (older, so gcc-4.8 or earlier) x86_64 systems on that box, it did not seem to have sound in firefox. I don't often use sound on that machine.

comment:26 by Fernando de Oliveira, 10 years ago

Adding another reference to similar problem, for freeBSD 10 amd64 and openoffice-4 4.0.1_3, not LO:

http://www.opendevs.org/npsmn/openoffice-4-4-1-3-failed-compilation.html

Same report also here:

http://permalink.gmane.org/gmane.os.freebsd.devel.office/2262

I am reproducing partially at the end, because there is new info that I do not completely understand and might help us:

"relocation R_X86_64_PC32 against undefined symbol `_ZThn48_N25WindowListenerMultiplexer7acquireEv' can not be used when making a shared object; recompile with -fPIC /usr/local/bin/ld: final link failed: Bad"

I see "-fPIC" (could it help?).

Also there is a suggestion form OO:

"1 module(s):

svx

need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/svx/prj

When you have fixed the errors in that module you can resume the build by running:

build --from svx

"

$W/AllLangRes/svx /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdx.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+0x68f4): undefined reference to `non-virtual
thunk to
WindowListenerMultiplexer::acquire()' /usr/local/bin/ld: /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdx.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/local/bin/ld: final link failed: Bad
value collect2: error: ld returned 1 exit status gmake[2]: ***

comment:27 by bdubbs@…, 10 years ago

Summary: gcc-4.9.0 32-bit build issues - libreoffice, gst-plugins-base, lamegcc-4.9.0 32-bit build issues - libreoffice

Renaming because it seem sto be only an LO problem now.

I see that there is a later stable release: libreoffice-4.2.5.2.tar.xz

See if that gives different results on a 32-bit system.

comment:28 by Fernando de Oliveira, 10 years ago

Thanks, Bruce. Will try it.

comment:29 by ken@…, 10 years ago

I just gave 4.2.5.2 a try on i686 on LFS-20140514 (plus the LFS r 10567 udev-lfs fix). With my normal configure options it failed with

[build CHK] editeng
/scratch/ken/libreoffice-4.2.5.2/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+0x7f5a): undefined reference to `non-virtual thunk to WindowListenerMultiplexer::acquire()'

and more similar error messages for other acquire() functions or thunks or whatever.

This seems to be well-described/analysed (for 4.2.3.3) at https://bugs.freedesktop.org/show_bug.cgi?id=78174

comment:30 by Fernando de Oliveira, 10 years ago

Thank you very much, ĸen.

Forgot to update the ticket. Fails for me, too.

Yes, link for that bug is in comment:1, above. I have included the expanded commands, there, but for 4.2.4.2.

Perhaps, you could add a comment in the bug, so we have three people and different releases affected, but nothing done upstream.

I believe Jürg Billeter, who created the ticket, knows what to do to compile, because he writes:

The same errors appear in two places (svx and dbaccess), both times referring to 
classes from toolkit/source/helper/listenermultiplexer.cxx, which compiled fine 
without warnings.

From that, it seems that some modification in listenermultiplexer.cxx would allow the broken compilations to succeed.

Last edited 10 years ago by Fernando de Oliveira (previous) (diff)

comment:31 by Fernando de Oliveira, 10 years ago

On the other hand, ArchLinux has gcc-4.9.0 without the patches we have and provided LO 4.2.2.3 ... 4.2.5.2, all three versions for both, i686 and x86_64. They have a multilib gcc compiler, marked as 4.9.0, but inside the PKBUILD, it is actually using 4.8.2, and we know that 4.8.2 compiles fine LO.

One other approach: as I commented above, at

https://stackoverflow.com/questions/14148380/how-to-troubleshoot-undefined-reference-to-non-virtual-thunk-to

there is a discussion on

How to troubleshoot: undefined reference to 'non-virtual thunk to …'

There is no conclusion, but could help to find what could be fixed.

in reply to:  30 comment:32 by Fernando de Oliveira, 10 years ago

Replying to fo:

Thank you very much, ĸen.

I have edited: s/Rhank/Thank/

Perhaps, you could add a comment in the bug, so we have three affected, we have the version and nothing done upstream.

Also edited there to

Perhaps, you could add a comment in the bug, so we have three releases affected, and nothing done upstream.

by ken@…, 10 years ago

Jürg's patch from Paldo

comment:33 by ken@…, 10 years ago

Jürg is pretty active at Paldo. I eventually found

http://www.paldo.org/index-section-packages-page-main-releaseid-7682.html

where there is a libreoffice-4.2.3.3-gcc-4.9-1.patch.bz2 file. It wraps some chunks of code in #ifndef i386 so it should not affect x86_64. I'll attach it to this ticket.

I've no idea what the upstream status is, nor why we did not see this on 4.2.3.3.

At the moment I'm back on x86_64, so not testing this.

comment:34 by bdubbs@…, 10 years ago

A very short patch. Only 1.7K uncompressed. Attached.

It only adds 4 lines: 2x

+#ifndef __i386__
...
+ endif

to ColumnControl.cxx and fmgridif.cxx

by bdubbs@…, 10 years ago

Uncompressed patch so it can be viewed in Trac

comment:35 by Fernando de Oliveira, 10 years ago

Thank you very much, ĸen!!!

Everybody knows that, between all great qualities ĸen has that impresses me in, one is the ability to find patches. This is not the first time you find a patch to fix LO, for other people having problems.

I am testing it right now. If you wish, please, update it, if not, I will run a -j1 overnight or, with luck, before, and will do it.

First I thought you had done the update in x86_64, my apologies. Now, I see it was me. I have tested, it does not build in i686, with gcc-4.9.0, not just my dev system, also in soon-to-be-trashed systemd system from the experiment. But I have already mentioned that it builds fine in LFS-7.5, which I was using, before the systemd experiment, and updated it there, with gcc-4.8.2, before switching to systemd experiment, with already gcc-4.9.0:

libreoffice update: 04/20/14 gcc-4.9.0 update: 04/24/14

Reading the patch, what I understand is that he just jumps Listener parts that fail in i686:

WindowListenerMultiplexer ... PaintListenerMultiplexer

in reply to:  35 comment:36 by bdubbs@…, 10 years ago

Replying to fo:

Reading the patch, what I understand is that he just jumps Listener parts that fail in i686:

WindowListenerMultiplexer ... PaintListenerMultiplexer

Yes, that's right. Those statements are probably just not needed in any system.

I checked and the patch applies cleanly to version 4.2.5.2.

in reply to:  35 comment:37 by ken@…, 10 years ago

Replying to fo:

Thank you very much, ĸen!!!

Everybody knows that, between all great qualities ĸen has that impresses me in, one is the ability to find patches. This is not the first time you find a patch to fix LO, for other people having problems.

Actually, finding this one took me on an interesting journey. Google had a reference to a site analyzing paldo commits - going in there found a reference to a commit to paldo itself. In the end, I cloned paldo git to see the commit, amd it turned out to be adding a patch for LO. After I knew that, google was able to find the patch!

I am testing it right now. If you wish, please, update it, if not, I will run a -j1 overnight or, with luck, before, and will do it.

I'm still not intending to do any updates for a few days, and then I will look at TeX. Hopefully, I will manage to at least sort out my existing test data for that.

But yesterday, it suited me to try to build this on my i686 system (it just needed time to build it while I was doing other things).

comment:38 by Fernando de Oliveira, 10 years ago

Type: enhancementdefect

comment:39 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:40 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

LibreOffice-4.2.5.2 with gcc-4.9.0 in i686 and patch submitted by ĸen: build successful, works apparently fine.

Closing this ticket as fixed.

Update ticket is #5194.

comment:41 by Fernando de Oliveira, 10 years ago

Many many thanks to ĸen and Bruce!!

Note: See TracTickets for help on using tickets.