Bug 2623 - buildroot-snapshot-20100922 fails when compiling development packages to target
Summary: buildroot-snapshot-20100922 fails when compiling development packages to target
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 10:19 UTC by Tamas Selmeci
Modified: 2011-02-02 15:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
buildroot-20100922 config file (15.04 KB, application/octet-stream)
2010-09-22 10:19 UTC, Tamas Selmeci
Details

Note You need to log in before you can comment on or make changes to this bug.
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.