summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
AgeCommit message (Collapse)Author
2010-09-30sed: get rid of host-sed variantPeter Korsgaard
And all the infrastructure surrounding it. A broken sed implementation is quite rare nowadays, as seen by the fact that the current host-sed support has been broken for a while, so just get rid of it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29uClibc: fix ppc e500 handlingStanislav Bogatyrev
Closes #2449 Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-11Make uClibc gen_wc8bit shows an error when no locale support availableThomas Petazzoni
When no UTF-8 locale is available on the host system, uClibc can't generate some stuff it needs to compile a C library with locale support. Unfortunately, as gen_wc8bit message is shown on stdout and the stdout of gen_wc8bit is redirected to a file, the user don't see anything, as reported at http://lists.busybox.net/pipermail/buildroot/2010-May/034177.html. Those two patches fix the problem for uClibc 0.9.31 and 0.9.30.3. It has been submitted upstream: http://lists.uclibc.org/pipermail/uclibc/2010-August/044256.html Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-29uClibc: remove old 0.9.28 supportPeter Korsgaard
Not supported upstream and needs complicated workaround for the NPTL stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29Add support for uclibc NPTL toolchain.Khem Raj
This patch modifies current toolchain build sequence so that NPTL enabled toolchain can be built. The new sequence works well with linuxthreads as well. It introduces a new pass for gcc cross compilation. The new sequence is binutils->gcc-initial->linux-headers -> uclibc-configured (some cheats to generate phony shared libc.so and libm.o) -> gcc-intermediate(with shared lib support) -> uclibc -> gcc-final I also added a new sample config arm_nptl_toolchain_defconfig which builds the toolchain and busybox. I have only tried it on arm. However it should work for other architectures which support NPTL on uclibc e.g. mips, sh, x86, ppc, x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-08Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-07-07GETPT support is needed by rxvt.Darius Augulis
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
2010-07-06uClibc: workaround 0.9.31 / GCC PR32219 issue with static linkingPeter Korsgaard
Closes #2143 Fixes crash on static linking without stdio / x86. Both patches are from upstream uClibc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06uclibc: add patch to fix fcntl64() on 64 bits targetsThomas Petazzoni
The patch is already in upstream uClibc, in the master branch, at http://git.buildroot.net/uClibc/commit/?id=6f1daaaf2d94c1e6184add44eda38b0781b88cf0. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED optionPeter Korsgaard
Needed by xfsprogs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-27uClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTSPeter Korsgaard
Works around issues with non-fPIC libraries. Reported-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02uclibc: make sure the default configuration doesn't ask questionsThomas Petazzoni
Since new configuration options have been added in 0.9.31, the value of these configuration options should be determined, either by the default configuration file we provide, or by uclibc.mk process. The locale generation process should probably be improved in order to allow building other locales than just en_US. [Peter: fixup locale handling, add PROGRAM__NAME to defconfig] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02uClibc: add UCLIBC_HAS_NFTW to default configurationThomas Petazzoni
UCLIBC_HAS_NFTW is a new knob in 0.9.31, which allows the obsolete and deprecated ftw() to be compiled-out separatly from nftw(), which is part of POSIX. nftw() should probably be enabled by default in uClibc, and a bug has been opened about this on uClibc bug tracker (https://bugs.busybox.net/show_bug.cgi?id=1597). nftw() is, for example, used in Gtk+. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19Enable libutil by default for uclibc 0.9.31Kelvin Cheung
Closes #1591 Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-18uclibc: Enable libresolv and libnsl stubs by default for 0.9.31Gustavo Zacarias
Closes #1555. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-12Get rid of all usages of BR2_RECENTThomas Petazzoni
Since BR2_RECENT was enabled by default, we do not want entries marked BR2_RECENT (and thus appearing by default in Buildroot) to disappear. Therefore, all the entries marked BR2_RECENT are converted as non-deprecated. We can later decide, on a per-entry basis, to add BR2_DEPRECATED to some of them. But at least, this commit doesn't change the default current behaviour of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11Remove BR2_ENABLE_LOCALE_PREGENERATEDThomas Petazzoni
The option is marked broken since october 2009, and even the uClibc configuration help text says that using pregenerated locales is highly discouraged. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-08Enable e300c2, e300c3 and e500mc powerpc optimizationsGustavo Zacarias
Closes #1513 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-06uClibc: 0.9.31 dnslookup use after free fixPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05uclibc: don't install libs to target if BR2_PREFER_STATIC_LIBPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05toolchain: add uClibc 0.9.31, mark 0.9.30.x as recentPeter Korsgaard
Enable susv3/susv4 legacy support for now, as a lot of packages (E.G. busybox) breaks with the stricter interpretation in 0.9.31. Also slightly tweak uclibc.mk as the "new" linuxthreads symbol changed. Test built on x86/x86-64/ppc/arm/mips. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03uclibc: Fix for improper copying of kernel headersWill Wagner
Closes #1219 Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30get rid of broken nios2 supportPeter Korsgaard
Has been marked as broken for more than 1 year, with no indication that anyone cares, and it needs a bunch of special handling. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.xPeter Korsgaard
As the 0.9.30.x stable releases only contain bugfixes, there isn't much sense in using the older 0.9.30.x releases instead of .3, so use a single 0.9.30.x config similar to how we do it for the kernel headers. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-22toolchain/uClibc: additional 0.9.30.2 patchesPeter Korsgaard
Everything on the 0_9_30 branch since the release (0.9.30.3 to be) Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-13Add patch to fix uClibc build failure with locale enabledThomas Petazzoni
This patch fixes the undefined reference to `__iconv_codesets' reported at http://www.mail-archive.com/uclibc@uclibc.org/msg04970.html. The patch has been taken from the upstream Git repository, and will be part of uClibc 0.9.30.3. In the mean time, let's integrate it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-15toolchain: add uclibc 0.9.30.2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15uclibc: get rid of avr32 special version since upstream worksThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15toolchain/uClibc: avr32 patch should apply to 0.9.30.1Peter Korsgaard
avr32 uses 0.9.30.1, not 0.9.30. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15uclibc: add prctl syscall fix for AVR32 architectureHans-Christian Egtvedt
This patch fixes the prctl syscall for the AVR32 architecture, since this architecture assumes you handle varargs in a proper way, always. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if ↵Peter Korsgaard
available Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14uclibc: remove external sources patchesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCEThomas Petazzoni
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: do not allow selection of non-avr32 versions on AVR32Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14uclibc: add avr32 special versionThomas Petazzoni
* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in * Add a patch for 0.9.20-avr32-2.1.5 * Select a different UCLIBC_SITE for avr32 versions in uclibc.mk * Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-11-17toolchain/uClibc: install ldd to targetPeter Korsgaard
Reported by Julien Boibessot <julien.boibessot@free.fr>. This somehow got disabled by cb815ae003d40cc971d (two years ago!). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09uclibc: add unifdef getline fix to avr32 variant as wellPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09*-menuconfig needs dirs to existBernhard Reutner-Fischer
In a pristine checkout the -menuconfig targets need their build dirs to exist. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth
To reflect the new output directory hierachy rename the Makefile variable TOOL_BUILD_DIR to TOOLCHAIN_DIR. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-05toolchain: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-03uClibc as of 20090825 requires the ARCH to be specified when we call it's makeAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-31Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option, like BR2_INET_IPV6, BR2_INET_RPC, on which some packages depend. Therefore, it should be handled like BR2_INET_IPV6 and BR2_INET_RPC in order to work properly with external toolchains. Since we move it out of toolchain/uClibc/Config.in into toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION (since BR2_INET_RPC and others don't have UCLIBC in their name). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-27toolchain/uClibc: add patch to rename getline to get_line in unifdef.cPavel Roskin
getline() is a standard libc function with a different signature. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25toolchain/uclibc: xtensa patchesPeter Korsgaard
New files missing from 58050c28. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-24toolchain/uclibc: xtensa supportMaxim Grigoriev
Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-29toolchain/uClibc: 0.9.30.1 arm linuxthreads fixPeter Korsgaard
Reported by Michael Roth <mroth@nessie.de>. Identical to the 0.9.30 patch.
2009-04-24toolchain/uClibc: 0.9.30.1 getaddrinfo fix for intfs without addressPeter Korsgaard
From uClibc r24336.
2009-04-22toolchain: add BR2_USE_SSP option for stack protection supportPeter Korsgaard
Using the support in uClibc.