Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C6F9200B87 for ; Mon, 5 Sep 2016 05:39:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1AF6E160AC0; Mon, 5 Sep 2016 03:39:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5FBA2160AB9 for ; Mon, 5 Sep 2016 05:39:23 +0200 (CEST) Received: (qmail 79462 invoked by uid 500); 5 Sep 2016 03:39:22 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 79450 invoked by uid 99); 5 Sep 2016 03:39:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2016 03:39:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A4DED1A089F for ; Mon, 5 Sep 2016 03:39:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id d22mptnRSAf0 for ; Mon, 5 Sep 2016 03:39:18 +0000 (UTC) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 067FF5F253 for ; Mon, 5 Sep 2016 03:39:17 +0000 (UTC) Received: from apache.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u853d3IY038690 for ; Sun, 4 Sep 2016 20:39:07 -0700 (PDT) (envelope-from truckman@apache.org) Message-Id: <201609050339.u853d3IY038690@gw.catspoiler.org> Date: Sun, 4 Sep 2016 20:39:03 -0700 (PDT) From: Don Lewis Subject: Re: Help needed: Build error in bean and vcl To: dev@openoffice.apache.org In-Reply-To: <201609050208.u8528oM8038473@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii archived-at: Mon, 05 Sep 2016 03:39:24 -0000 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 >> const&, com::sun::star::uno::Reference >> 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: 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