[U-Boot-Users] u-boot compilation problem

Wolfgang Denk wd at denx.de
Fri Nov 26 08:31:37 CET 2004


In message <20041126060937.99611.qmail at web8502.mail.in.yahoo.com> you wrote:
> 
>   I am porting the U-boot to my custom board which  is arm based. While building the u-boot i get the following compilation error.

What did you change for your port?

> armv5b-softfloat-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00780000 -I/root/isl/heron_old/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/crosstool/armv5b-softfloat-
> linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/armv5b-softfloat-linux/3.4.1/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv5te -mbig-endian -Wall
> -Wstrict-prototypes -c -o hello_world.o hello_world.c
> armv5b-softfloat-linux-ld -g -EB -Ttext 0x000007fc0 \
                                          ^^^^^^^^^^^

For example, where is this address coming from?

> Any clue what this problem can Be?

Since it compiles find  with  working  toolchains  for  the  existing
boards the problem is either in your modifications to the code and/or
in your toolchain.

Can you compile your modified code using a working toolchain (like ELDK 3.1) ?

Can you compile other ARM boards using your own toolchain?

> --0-87651495-1101449377=:95334
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> 
> <DIV>
> <DIV>Hi all,</DIV>

NEVER, NEVER ever post HTML again!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Physician: One upon whom we set our hopes when ill and our dogs  when
well.                                                - Ambrose Bierce




More information about the U-Boot mailing list