summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
Commit message (Collapse)AuthorAgeFilesLines
* sed: get rid of host-sed variantPeter Korsgaard2010-09-301-1/+1
| | | | | | | | 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>
* uClibc: fix ppc e500 handlingStanislav Bogatyrev2010-08-291-7/+1
| | | | | | | Closes #2449 Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make uClibc gen_wc8bit shows an error when no locale support availableThomas Petazzoni2010-08-112-0/+34
| | | | | | | | | | | | | | | 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>
* uClibc: remove old 0.9.28 supportPeter Korsgaard2010-07-295-7898/+1
| | | | | | Not supported upstream and needs complicated workaround for the NPTL stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for uclibc NPTL toolchain.Khem Raj2010-07-292-34/+97
| | | | | | | | | | | | | | | | | | | | 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>
* Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-07-082-2/+2
|\
| * GETPT support is needed by rxvt.Darius Augulis2010-07-072-2/+2
| | | | | | | | Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
* | uClibc: workaround 0.9.31 / GCC PR32219 issue with static linkingPeter Korsgaard2010-07-062-0/+97
|/ | | | | | | | | Closes #2143 Fixes crash on static linking without stdio / x86. Both patches are from upstream uClibc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: add patch to fix fcntl64() on 64 bits targetsThomas Petazzoni2010-07-061-0/+34
| | | | | | | | 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>
* uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED optionPeter Korsgaard2010-06-181-1/+1
| | | | | | Needed by xfsprogs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard2010-06-151-9/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: 0.9.31 defconfig: disable FORCE_SHAREABLE_TEXT_SEGMENTSPeter Korsgaard2010-05-271-1/+1
| | | | | | | Works around issues with non-fPIC libraries. Reported-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: make sure the default configuration doesn't ask questionsThomas Petazzoni2010-05-022-1/+4
| | | | | | | | | | | | | 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>
* uClibc: add UCLIBC_HAS_NFTW to default configurationThomas Petazzoni2010-05-021-1/+1
| | | | | | | | | | | | | | 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>
* Enable libutil by default for uclibc 0.9.31Kelvin Cheung2010-04-191-1/+1
| | | | | | | Closes #1591 Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: Enable libresolv and libnsl stubs by default for 0.9.31Gustavo Zacarias2010-04-181-2/+2
| | | | | | | | 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>
* Get rid of all usages of BR2_RECENTThomas Petazzoni2010-04-121-1/+0
| | | | | | | | | | | | 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>
* Remove BR2_ENABLE_LOCALE_PREGENERATEDThomas Petazzoni2010-04-111-20/+1
| | | | | | | | 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>
* Enable e300c2, e300c3 and e500mc powerpc optimizationsGustavo Zacarias2010-04-081-0/+6
| | | | | | | Closes #1513 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: 0.9.31 dnslookup use after free fixPeter Korsgaard2010-04-061-0/+36
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: don't install libs to target if BR2_PREFER_STATIC_LIBPeter Korsgaard2010-04-051-0/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add uClibc 0.9.31, mark 0.9.30.x as recentPeter Korsgaard2010-04-053-2/+268
| | | | | | | | | | 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>
* uclibc: Fix for improper copying of kernel headersWill Wagner2010-04-031-39/+0
| | | | | | | | 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>
* get rid of broken nios2 supportPeter Korsgaard2010-03-301-7/+0
| | | | | | | 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>
* toolchain: Add uClibc 0.9.30.3, remove older 0.9.30.xPeter Korsgaard2010-03-1234-2683/+2
| | | | | | | | 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>
* toolchain/uClibc: additional 0.9.30.2 patchesPeter Korsgaard2010-02-2213-0/+1062
| | | | | | Everything on the 0_9_30 branch since the release (0.9.30.3 to be) Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add patch to fix uClibc build failure with locale enabledThomas Petazzoni2010-02-131-0/+153
| | | | | | | | | | 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>
* toolchain: add uclibc 0.9.30.2Peter Korsgaard2010-01-151-2/+8
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: get rid of avr32 special version since upstream worksThomas Petazzoni2009-12-153-42/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain/uClibc: avr32 patch should apply to 0.9.30.1Peter Korsgaard2009-12-151-0/+0
| | | | | | avr32 uses 0.9.30.1, not 0.9.30. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: add prctl syscall fix for AVR32 architectureHans-Christian Egtvedt2009-12-151-0/+29
| | | | | | | | 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>
* toolchain/uClibc: 0.9.30.x config: enable arch specific string routines if ↵Peter Korsgaard2009-12-151-1/+1
| | | | | | available Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: remove external sources patchesThomas Petazzoni2009-12-146-119/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCEThomas Petazzoni2009-12-141-1/+1
| | | | | | The BR2_TOOLCHAIN_SOURCE option is removed in a future commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: remove support for external source toolchainsThomas Petazzoni2009-12-141-17/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: do not allow selection of non-avr32 versions on AVR32Thomas Petazzoni2009-12-141-4/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: add avr32 special versionThomas Petazzoni2009-12-143-3/+44
| | | | | | | | | | | | | * 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>
* toolchain/uClibc: install ldd to targetPeter Korsgaard2009-11-171-2/+1
| | | | | | | | 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>
* uclibc: add unifdef getline fix to avr32 variant as wellPeter Korsgaard2009-11-091-0/+29
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* *-menuconfig needs dirs to existBernhard Reutner-Fischer2009-10-091-1/+1
| | | | | | | | 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>
* rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth2009-09-231-18/+18
| | | | | | | | 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>
* toolchain: use qstripThomas Petazzoni2009-09-051-8/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uClibc as of 20090825 requires the ARCH to be specified when we call it's makeAustin Foxley2009-09-031-1/+10
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni2009-07-312-9/+1
| | | | | | | | | | | | | 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>
* toolchain/uClibc: add patch to rename getline to get_line in unifdef.cPavel Roskin2009-07-272-0/+58
| | | | | | | 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>
* toolchain/uclibc: xtensa patchesPeter Korsgaard2009-07-258-0/+345
| | | | | | | New files missing from 58050c28. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uclibc: xtensa supportMaxim Grigoriev2009-07-241-0/+1
| | | | | | | Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: 0.9.30.1 arm linuxthreads fixPeter Korsgaard2009-04-291-0/+177
| | | | Reported by Michael Roth <mroth@nessie.de>. Identical to the 0.9.30 patch.
* toolchain/uClibc: 0.9.30.1 getaddrinfo fix for intfs without addressPeter Korsgaard2009-04-241-0/+13
| | | | From uClibc r24336.
* toolchain: add BR2_USE_SSP option for stack protection supportPeter Korsgaard2009-04-223-6/+20
| | | | Using the support in uClibc.