FS#20795 - [cross-arm-elf-binutils] with sysroot please
Attached to Project:
Community Packages
Opened by David '-1' Schmid (gdkags) - Thursday, 09 September 2010, 21:09 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 December 2010, 16:27 GMT
Opened by David '-1' Schmid (gdkags) - Thursday, 09 September 2010, 21:09 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 December 2010, 16:27 GMT
|
Details
Please configure arm-elf-ld to use systemroots
Description: I tried compiling the recent chdk [1] with this toolchain (+ gcc-base). Problem is, when linking ld says: /usr/bin/arm-elf-ld: this linker was not configured to use sysroots When building binutils from abs with sysroot like gcc-base the following error occurs: /usr/bin/arm-elf-ld: skipping incompatible /usr/lib/gcc/arm-elf/4.5.0/thumb/libgcc.a when searching fot -lgcc /usr/bin/arm-elf-ld: skipping incompatible /usr/lib/gcc/arm-elf/4.5.0/libgcc.a when searching fot -lgcc /usr/bin/arm-elf-ld: cannot find -lgcc reproducing the bug/feature request(/point out the problem?): get chdk [2] and cross-arm-elf-gc-base (+ deps), go into main folder of subversion dir, make. OR rebuild arm-elf-binutils, then arm-elf-gcc-base from abs while adding the line: '--with-sysroot=/usr/$CHOST/arm-elf \' to the PKGBUILD of binutils to the ./configure parameters. [1] http://chdk.wikia.com/wiki/CHDK [2] svn co https://tools.assembla.com/svn/chdk/trunk chdk |
This task depends upon
Closed by Sergej Pupykin (sergej)
Tuesday, 21 December 2010, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: --with-sysroot=/usr/$CHOST/arm-elf added to cross-arm-elf-binutils
Tuesday, 21 December 2010, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: --with-sysroot=/usr/$CHOST/arm-elf added to cross-arm-elf-binutils
I am sorry for the choice of the summary/title of this feature request.
Should be: "cross-arm-elf-binutils - with sysroot please"