bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] Problems building a 64-bit iconv on Solaris x86


From: Dr. David Kirkby
Subject: Re: [bug-gnu-libiconv] Problems building a 64-bit iconv on Solaris x86
Date: Sun, 29 Aug 2010 15:17:41 +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.log

This 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."

You have managed to build a GCC in an unsupported configuration (how?), and
now you're encountering bugs. You're on your own.

Bruno


Bruno,

as I noted before, building 64-bit binaries on Solaris is not unsupported by gcc. It is very normal.

The issue was resolved by Ralf Wildenhues, who is a libtool developer.

I had configured iconv using

CC=gcc
CFLAGS=-m64

if instead one uses

CC="gcc -m64"

so iconv builds fine 64-bit on Solaris 10 x86 and OpenSolaris on x86.

You might want to add that to your documentation.

The strange thing is, this builds 64-bit on more recent OpenSolaris and Solaris releases with just setting CFLAGS.

Dave



reply via email to

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