[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1 test ( tests/mdemo2-make.test ) fails on Solaris 10

From: Dr. David Kirkby
Subject: Re: 1 test ( tests/mdemo2-make.test ) fails on Solaris 10
Date: Sun, 14 Jun 2009 22:09:24 +0100
User-agent: Thunderbird (X11/20090218)

Bob Friesenhahn wrote:
On Sun, 14 Jun 2009, Dr. David Kirkby wrote:

BTW, the home directories of users on the machine where I was playing with libtool are public, so you can look at where I built it, see every file created, download them if you want.


From this I can see that you are using GNU ld:

configure:4645: checking for ld used by gcc
configure:4712: result: /home/kirkby/bin/ld
configure:4721: checking if the linker (/home/kirkby/bin/ld) is GNU ld
configure:4736: result: yes

I think that besides these extra gripes you will find the annoyance factor of GNU ld increases once you see how it behaves when performing 64-bit builds, or discover that the Sun compiler is not able to use the libraries output by GCC due to the injection of additional symbols.

Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Ultimately, I'd like to see the Sage project switch to the Sun compilers. Whether that will happen is another matter, due to the huge amount of GNUisms is a lot of code.

Don't get me wrong. I like Sun stuff. I'm typing this on my own personal Blade 2000.

I just did a gcc -v on the version of gcc Sun put in /usr/sfw/bin. I see they use the Sun linker and the GNU assembler.

I'd be interested if you can build sqlite (the latest) yourself using gcc 4.4.0.

Perhaps using the Sun linker might avoid the problem. I don't know. But if putting the libraries in the order they appear to be with libtool on Solaris 10, then you are going to get problems.

Can't you simply reverse the order of the linker flags? That would allow it to build on any version of Solaris, including 10. For 10 you can not bother linking in libpthread.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]