[Top] [All Lists]

64 bit compile problems

Subject: 64 bit compile problems
From: David Kesselring <>
Date: Fri, 5 Sep 2003 10:04:01 -0400 (EDT)
Original-recipient: rfc822;
I'm trying to build u-boot bootloader for a 5kc core in 64 bit mode. I'm
having problems with the compiler/linker. If anyone has any ideas, please
let me know.

When I use the toolchain that installs in
"/usr/cygnus/mips3264-020217/H-i686-pc-linux-gnulibc2.1/bin", I get a link
problem where all opcodes are not aligned on a 64 bit boundry. I get an
extra 32bit word of 0x0 between two 64bit opcodes in the binary file.
The cpp options I use are:-mips64 -EL -mlong64 -mcpu=r5k

When I use a toolchain which I think I ftp'd from
(mips64el-linux), I get the following error. The cpp options I use are:-EL
-mabi=64 -mips4 -mlong64

/usr/bin/mips64el-linux-gcc  -O   -D__KERNEL__ -DTEXT_BASE=0x00000
-I/home/dkesselr/uboot/u-boot-0.4.5-atmel/include/asm -fno-builtin
-ffreestanding -nostdinc -isystem
/usr/lib/gcc-lib/mips64el-linux/2.95.4/include -pipe  -DCONFIG_MIPS
-D__MIPS__ -EL -mabi=64 -mips4
-mlong64 -Wall -Wstrict-prototypes -c -o atmel352.o atmel352.c
atmel352.c: In function `sdram_timing_init':
atmel352.c:82: warning: cast to pointer from integer of different size
atmel352.c:90: warning: cast to pointer from integer of different size
atmel352.c: In function `copydwords':
atmel352.c:186: Internal compiler error in `rtx_equal_for_memref_p', at
Please submit a full bug report.
See <URL:> for instructions.
cpp0: output pipe has been closed

David Kesselring
Atmel MMC 919-462-6587

<Prev in Thread] Current Thread [Next in Thread>