New: Allow use of older external toolchains without sysroot support
https://bugs.busybox.net/show_bug.cgi?id=1315
Summary: Allow use of older external toolchains without sysroot
support
Product: buildroot
Version: 2010.02
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: cls at seawood.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I'm using buildroot to create packages that are binary compatible with the default rootfs provides in my Patriot Corza NAS. As such, I'm unable to upgrade to a newer toolchain that supports --sysroot.
The attached patch updates package/Makefile.in, ext-tool.mk and various package .mks to allow buildroot to be built with an external toolchain that does not use --sysroot (gcc-3.4.6, in my case). The use of --sysroot is now controlled by the BR2_TOOLCHAIN_EXTERNAL_SYSROOT option.
Most of the other changes just involve passing TARGET_CONFIGURE_ENV to the configure or make calls for each package.
There's also a change to override the broken getline detection in sed when using an external glibc toolchain.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
https://bugs.busybox.net/show_bug.cgi?id=1315
--- Comment #1 from Chris Seawood <[email protected]> 2010-03-16 04:39:44 UTC --- Created an attachment (id=1291)
--> (https://bugs.busybox.net/attachment.cgi?id=1291)
v1.0
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1315
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc.|thomas.petazzoni at free-
|org |electrons.com
--- Comment #2 from Thomas Petazzoni <[email protected]> 2010-03-16 07:42:50 UTC --- Thanks for this patch.
In the past, we tried to handle toolchains not supporting --sysroot, but that proved to be very difficult with packages such as the Gtk stack or Qt. See for example the thread at
http://lists.busybox.net/pipermail/buildroot/2008-November/023870.html or
http://lists.busybox.net/pipermail/buildroot/2008-December/024147.html.
Does your patch works when compiling Qt, for example ?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1315
--- Comment #3 from Chris Seawood <[email protected]> 2010-03-16 18:05:26 UTC --- I have not systematically tested every package in the tree. I only tested the ones needed for the Corza packages. However, I just tried Qt and it built fine.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1315
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.05
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1315
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |enhancement
--- Comment #4 from Thomas Petazzoni <[email protected]> --- This is more an enhancement request than a real bug.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 1315] Allow use of older external toolchains without sysroot support
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1315
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX--- Comment #5 from Thomas Petazzoni <[email protected]> 2012-07-20 08:22:54 UTC --- Two years later, sysroot capable toolchains are much more common, and we
definitely don't want to add the complexity to add non-sysrooted toolchains
into Buildroot.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.