Commit Graph

280 Commits (3d12aaad33787003e0a67a952343618bb7a3de01)

Author SHA1 Message Date
Felix Fietkau 9afeebbea7 toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 13:03:08 +00:00
Florian Fainelli 5793f27be6 [toolchain] uClibc: fix uClibc implementation of eventfd
uClibc declares eventfd() as taking two arguments but doesn't properly
pass the second argument to the kernel.

The problem is discussed at:
http://lists.uclibc.org/pipermail/uclibc/2012-May/046873.html

This patch is taken from uclibc 0.9.33 git, so will presumably
be integrated in any future releases.

Signed-off-by: Andy Leiserson <andy@leiserson.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:48 +00:00
Felix Fietkau f402383bf3 uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:09 +00:00
Felix Fietkau 87cb557dcb uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:05 +00:00
Felix Fietkau dfa9eeadb6 toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:23 +00:00
Felix Fietkau 488f47237e toolchain: keep the initial gcc around for later uclibc rebuilds
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
Felix Fietkau 676f124d95 uClibc: update to 0.9.33.2, fixes #4420
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:32 +00:00
Felix Fietkau cfb06903fc uClibc: remove 0.9.32, it is no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:28 +00:00
Florian Fainelli b4c56b4d5e [toolchain/uClibc] backport upstream fix for dst computation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 10:57:50 +00:00
Imre Kaloz 053f92de0c [toolchain/uClibc]: use uClibc 0.9.33 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:15:29 +00:00
Gabor Juhos deeb515868 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 16:07:33 +00:00
Gabor Juhos 338ef23a6c toolchain/uClibc: fix 0.9.33 build error on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 13:41:53 +00:00
Imre Kaloz 52d118e8be [toolchain/uClibc]: add 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:45:44 +00:00
Imre Kaloz 48b84f5b2a [toolchain/uClibc]: nuke a 2.4 skeleton
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 11:11:32 +00:00
Jo-Philipp Wich 2470702e46 [toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich a13cb527c9 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
Florian Fainelli 0353cc96d8 [toolchain] uclibc: backport upstream signalfd patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-25 15:59:21 +00:00
Jonas Gorski a93d6d6ffc toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 23:32:44 +00:00
Felix Fietkau 9909b62a8c uClibc: backport an x86 compile fix from mainline (thx, swalker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 18:26:02 +00:00
Felix Fietkau a648edde9f uClibc: update to latest 0.9.32.1 git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 13:38:58 +00:00
Felix Fietkau 4aa7a9d82e uClibc: fix messed up patch headers in fts patch (patch from #9671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 07:14:23 +00:00
Florian Fainelli d91a77e465 [toolchain] uclibc: backport FTS support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:57 +00:00
Felix Fietkau 0b4c80a1c4 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 14:22:55 +00:00
Jo-Philipp Wich 0fcd03962b [toolchain] uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 21:54:14 +00:00
Mirko Vogt 76522ed2a8 [toolchain/uclibc] use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 15:53:15 +00:00
Felix Fietkau 84728b6931 uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:35 +00:00
Felix Fietkau 35ba293e9b uClibc: fix issues with libpthread vs libc link order on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:26 +00:00
Felix Fietkau 6890d38166 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:46:58 +00:00
Felix Fietkau 9973a6d45c uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 22:38:48 +00:00
Imre Kaloz c5b1e5ded2 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
Felix Fietkau cdabc8deda uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:41:02 +00:00
Imre Kaloz 2e58abb57d [toolchain/uClibc]: upgrade to latest git, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 12:56:20 +00:00
Felix Fietkau b71c26a5b1 uClibc: remove 0.9.30, 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 01:29:13 +00:00
Felix Fietkau 263fe71965 uclibc: disable COMPAT_ATEXIT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:08 +00:00
Imre Kaloz cb1eec5ea0 [toolchain/uClibc]: upgrade to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 12:32:01 +00:00
Felix Fietkau ff1a0f6304 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 03:26:10 +00:00
Felix Fietkau d088b06f90 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:45:59 +00:00
Imre Kaloz b030f3e1e0 [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:19:28 +00:00
Imre Kaloz 9649a998eb [toolchain/uClibc]: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:07:28 +00:00
Felix Fietkau 57fd328159 uClibc: use the arch specific thread stack size for nptl if the size returned by getrlimits exceeds it - fixes threads on systems with only 16 MB RAM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich 7a6761e39a [toolchain] uClibc: remove references to $(CONFIG_LARGEFILE)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:04:08 +00:00
Felix Fietkau 788b1585d7 uClibc: fix version check for 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:41:53 +00:00
Felix Fietkau cf6f36abb4 uClibc: make 0.9.32-git default, it fixes lots of bugs compared to earlier versions (especially threading issues), and the known regressions have been fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:45 +00:00
Felix Fietkau c6e7c24a27 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:41 +00:00
Imre Kaloz f8b2d5faf4 [toolchain/uClibc]: LEON is SPARC v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:54:08 +00:00
Imre Kaloz 4cd86e8cb2 [toolchain/uClibc]: update to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 09:40:24 +00:00
Felix Fietkau 5cb2244f2b uClibc 0.9.32: fix libm compile for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:43 +00:00
Imre Kaloz 6a285bfb8c [toolchain/uClibc]: upgrade to latest git snapshot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:20:30 +00:00
Gabor Juhos 0d46434b60 cns21xx: add initial support for the Cavium CNS21xx SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 17:19:16 +00:00
Felix Fietkau 37e7a36f7d fix a compile error with uclibc 0.9.32 and newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:17 +00:00