[U-Boot-Users] -mrelocatable
Jeff Tucker
jeff at jltnet.com
Wed Apr 7 23:13:10 CEST 2004
--On Wednesday, April 07, 2004 4:17 PM -0400 "Forslin, Eric"
<eforslin at thalescomputers.com> wrote:
>
> Hello,
>
> I'm currently upgrading a custom PPCBoot 1.1.5 port to U-Boot 1.0.0 for a
> custom 405GP-based board. At the same time, I thought it would be a good
> idea to upgrade my development system to SuSE 9.0 and tool chain to ELDK
> 3.0.
>
> When I build U-Boot I get the following error when zlib.c is being
> compiled:
>
> ppc_4xx-gcc -g -Os -mrelocatable -ffixed-r14 -meabi -D__KERNEL__
> -DTEXT_BASE=
> 0xFFF80000 -I/home/ejf/u-boot/include -fno-builtin -ffreestanding
> -nostdinc -isy
> stem /home/ejf/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.2.2/include -pipe
> -DCONF
> IG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring
> -Wa,-m405 -mcp
> u=405 -msoft-float -Wall -Wstrict-prototypes -c -o zlib.o zlib.c
> {standard input}: Assembler messages:
> {standard input}:4998: Error: Relocation cannot be done when using
> -mrelocatable
Wolfgang posted a couple days ago that you can't build the latest U-Boot
with old gcc tools. Perhaps you're not really using the latest compiler
when you rebuild U-Boot? I see you have the latest toolchain, so make sure
that your PATH is set up to actually use those new tools and U-Boot will
build fine.
Jeff
--
Jeff Tucker
jeff at jltnet.com
More information about the U-Boot
mailing list