public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* I need help building a powerpc-unknown-eabispe cross compiler
@ 2007-01-02 20:17 Rask Ingemann Lambertsen
  2007-01-02 21:17 ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 3+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-01-02 20:17 UTC (permalink / raw)
  To: gcc-help

   I want to build a cross compiler with powerpc-unknown-eabispe as target
and i686-pc-linux-gnu as host. If I configure it like this (all on one line)

 ../../src/gcc/configure --enable-sim --with-newlib --disable-nls
 --enable-e500_double --prefix=${HOME} --enable-checking=yes,rtl
 --disable-threads --disable-shared --without-long-double-128
 --target=powerpc-unknown-eabispe

in a combined tree with gcc, binutils, gdb and newlib, the build fails
compiling libgcc2:

/home/rask/build/gcc-ppc/./gcc/xgcc -B/home/rask/build/gcc-ppc/./gcc/ -nostdinc -B/home/rask/build/gcc-ppc/powerpc-unknown-eabispe/newlib/ -isystem /home/rask/build/gcc-ppc/powerpc-unknown-eabispe/newlib/targ-include -isystem /home/rask/src/gcc/newlib/libc/include -B/home/rask/powerpc-unknown-eabispe/bin/ -B/home/rask/powerpc-unknown-eabispe/lib/ -isystem /home/rask/powerpc-unknown-eabispe/include -isystem /home/rask/powerpc-unknown-eabispe/sys-include -L/home/rask/build/gcc-ppc/./ld -O2  -O2 -g -O2  -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -specs=ldblspecs -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../src/gcc/gcc -I../../../src/gcc/gcc/. -I../../../src/gcc/gcc/../include -I../../../src/gcc/gcc/../libcpp/include  -I../../../src/gcc/gcc/../libdecnumber -I../libdecnumber -DL_powitf2 -c ../../../src/gcc/gcc/libgcc2.c -o libgcc/./_powitf2.o
../../../src/gcc/gcc/libgcc2.c: In function '__powitf2':
../../../src/gcc/gcc/libgcc2.c:1735: internal compiler error: in gen_reg_rtx, at emit-rtl.c:770

   What is a know good way of doing it?

   FWIW, I also tried with --target=powerpc-none-linux-gnuspe, which builds
libgcc2 fine, but then target libiberty fails because I don't have the
header files it needs.

-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I need help building a powerpc-unknown-eabispe cross compiler
  2007-01-02 20:17 I need help building a powerpc-unknown-eabispe cross compiler Rask Ingemann Lambertsen
@ 2007-01-02 21:17 ` Rask Ingemann Lambertsen
  2007-01-06 16:33   ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 3+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-01-02 21:17 UTC (permalink / raw)
  To: gcc-help

On Tue, Jan 02, 2007 at 09:17:40PM +0100, Rask Ingemann Lambertsen wrote:
>    I want to build a cross compiler with powerpc-unknown-eabispe as target
> and i686-pc-linux-gnu as host. If I configure it like this (all on one line)

   I forgot to mention that I'm trying to build from a mainline SVN checkout
(which will become GCC 4.3).

-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I need help building a powerpc-unknown-eabispe cross compiler
  2007-01-02 21:17 ` Rask Ingemann Lambertsen
@ 2007-01-06 16:33   ` Rask Ingemann Lambertsen
  0 siblings, 0 replies; 3+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-01-06 16:33 UTC (permalink / raw)
  To: gcc-help

On Tue, Jan 02, 2007 at 10:17:44PM +0100, Rask Ingemann Lambertsen wrote:
> On Tue, Jan 02, 2007 at 09:17:40PM +0100, Rask Ingemann Lambertsen wrote:
> >    I want to build a cross compiler with powerpc-unknown-eabispe as target
> > and i686-pc-linux-gnu as host. If I configure it like this (all on one line)
> 
>    I forgot to mention that I'm trying to build from a mainline SVN checkout
> (which will become GCC 4.3).

   I filed a bug report
<URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30370>, there is progress
and incidentally, mainline has been fixed by an unrelated change.
 
-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-06 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-02 20:17 I need help building a powerpc-unknown-eabispe cross compiler Rask Ingemann Lambertsen
2007-01-02 21:17 ` Rask Ingemann Lambertsen
2007-01-06 16:33   ` Rask Ingemann Lambertsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).