On 10.01.2012 19:34, Rob Weir wrote:
On Tue, Jan 10, 2012 at 11:33 AM, Andre Fischer<[email protected]> wrote:
On 10.01.2012 14:43, Rob Weir wrote:
On Fri, Dec 23, 2011 at 9:37 AM, Andre Fischer<[email protected]> wrote:
On 12/21/11 8:12 PM, Pedro Giffuni wrote:
--- Mer 21/12/11, Andre Fischer<[email protected]> ha scritto:
...
Hi all,
I ran into a problem with a Linux build. On Ubuntu
(both 32bit and 64bit) linking of comphelper failed
with a lot of unresolved references. With the help of
Herbert I could solve this by using a different linker.
Instead of ld.bfd I used ld.gold and could build comphelper
and the rest of OpenOffice.
On Fedora this seems to work out of the box.
I am now working on CoinMP (the lp_solve
replacement). It builds without problems on Windows
and
Mac but has linker errors on Linux. Eventually I
found that going back to ld.bfd solved this problem.
Has anybody else experienced problems with the linker?
Does anybody on this list have a deeper understanding of
the Linux linkers and can explain
what is going on and how to better solve it?
My understanding is that gold is still experimental: it
is the planned replacement for GNU ld but GNU ld is
still the default for some good reason.
The most common problems I've seen with GNU ld are
related to the linking order:
http://stackoverflow.com/questions/45135/linker-order-gcc
That is the kind of problem that I ran (and still run) into in
comphelper.
Does anybody else has this problem, or is it just me?
I'm seeing link errors now with comphelper. This is on Ubuntu. It
worked fine a few weeks ago.
Did you upgrade your Ubuntu?
Which version are you using? 11.10?
Yes, looks like I'm not 11.10. Is that the problem? Is there a known
workaround, other than installing 11.04?
(assuming that not=on) Yes that is indeed the problem. 10.04 is OK. I
have not checked the versions in between.
But I have already a working fix which I am testing right now. Should
be ready today or tomorrow.
-Rob
While here, CoinMP has some outdated components.
I have a couple of header cleanups here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/math/coinmp/files/
Good to know. A quick glance shows that these patches are against CoinMP
1.4, and I am working with CoinMP 1.6. But there may be valuable
information there. I will look into this after the hollidays.
Regards,
Andre
cheers,
Pedro.