[U-Boot-Users] MPC860T POST
Wolfgang Denk
wd at denx.de
Tue Jun 24 20:45:06 CEST 2003
In message <M2003062410175010019 at safemail.tcs-aus.com.au> you wrote:
>
> Sorry if I didn't make it clear enough. I'm using version 3.0.4 of gcc.
Any chance that your compiler is not working correctly?
> I downloaded a copy of u-boot-0.3.0 and I'm seeing the same error:
...
> powerpc-linux-gcc -g -Os -mrelocatable -ffixed-r14 -meabi -mrelocatable
> -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000000
> -I/home/myhong/u-boot-0.3.0/include -fno-builtin -pipe -DCONFIG_PPC
> -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860
> -msoft-float -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29
> -mstring -mcpu=860 -msoft-float -Wall -Wstrict-prototypes -c -o post.o
> post.c
> {standard input}: Assembler messages:
> {standard input}:676: Error: Relocation cannot be done when using
> -mrelocatable
> {standard input}:682: Error: Relocation cannot be done when using
> -mrelocatable
> {standard input}:688: Error: Relocation cannot be done when using
> -mrelocatable
> make[1]: *** [post.o] Error 1
> make[1]: Leaving directory `/home/myhong/u-boot-0.3.0/post'
> make: *** [subdirs] Error 1
> myhong at nemo ~/u-boot-0.3.0 $powerpc-linux-gcc -dumpversion
> 3.0.4
Works fine for me (and always did):
-> ppc_8xx-gcc -g -Os -mrelocatable -ffixed-r14 -meabi -mrelocatable -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x40000000 -I/home/wd/u-boot/include -fno-builtin -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -Wall -Wstrict-prototypes -c -o post.o post.c
-> ppc_8xx-gcc -dumpversion
2.95.4
[I'm using our ELDK.]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
It [being a Vulcan] means to adopt a philosophy, a way of life which
is logical and beneficial. We cannot disregard that philosophy merely
for personal gain, no matter how important that gain might be.
-- Spock, "Journey to Babel", stardate 3842.4
More information about the U-Boot
mailing list