This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 4.0.1 build failure on powerpc64-linux
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Karel Gardas <kgardas at objectsecurity dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Jul 2005 11:28:20 -0700
- Subject: Re: 4.0.1 build failure on powerpc64-linux
- References: <Pine.LNX.4.63.0507181248151.17136@silence.gardas.net>
On Mon, Jul 18, 2005 at 12:53:01PM +0200, Karel Gardas wrote:
>
> I'm trying to build 4.0.1 release on powerpc64-linux, but without success
> so far, since build fails with:
>
> I've configured it with:
> ../gcc-4.0.1/configure --prefix=$HOME/usr/local/gcc-4.0.1 --enable-shared
> --enable-threads --enable-languages=c++ --disable-checking
> --enable-__cxa_atexit
This won't work unless the default compiler and binutils generate 64-bit
code by default. I build biarch compilers that default to -m32 with
"--build=powerpc64-linux --host=powerpc64-linux --target=powerpc64-linux
--with-cpu=default32".
> Also, http://gcc.gnu.org/install/specific.html#powerpc-x-linux-gnu notes
> that binutils 2.15 are required, which seems to be available on this
> system (Debian 3.1/ppc64):
I've been using binutils 2.16, but can't remember specific problems with
earlier versions.
Have you successfully built earlier versions for this target?
Janis