|
From: | Dr. David Kirkby |
Subject: | Re: [bug-gnu-libiconv] Problems building a 64-bit iconv on Solaris x86 |
Date: | Sun, 15 Aug 2010 22:17:16 +0100 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.7) Gecko/20100214 Thunderbird/3.0.1 |
On 08/15/10 07:48 PM, Bruno Haible wrote:
A log file of a 64-bit failed build on host 'fulvia' running Solaris 10 update 5 05/2008 can be seen here http://trac.sagemath.org/sage_trac/attachment/ticket/9718/iconv-1.13.1.p2.log The config.log can be seen here. http://trac.sagemath.org/sage_trac/attachment/ticket/9718/config.logThis one is already using gcc 4.5.1, so I suggest to you to report a bug to the GCC developers, like we discussed in <http://lists.gnu.org/archive/html/bug-gnu-libiconv/2010-05/msg00004.html>.Actually I now see in<http://gcc.gnu.org/install/specific.html#x86-64-x-x> that 64-bit x86_64 compilation on Solaris is not supported by GCC: "GCC supports the x86-64 architecture implemented by the AMD64 processor (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD."
Not on that target.
You have managed to build a GCC in an unsupported configuration (how?), and now you're encountering bugs. You're on your own. Bruno
I'm afraid to say you are mistaken http://gcc.gnu.org/install/specific.html#ix86-x-solaris210GCC builds 64-bit applications fine on Solaris. It supports the "-m64" flag to make 64-bit binaries.
I have now managed to build iconv 64-bit on Solaris x86, though that was with the aid of Ralf Wildenhues, a libtool developer. He told me what commands to run manually, and the library built.
I think Ralf might concede this is a libtool bug, and since iconv uses libtool, the bug come from there. But I will let Ralf comment on that. (I've cc'ed Ralf).
I am trying to get Ralf an account on a Solaris x86 machine, but for some reason this has taken longer than I expected.
Hopefully, if what I believe is a libtool bug is fixed, and you could use a later version of libtool, it should be possible to get this to work.
Dave
[Prev in Thread] | Current Thread | [Next in Thread] |