From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21053 invoked by alias); 27 Jan 2015 02:48:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20892 invoked by uid 48); 27 Jan 2015 02:47:57 -0000 From: "lukebenes at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/64812] New: [4.9 regression] x86 LibreOffice Build failure: undefined reference to acquire Date: Tue, 27 Jan 2015 02:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: regression X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lukebenes at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg02986.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812 Bug ID: 64812 Summary: [4.9 regression] x86 LibreOffice Build failure: undefined reference to acquire Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: lukebenes at hotmail dot com LibreOffice 4.2 or newer fails to build in a clean build environment on Linux x86-32 with gcc 4.9.0, 4.9.1, and 4.9.2. 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). The build also succeeds with clang 3.4 (on x86-32 and x86-64). 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. Steps to reproduce on x86 NOT x86-64: 1. $ git clone git://anongit.freedesktop.org/libreoffice/core 2. $ git checkout libreoffice-4-4-0 (optional, master fails with same errors) 3. $ apt-get build-dep libreoffice ( also lo_usefull Shell Script if missing dep) 4 ./autogen.sh && make Build log: /src/libreoffice-4.2.3.3/workdir/CxxObject/svx/source/fmcomp/fmgridif.o: In function `FmXGridControl::createPeer(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference 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 /src/libreoffice-4.2.3.3/svx/Library_svxcore.mk:20: recipe for target '/src/libreoffice-4.2.3.3/instdir/program/libsvxcorelo.so' failed make[1]: *** [/src/libreoffice-4.2.3.3/instdir/program/libsvxcorelo.so] Error 1 /src/libreoffice-4.2.3.3/workdir/CxxObject/dbaccess/source/ui/uno/ColumnControl.o: In function `.L362': ColumnControl.cxx:(.text+0x1588): undefined reference to `non-virtual thunk to WindowListenerMultiplexer::acquire()' ColumnControl.cxx:(.text+0x15d6): undefined reference to `non-virtual thunk to FocusListenerMultiplexer::acquire()' ColumnControl.cxx:(.text+0x1624): undefined reference to `non-virtual thunk to KeyListenerMultiplexer::acquire()' ColumnControl.cxx:(.text+0x1672): undefined reference to `non-virtual thunk to MouseListenerMultiplexer::acquire()' ColumnControl.cxx:(.text+0x16c0): undefined reference to `non-virtual thunk to MouseMotionListenerMultiplexer::acquire()' ColumnControl.cxx:(.text+0x170e): undefined reference to `non-virtual thunk to PaintListenerMultiplexer::acquire()' collect2: error: ld returned 1 exit status /src/libreoffice-4.2.3.3/dbaccess/Library_dbu.mk:10: recipe for target '/src/libreoffice-4.2.3.3/instdir/program/libdbulo.so' failed make[1]: *** [/src/libreoffice-4.2.3.3/instdir/program/libdbulo.so] Error 1