This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

armhf error: Need linker with .init_array/.fini_array support


I'm seeing this error building the toolchain for armhf ---


[CFG  ]    checking whether to put _rtld_local into .sdata section... no
[CFG  ]    checking for .preinit_array/.init_array/.fini_array support... no
[ERROR]    configure: error: Need linker with .init_array/.fini_array support.
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'


I started with the arm-cortex_a8-linux-gnueabi base configuration and selected the appropriate versions to match the target system. I'm building with crosstool-ng-1.18.0 on Ubuntu 12.04.2 LTS (x86).  I tried selecting binutils versions 2.21-2.23 and they had the some problem. I also tried setting the linker to "ld, gold" and "gold, ld" and the error looked worse (it couldn't determine the ld version).

The .config and build.log are posted at
https://github.com/pchen-aff/crosstool-ng-armhf-debug/wiki/_pages

Note that the build.log was too large for the wiki page and was truncated. I put the bottom section of it in the page "build.log (end)"

Thanks the great work you guys have put into crosstool-ng.  Looking forward to your response :)

-Peace

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]