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 :
Quoted 6 lines
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_TEXTRELin object.
Hmm... Which toolchain do you use?
Amicalement,
Signature · 1 line
Albert.
Am 20.10.2010 09:44, schrieb Albert ARIBAUD:
Quoted 9 lines
Le 20/10/2010 09:22, Matthias Wei?er a ?crit :
Quoted 6 lines
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_TEXTRELin 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
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=,
Quoted 5 lines · In message <[email protected]> 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_TEXTRELin object.
Which exact tool chain is this?
Quoted 3 lines
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
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The world is no nursery. - Sigmund Freud
Le 20/10/2010 09:59, Matthias Wei?er a ?crit :
Quoted 31 lines
Am 20.10.2010 09:44, schrieb Albert ARIBAUD:
Quoted 9 lines
Le 20/10/2010 09:22, Matthias Wei?er a ?crit :
Quoted 6 lines
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_TEXTRELin 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)
Quoted 3 lines
Hope this helps.
Matthias
This is an ld, not gcc, issue. What does arm-unknown-eabi-ld -V produce?
Amicalement,
Signature · 1 line
Albert.
Am 20.10.2010 22:38, schrieb Albert ARIBAUD:
Quoted 1 line
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:
armelfThanks for your time
Matthias
Le 21/10/2010 08:03, Matthias Wei?er a ?crit :
Quoted 10 lines
Am 20.10.2010 22:38, schrieb Albert ARIBAUD:
Quoted 1 line
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: armelfThanks 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,
Signature · 1 line
Albert.