Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54D087A15 for ; Wed, 21 Dec 2011 19:12:42 +0000 (UTC) Received: (qmail 29407 invoked by uid 500); 21 Dec 2011 19:12:42 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 29348 invoked by uid 500); 21 Dec 2011 19:12:42 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 29340 invoked by uid 99); 21 Dec 2011 19:12:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 19:12:42 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.139.91.228] (HELO nm25-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.228) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 21 Dec 2011 19:12:33 +0000 Received: from [98.139.91.65] by nm25.bullet.mail.sp2.yahoo.com with NNFMP; 21 Dec 2011 19:12:11 -0000 Received: from [98.139.91.42] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 21 Dec 2011 19:12:11 -0000 Received: from [127.0.0.1] by omp1042.mail.sp2.yahoo.com with NNFMP; 21 Dec 2011 19:12:11 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 742919.59808.bm@omp1042.mail.sp2.yahoo.com Received: (qmail 73599 invoked by uid 60001); 21 Dec 2011 19:12:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1324494731; bh=4sw7PTrn2h054vGWX4GMGYZ0abAH60xlAh0VmxdSZwQ=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aZXq6aSM639JgQTBjUFMK+apL/T6gf2v/r13jEJkIkO4PwsKzMSeT4YttJ4nZUH3hzH8Mw8zCX+/rCH113Gv0MZzrLZ+C+hMjTPqFGUbhFwCs0cWZh4/3q4xeNVw+9d3XyBEtblqgPe0tmHqCVuGNpYPzyffItaLAQr6bP1E/7Q= X-YMail-OSG: beSIIpwVM1kdNQ5.AAGCvW5UilHZItOCjVqL.nhEKZ3Nk2e bs455maYAEu9cev9Dw8EnsV0frSY5FfaLcREYMSoFFv1Gwd4JvG7GGZaqAWn XVGyd.eH7LDrHEBLOeA.MM2IPOERDvIgYaRp_ODRaJOB7b.ZOx3mSdAFoMCr OXDI82U4tovKRefTK.9QVCkGbg_pEuWtckTDK0WJbMvDwDSVovseCNqKWdsX d_gx1VlXloj0sh__FDvlj.A5Sqr3BygvK2JSIo6NQr5coHO5XtDEXcO5An0L c1ntA06voXkc9GfjYG6RXECQVZogr52MKBljYFWr5ImFHPK1wJZLLk6FxDMq af3nipEZIWB5Cgo4f2UGw2uAX1V0oz.1QHY4t_GXWPWFejCT3LhdZ2ZosV18 HjMhp50xaSuIA6AkDF3K6aT97X4fABYHuRQNOkGijczk8zyb6do.QNB7dle6 QvuuZqyiNXkBRsBUyHaP0PS_tPssOoZQoXBi7l47v9Nw69qEDTq6VyjDWNwG kQ046CM8FmiZ1MuVVcq6pivFaUYZ.pY5jFGhWZDNsqg6lIK2kB4wTx1VIVYk 3FF7KA_S839KpoApqQaLCtUDL1ElLH7RrPVoAh4UqmbZoTQGN_6FGbRrkgSZ wLMpKtlLkZt8DbkG1JfgPJ3ay1hdMhPi7ZO4zmAXM87OE1Qf22efm1QPo2dY - Received: from [200.118.157.7] by web113508.mail.gq1.yahoo.com via HTTP; Wed, 21 Dec 2011 11:12:11 PST X-RocketYMMF: giffunip X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.115.331698 Message-ID: <1324494731.64395.YahooMailClassic@web113508.mail.gq1.yahoo.com> Date: Wed, 21 Dec 2011 11:12:11 -0800 (PST) From: Pedro Giffuni Reply-To: pfg@apache.org Subject: R: ld: gold vs bfd To: ooo-dev@incubator.apache.org In-Reply-To: <4EF20E5F.5030502@a-w-f.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org =0A=0A--- Mer 21/12/11, Andre Fischer ha scritto:=0A...=0A= > Hi all,=0A> =0A> I ran into a problem with a Linux build.=A0 On Ubuntu=0A= > (both 32bit and 64bit) linking of comphelper failed=0A> with a lot of unr= esolved references.=A0 With the help of=0A> Herbert I could solve this by u= sing a different linker.=0A> Instead of ld.bfd I used ld.gold and could bui= ld comphelper=0A> and the rest of OpenOffice.=0A> =0A> On Fedora this seems= to work out of the box.=0A> =0A> I am now working on CoinMP (the lp_solve= =0A> replacement).=A0 It builds without problems on Windows=0A> and=0A> Mac= but has linker errors on Linux.=A0 Eventually I=0A> found that going back = to ld.bfd solved this problem.=0A> =0A> Has anybody else experienced proble= ms with the linker?=0A> =0A> Does anybody on this list have a deeper unders= tanding of=0A> the Linux linkers and can explain=0A> what is going on and h= ow to better solve it?=0A>=0A=0AMy understanding is that gold is still expe= rimental: it=0Ais the planned replacement for GNU ld but GNU ld is=0Astill = the default for some good reason.=0A =0AThe most common problems I've seen = with GNU ld are=0Arelated to the linking order:=0A=0Ahttp://stackoverflow.c= om/questions/45135/linker-order-gcc=0A=0AWhile here, CoinMP has some outdat= ed components.=0AI have a couple of header cleanups here:=0Ahttp://www.free= bsd.org/cgi/cvsweb.cgi/ports/math/coinmp/files/=0A=0Acheers,=0A=0APedro.