[U-Boot-Users] Building U-Boot with GCC3.4.0

Jim McNamara jmcnamara at kimble.ie
Tue Nov 9 13:10:54 CET 2004


Hi All,

I've been able to get U-Boot to build and run successfully using Linux and
m68k-elf-2.95.3.

What I'm trying to do now is build U-Boot in Cygwin using m68k-elf-3.4.0.
I've applied all the cygwin patches neccessary and any GCC3.4.0 patches I
could find. However, I've run into a problem compiling cpu/mcf52x2/start.S.
This is the error message that I'm getting:-

m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -ffixed-d7 -msep-data -D__
KERNEL__ -DTEXT_BASE=0xfe000000 -I/home/JimMcNamara/u-boot-1.1.1/include -fn
o-builtin -ffreestanding -nostdinc -isystem
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include -pipe  -DCONFIG_M68K -D__M68K_
_ -m5307 -c -o cpu/mcf52x2/start.o
/home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S
/home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S: Assembler messages:
/home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S:316: Fatal error: Tried
to convert PC relative conditional branch to absolute jump
make: *** [cpu/mcf52x2/start.o] Error 1

I've looked at the mail archive and noticed that this problem has been
mentioned before, however I can't find any solution posted. Can anyone give
me some pointers on how to resolve the problem??

Thanks,

Jim...





More information about the U-Boot mailing list