This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building 3.4.0 for powerpc-elf target


Hi,

I'm attempting to build a win32 hosted powerpc-elf cross compiler with the
3.4.0 tarball using mingw. I currently get a failure in the make all-gcc
stage as follows :-

/c/projects/mingw/gcc/devkitbuild/powerpc-elf/gcc/gcc/xgcc -B/c/projects/min
gw/gcc/devkitbuild/powerpc-elf/gcc/gcc/ -Bc:/devkitPPC_r6/powerpc-elf/bin/ -
Bc:/devkitPPC_r6/powerpc-elf/lib/ -isystem
c:/devkitPPC_r6/powerpc-elf/include -isystem
c:/devkitPPC_r6/powerpc-elf/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -
Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-de
finition  -isystem
./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I 
-I../../../gcc-3.4.0/gcc -I../../../gcc-3.4.0/gcc/ -I../../../gcc-3.4.0/gcc/
../include  -I../../../gcc-3.4.0/gcc  -DL_floatdidf -c
../../../gcc-3.4.0/gcc/libgcc2.c -o libgcc/./_floatdidf.o
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s: Assembler messages:
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s:41: Error: unsupported
relocation against null
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s:42: Error: unsupported
relocation against null
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s:44: Error: unsupported
relocation against null
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s:50: Error: unsupported
relocation against null
C:/DOCUME~1/DAVEM~1.NEU/LOCALS~1/Temp/ccszaaaa.s:57: Error: unsupported
relocation against null
make[2]: *** [libgcc/./_floatdidf.o] Error 1
make[2]: Leaving directory
`/c/projects/mingw/gcc/devkitbuild/powerpc-elf/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/c/projects/mingw/gcc/devkitbuild/powerpc-elf/gcc/gcc'
make: *** [all-gcc] Error 2

I'm using binutils 2.14.0

the native compiler is 3.2.3
$ gcc -v
Reading specs from c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with:
../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --tar
get=mingw32 --prefix=/mingw --ena
ble-threads --disable-nls --enable-languages=c++,f77,objc --disable-win32-re
gistry --disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)


The cross compiler is being configured as follows :-

prefix=c:/devkitPPC
target=powerpc-elf

export CFLAGS='-O2 -pipe'
export CXXFLAGS='-O2 -pipe'
export LDFLAGS='-s'
export DEBUG_FLAGS=''


mkdir -p $target/gcc
cd $target/gcc

../../gcc-3.4.0/configure \
	--enable-languages=c,c++ \
	--with-cpu=750\
	--with-gcc --with-gnu-ld --with-gnu-as --with-stabs \
	--disable-nls --disable-shared --disable-threads --disable-multilib\
	--disable-win32-registry\
	--target=$target \
	--with-newlib \
	--prefix=$prefix -v\
	2>&1 | tee configure.log

anyone have any ideas?

lbgcc2.i & libgcc2.s attached

Dave

Attachment: libgcc2.i
Description: Binary data

Attachment: libgcc2.s
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]