Re: PPC64 kernel build toolchain?

2005-04-18 Thread Patrick Finnegan
New problem (yay). When trying to build glibc32_first, it stops with this error: powerpc-linux-gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wa,-mppc -mpowerpc -mnew-mnemonics -I../include -I. -I/home/finnegpt/src/buildtools/build-glibc32/stdio-common

Re: PPC64 kernel build toolchain?

2005-04-18 Thread Juergen Kreileder
Patrick Finnegan [EMAIL PROTECTED] writes: Can anyone tell me what versions of gcc, glibc, and binutils they used, which actually worked properly? I've built binutils-2.15.95, gcc-3.4.3, and glibc-2.3.5 a few days ago (on a system already running a ppc64 kernel). I just had to make one small

Re: PPC64 kernel build toolchain?

2005-04-17 Thread F. Heitkamp
On Sun, 17 Apr 2005, Anton Blanchard wrote: It looks like you are picking up the host compiler and not the ppc32 compiler. Check out arch/ppc64/boot/Makefile and the CROSS32_COMPILE define. Mucking with the environment variables as you suggest fixed my problem. Thanks! I have now compiled a PPC

Re: PPC64 kernel build toolchain?

2005-04-17 Thread Patrick Finnegan
(Copying reply to list as I managed to forget to check that before.) Benjamin Herrenschmidt declared on Friday 15 April 2005 06:54 pm: On Fri, 2005-04-15 at 11:15 -0500, Patrick Finnegan wrote: Can anyone tell me where to get a toolchain that can build a PPC64 (NOT PPC32) kernel? I've now

Re: PPC64 kernel build toolchain?

2005-04-17 Thread Juergen Kreileder
Patrick Finnegan [EMAIL PROTECTED] writes: make[3]: Entering directory `/home/pat/buildtools/build-binutils-biarch/bfd/po' file=/home/pat/src/binutils/bfd/po/`echo fr | sed 's,.*/,,'`.gmo \ rm -f $file PATH=../src:$PATH no -o $file /home/pat/src/binutils/bfd/po/ fr.po

Re: PPC64 kernel build toolchain?

2005-04-17 Thread Anton Blanchard
Mucking with the environment variables as you suggest fixed my problem. Thanks! I have now compiled a PPC 64 kernel, but sadly do not have a G5 to try it on. :( Unfortunately I cant help you there :) I noticed gcc uses the -m64 option when compiling the 64 bit things. When no -mXY is

Re: PPC64 kernel build toolchain?

2005-04-16 Thread F. Heitkamp
On Fri, 15 Apr 2005, Patrick Finnegan wrote: Can anyone tell me where to get a toolchain that can build a PPC64 (NOT PPC32) kernel? I've now got a few PPC64 machines running Debian that I'd like to run an actual 64-bit kernel on... Maybe you'll have better luck. I built one with crosstool-031

Re: PPC64 kernel build toolchain?

2005-04-16 Thread Anton Blanchard
Can anyone tell me where to get a toolchain that can build a PPC64 (NOT PPC32) kernel? I've now got a few PPC64 machines running Debian that I'd like to run an actual 64-bit kernel on... Maybe you'll have better luck. I built one with crosstool-031 which was very easy. Unfortunately

PPC64 kernel build toolchain?

2005-04-15 Thread Patrick Finnegan
Can anyone tell me where to get a toolchain that can build a PPC64 (NOT PPC32) kernel? I've now got a few PPC64 machines running Debian that I'd like to run an actual 64-bit kernel on... Thanks, Pat -- Purdue University Research Computing -- http://www.itap.purdue.edu/rcac -- To

Re: PPC64 kernel build toolchain?

2005-04-15 Thread Benjamin Herrenschmidt
On Fri, 2005-04-15 at 11:15 -0500, Patrick Finnegan wrote: Can anyone tell me where to get a toolchain that can build a PPC64 (NOT PPC32) kernel? I've now got a few PPC64 machines running Debian that I'd like to run an actual 64-bit kernel on... You need to build a biarch toolchain (that