summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
Commit message (Collapse)AuthorAgeFilesLines
* sh: Fix Buildroot sh targets to match gnuconfig targetsPhil Edworthy2011-07-181-2/+2
| | | | | | | | | | | | | | sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported in Buildroot. This patch replaces these Buildroot targets with sh2 and sh2a respectively, and adds sh4a targets as these are widely used. To build for devices without an fpu, the relevant toolchain flags will have to be specified. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: fix 0.9.32 build on x86Peter Korsgaard2011-07-071-0/+43
| | | | | | Patch from uClibc git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecatedPeter Korsgaard2011-07-0410-1060/+1
| | | | | | | 0.9.29 doesn't seem to build anymore with the toolchain versions in BR and is very old, so remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: bump 0.9.32 version, use as defaultPeter Korsgaard2011-06-093-3/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: bump 0.9.31.x versionPeter Korsgaard2011-06-0912-37/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: remove AVR32 patches for 0.9.29Thomas Petazzoni2011-05-152-3577/+0
| | | | | | | | The 0.9.29 version of uClibc can no longer be selected on AVR32 since December 2009 (b642f7eefbf8c7f0111d74528390de31aaacf203). Therefore, those two patches are now completely useless. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uClibc: add linuxthreads/errno fix for snapshot versionGustavo Zacarias2011-05-021-0/+70
| | | | | | | | | | See uclibc #2089 for details. This is still not included upstream, but lets include it anyway as several people have been running into the issue. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3Peter Korsgaard2011-04-292-0/+168
| | | | | | | | | See uclibc #2089 for details. This is still not included upstream, but lets include it anyway as several people have been running into the issue. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: update uClibc snapshot config again to avoid build stallsGustavo Zacarias2011-04-271-0/+2
| | | | | | | | | | Update uClibc snapshot version config to avoid build stalls. This time we take care of the new UCLIBC_HAS_FTS and UCLIBC_HAS_BACKTRACE options. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add inotify_init1 syscall support to uclibc 0.9.31Gustavo Zacarias2011-04-261-0/+64
| | | | | | | | Add inotify_init1 system call support to uclibc 0.9.31. Required for modern versions of udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31Gustavo Zacarias2011-04-261-0/+43
| | | | | | | | Add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31. Required for modern versions of udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: update uClibc snapshot config to avoid build stallsGustavo Zacarias2011-04-261-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: bump 0.9.32-rc versionPeter Korsgaard2011-03-162-2/+4
| | | | | | To -rc3 and update defconfig to match. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: fix uclibc-menuconfig with ccache enabledPeter Korsgaard2011-02-251-0/+7
| | | | | | | If ccache is enabled, we need to ensure it is built for the host before anything else. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: add BSD endian conversions routines for 0.9.31Gustavo Zacarias2011-01-311-0/+64
| | | | | | | | | Add BSD endian conversion routines (backport from 0.9.32 / git). Required to use a modern udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2Peter Korsgaard2011-01-202-36/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: 0.9.32-rc1 netlinkaccess fixPeter Korsgaard2011-01-141-0/+34
| | | | | | From uClibc git, fixes build issue on powerpc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS optionGustavo Zacarias2010-12-291-5/+0
| | | | | | | | | It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: fix configs for 0.9.32 & snapshotGustavo Zacarias2010-12-292-16/+19
| | | | | | | | | * 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when program invocation name is enabled. * Mirror 0.9.32's config to snapshot for consistency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: move tools to host dirGustavo Zacarias2010-12-281-6/+6
| | | | | | | | Move uclibc host tools (ldd/ldconfig) to host dir. They were previously installed in the staging dir. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: add 0.9.32-rc1Peter Korsgaard2010-12-272-0/+268
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: move Stack Protection Support optionThomas Petazzoni2010-12-131-1/+1
| | | | | | | | | | The BR2_USE_SSP option is only used inside the uClibc build, so only meaningful for Buildroot internal toolchains. Therefore, the option is moved to the right location so that it isn't visible when working with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: snapshot config fix, yet another stalling pointGustavo Zacarias2010-11-291-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc 0.9.31: add sparc long double gcc intrinsics supportKonrad Eisele2010-11-251-0/+7393
| | | | | | | Copy of the glibc quadfloat intrinsics that gcc generates. Signed-off-by: Konrad Eisele <konrad@gaisler.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: sys/ptrace.h fix for 0.9.31 / powerpc so ltrace buildsPeter Korsgaard2010-11-221-0/+62
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update uclibc snapshot config to avoid build breakageGustavo Zacarias2010-11-181-4/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update uclibc snapshot config to avoid build stallGustavo Zacarias2010-11-041-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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>