Anonymous | Login | Signup for a new account | 11-10-2008 10:44 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000237 | [buildroot] New Features | feature | N/A | 04-26-05 02:08 | 02-12-07 05:42 | ||||
Reporter | shuhao_chang | View Status | public | ||||||
Assigned To | buildroot | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000237: using crosstool build glibc based toolchain to build userland program | ||||||||
Description |
buildroot builds uclibc-based toolchain and uses it to build userland programs. here is a patch to enable buildroot to use crosstool build glibc-based toolchain. you have to set correct crosstool toolchain location and prefix to use this feature. |
||||||||
Additional Information | |||||||||
Attached Files |
br2_crosstool.patch [^] (13,362 bytes) 04-26-05 02:08 br2-crosstool-build-20050618.patch [^] (10,963 bytes) 06-18-05 21:23 br2-crosstool-build-20050825.patch [^] (10,966 bytes) 08-25-05 19:58 br2-crosstool-build-20051008.patch [^] (5,112 bytes) 10-08-05 22:21 br2-crosstool-build-20051018.patch [^] (20,272 bytes) 10-18-05 05:19 br2-crosstool-build-20051229.patch [^] (33,542 bytes) 01-02-06 14:37 br2-crosstool-build-20070126.patch [^] (19,165 bytes) 01-30-07 10:28 |
||||||||
|
Notes | |
(0000248) sjhill 06-18-05 21:32 |
Uploaded a new and cleaned up patch allowing a crosstool glibc toolchains to compile a buildroot. It has been tested with glibc-based toolchains using GCC-3.4.2 and GCC-4.1.0 for MIPS. |
(0000434) sjhill 08-25-05 19:59 |
Uploaded an updated patch against latest buildroot to allow crosstool glibc toolchains to compile a buildroot. This patch fixes bugs related to duplicated 'sed' targets and fixes the 'fakeroot' build error. |
(0000615) sjhill 10-08-05 22:22 |
Uploaded new patch for buildroot compilation with external toolchain. Applies and works cleanly with 2005-10-08 checkout of buildroot. |
(0000634) chickenandporn 10-18-05 01:59 |
sjhill, your recent 20051008 is a "diff -cr" not a "diff -Ncr", so the toolchains/crosstool directory is missing. I wanted to add an alternative... y'see, you can build your own, or define the information for a crosstool-built one, or "wellknown" -- "Use a toolchain that is rather universally known"... an example would be the ARM Linux "toolchain-bin-MM-DD-YY.tar.bz2" that can be drawn from ftp://ftp.arm.linux.org.uk/ [^] ... just like downloading source files, I have a partially-working config that downloads a toolchain, knows where to unpack it, and sets the paths properly. Interested? I can submit a patch if you'll update *you* patch here to include toolchain/crosstool/{Config.in,glibc.mk} :) |
(0000635) chickenandporn 10-18-05 05:22 |
did a "diff -Ncr" because I cannot get svn to show added files (diff -N). Also, this patch is polluted with my "wellknown" mod I have been babying... changes in toolchain/wellknown, please consider if it breaks your world. Applies cleanly to revision 11883, today's (China time) top-of-tree |
(0000644) chickenandporn 10-27-05 13:43 |
revision 11932 (20051027) applies the 20051018 patch cleanly, FYI :) |
(0000839) thaddeus 01-02-06 14:39 |
Uploaded a new version of the patch I put together against SVN on 12/29/2005. It was only quickly tested against gcc 3.4.3 for x86. YMMV |
(0001374) bcook 05-22-06 19:35 |
Hmm, I just build a root filesystem using an armv5teb-xscale toolchain. Seems like my toolchain needs to be fixed up somehow, but I'm not sure which thing to fix. Anyway, the build executables got linked to use the path on my host system to search for libraries. In other words, I had to do: ln -sf /usr/lib/cross-tools/arv5teb-xscale/lib /lib in the resulting root filesystem to fix what looks like perhaps a gcc specs issue. Any idea how to retarget the cross-compiled stuff to /lib ? - Brent |
(0001376) bcook 05-23-06 14:57 |
Hmm, nevermind - my *link directive in the gcc specs was pointing to the wrong path for dynamic-linker. Fixed, and everything is peachy-keen! |
(0001994) bernhardf 01-19-07 08:00 |
Can you please respin that patch against current trunk? Thanks alot in advance. |
(0002075) mikewhit 01-30-07 10:27 |
Any chance of providing some docs on the use of this patch ? I have respun it on a recent buildroot, editing it to adapt to current files, but seem to be unable to use an external toolchain - 'make' complains that the toolchain directory cannot be created - that's because it already exists and is read-only !! Patch file follows as br2-crosstool-build-20070126.patch |
(0002146) bernhardf 02-09-07 07:04 |
The possibility to use an external toolchain was added as r17800. Log (including an email addr to contact for questions about it) is here: http://busybox.net/lists/buildroot/2007-February/001507.html [^] Thanks! |
Copyright © 2000 - 2006 Mantis Group |