[U-Boot] ARM: Warning with current master

Hi
after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25).
arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object.
Must have something to do with the latest ELF based relocation changes but I am not an expert in these tool chain related issues to dig a bit deeper into this issue.
I didn't test if the image runs on the target.
gcc version is 4.3.4
Matthias

Le 20/10/2010 09:22, Matthias Weißer a écrit :
Hi
after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25).
arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object.
Hmm... Which toolchain do you use?
Amicalement,

Am 20.10.2010 09:44, schrieb Albert ARIBAUD:
Le 20/10/2010 09:22, Matthias Weißer a écrit :
Hi
after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25).
arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object.
Hmm... Which toolchain do you use?
I build it myself using crosstools-ng
$ arm-unknown-eabi-gcc -v Using built-in specs. Target: arm-unknown-eabi Configured with: ~/ctdev/targets/src/gcc-4.3.4/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-unknown-eabi --prefix=~/x-tools/arm-unknown-eabi --with-local-prefix=~/x-tools/arm-unknown-eabi/arm-unknown-eabi//sys-root --disable-multilib --disable-libmudflap --with-sysroot=~/x-tools/arm-unknown-eabi/arm-unknown-eabi//sys-root --with-newlib --enable-threads=no --disable-shared --with-pkgversion=crosstool-NG-1.8.0 --disable-__cxa_atexit --with-gmp=~/ctdev/targets/arm-unknown-eabi/build/static --with-mpfr=~/ctdev/targets/arm-unknown-eabi/build/static --enable-target-optspace --disable-nls --enable-symvers=gnu --enable-languages=c,c++ Thread model: single gcc version 4.3.4 (crosstool-NG-1.8.0)
Hope this helps.
Matthias

Le 20/10/2010 09:59, Matthias Weißer a écrit :
Am 20.10.2010 09:44, schrieb Albert ARIBAUD:
Le 20/10/2010 09:22, Matthias Weißer a écrit :
Hi
after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25).
arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object.
Hmm... Which toolchain do you use?
I build it myself using crosstools-ng
$ arm-unknown-eabi-gcc -v Using built-in specs. Target: arm-unknown-eabi Configured with: ~/ctdev/targets/src/gcc-4.3.4/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-unknown-eabi --prefix=~/x-tools/arm-unknown-eabi --with-local-prefix=~/x-tools/arm-unknown-eabi/arm-unknown-eabi//sys-root --disable-multilib --disable-libmudflap --with-sysroot=~/x-tools/arm-unknown-eabi/arm-unknown-eabi//sys-root --with-newlib --enable-threads=no --disable-shared --with-pkgversion=crosstool-NG-1.8.0 --disable-__cxa_atexit --with-gmp=~/ctdev/targets/arm-unknown-eabi/build/static --with-mpfr=~/ctdev/targets/arm-unknown-eabi/build/static --enable-target-optspace --disable-nls --enable-symvers=gnu --enable-languages=c,c++ Thread model: single gcc version 4.3.4 (crosstool-NG-1.8.0)
Hope this helps.
Matthias
This is an ld, not gcc, issue. What does arm-unknown-eabi-ld -V produce?
Amicalement,

Le 21/10/2010 08:03, Matthias Weißer a écrit :
Am 20.10.2010 22:38, schrieb Albert ARIBAUD:
This is an ld, not gcc, issue. What does arm-unknown-eabi-ld -V produce?
$ arm-unknown-eabi-ld -V GNU ld (GNU Binutils) 2.19.1 Supported emulations: armelf
Thanks for your time Matthias
Hmm... I use the ELDK toolchain and it says:
GNU ld (GNU Binutils) 2.17.90.20070806 Supported emulations: armelf_linux_eabi armelfb_linux_eabi
Maybe you need to look up your build documentation on how to add these emulations, at least armelf_linux_eabi (the armelfb should be useless for u-boot).
Amicalement,

Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=,
In message 4CBE98A1.9020301@arcor.de you wrote:
after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25).
arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object.
Which exact tool chain is this?
Must have something to do with the latest ELF based relocation changes but I am not an expert in these tool chain related issues to dig a bit deeper into this issue.
Building with ELDK 4.2 works fine:
-> ./MAKEALL jadecpu tx25 Configuring for jadecpu board... text data bss dec hex filename 197763 19360 266416 483539 760d3 ./u-boot Configuring for tx25 board... text data bss dec hex filename 158718 8668 37120 204506 31eda ./u-boot
--------------------- SUMMARY ---------------------------- Boards compiled: 2 ----------------------------------------------------------
Best regards,
Wolfgang Denk
participants (3)
-
Albert ARIBAUD
-
Matthias Weißer
-
Wolfgang Denk