Bug 2623

Summary: buildroot-snapshot-20100922 fails when compiling development packages to target
Product: buildroot Reporter: Tamas Selmeci <tselmeci>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: buildroot-20100922 config file

Description Tamas Selmeci 2010-09-22 10:19:37 UTC
Created attachment 2527 [details]
buildroot-20100922 config file

I'm using the latest snapshot of buildroot (buildroot-20100922) on Arch Linux. Target is an ARM (Xscale) machine, what I need is only the toolchain. Toolchain is generated without any problem.

I'd need a native toolchain on the ARM machine, which runs on ARM and creates output for the ARM machine. Buildroot seems to support this. These are switched on under "Package Selection for the Target --> Development tools":
-  native toolchain in the target filesystem;
- gmp;
- gmp headers;
- make;
- mpfr;
- mpfr headers;
- libtool;

See the attached file for the exact buildroot configuration I've been using.

Buildroot stops compiling native toolchain with the following error:

-------------------------------------------------------------
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for recent GMP... yes
checking for gmp internal files... no
checking for working alloca.h... yes
checking for alloca... yes
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
Please read the INSTALL file -- see "In case of problem".
make[1]: *** [/home/tselmeci/repos/uah/uah.169/trunk/packages/buildroot/buildroot-20100922-tools/output/build/mpfr-2.4.1/.configured] Error 1
make[1]: Leaving directory `/home/tselmeci/repos/uah/uah.169/trunk/packages/buildroot/buildroot-20100922-tools'
make: *** [.DEFAULT] Error 2
-------------------------------------------------------------

I made several attempts with buildroot-2010.08, buildroot-2010.05 and with this daily snapshot, but regardless of gcc selection, EABI/OABI, it always failed.

Please have a look at the problem, thanks!
Comment 1 Gustavo Zacarias 2011-02-02 15:49:20 UTC
It's fixed in git with the toolchain rework.