Commit Graph

295 Commits

Author SHA1 Message Date
Florian Fainelli
76553002d9 uClibc: backport a fix for dlsym(RTLD_NEXT, ...) use
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34142
2012-11-11 16:10:50 +00:00
Felix Fietkau
291d24c3cc build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34122
2012-11-08 15:08:31 +00:00
Felix Fietkau
96f31bf6ae uClibc: backport support for assignment-allocation character %m in sscanf
SVN-Revision: 34001
2012-10-29 19:25:38 +00:00
Felix Fietkau
b5212d8ab3 toolchain: enable pthread debug support in uclibc
SVN-Revision: 33996
2012-10-29 19:25:16 +00:00
Felix Fietkau
c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
2012-10-17 13:03:08 +00:00
Florian Fainelli
b336c9904c 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>

SVN-Revision: 33478
2012-09-19 15:13:48 +00:00
Felix Fietkau
ab9f9e2383 uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
SVN-Revision: 32558
2012-06-30 21:44:09 +00:00
Felix Fietkau
c3caa1b768 uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
SVN-Revision: 32557
2012-06-30 21:44:05 +00:00
Felix Fietkau
e98810dced toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
SVN-Revision: 32555
2012-06-30 18:12:23 +00:00
Felix Fietkau
e74e4dbd29 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.

SVN-Revision: 32553
2012-06-30 18:12:15 +00:00
Felix Fietkau
3ea4b6ba91 uClibc: update to 0.9.33.2, fixes #4420
SVN-Revision: 31740
2012-05-15 13:42:32 +00:00
Felix Fietkau
d98c2d542c uClibc: remove 0.9.32, it is no longer necessary
SVN-Revision: 31739
2012-05-15 13:42:28 +00:00
Florian Fainelli
3271b347fc backport upstream fix for dst computation
SVN-Revision: 31073
2012-03-26 10:57:50 +00:00
Imre Kaloz
86296a0cb6 use uClibc 0.9.33 by default
SVN-Revision: 30468
2012-02-12 09:15:29 +00:00
Gabor Juhos
d82daa2728 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
SVN-Revision: 30398
2012-02-09 16:07:33 +00:00
Gabor Juhos
fa11e6e0d6 toolchain/uClibc: fix 0.9.33 build error on MIPS
SVN-Revision: 30394
2012-02-09 13:41:53 +00:00
Imre Kaloz
9bf867b531 add 0.9.33
SVN-Revision: 30374
2012-02-08 15:45:44 +00:00
Imre Kaloz
6347b09289 nuke a 2.4 skeleton
SVN-Revision: 30372
2012-02-08 11:11:32 +00:00
Jo-Philipp Wich
5b14d8bc0b disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
SVN-Revision: 29646
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich
d22adb1b06 if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
2012-01-01 15:11:11 +00:00
Florian Fainelli
fe3694aa0d uclibc: backport upstream signalfd patch
SVN-Revision: 28087
2011-08-25 15:59:21 +00:00
Jonas Gorski
5defa7f08d 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.

SVN-Revision: 27882
2011-08-02 23:32:44 +00:00
Felix Fietkau
b857433bcb uClibc: backport an x86 compile fix from mainline (thx, swalker)
SVN-Revision: 27773
2011-07-25 18:26:02 +00:00
Felix Fietkau
816f76457c uClibc: update to latest 0.9.32.1 git
SVN-Revision: 27772
2011-07-25 13:38:58 +00:00
Felix Fietkau
ddc6fd10de uClibc: fix messed up patch headers in fts patch (patch from #9671)
SVN-Revision: 27555
2011-07-08 07:14:23 +00:00
Florian Fainelli
3bdc9093b3 uclibc: backport FTS support
SVN-Revision: 27513
2011-07-07 09:42:57 +00:00
Felix Fietkau
92726d8f32 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
SVN-Revision: 27289
2011-06-26 14:22:55 +00:00
Jo-Philipp Wich
6894dfb0fb uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
SVN-Revision: 27131
2011-06-07 21:54:14 +00:00
Mirko Vogt
2629de3ef2 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

SVN-Revision: 27001
2011-05-24 15:53:15 +00:00
Felix Fietkau
a621c3c24a uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
SVN-Revision: 26703
2011-04-17 17:38:35 +00:00
Felix Fietkau
082ab53ed1 uClibc: fix issues with libpthread vs libc link order on mips
SVN-Revision: 26702
2011-04-17 17:38:26 +00:00
Felix Fietkau
3ae4dec6b2 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
SVN-Revision: 26547
2011-04-09 15:46:58 +00:00
Felix Fietkau
bc8728d9ce uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
SVN-Revision: 25944
2011-03-07 22:38:48 +00:00
Imre Kaloz
b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Felix Fietkau
783e064632 uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
SVN-Revision: 25803
2011-03-01 05:41:02 +00:00
Imre Kaloz
ae885a3978 upgrade to latest git, refresh patches
SVN-Revision: 25698
2011-02-24 12:56:20 +00:00
Felix Fietkau
72ca180fd7 uClibc: remove 0.9.30, 0.9.31
SVN-Revision: 25542
2011-02-15 01:29:13 +00:00
Felix Fietkau
383d17913f uclibc: disable COMPAT_ATEXIT
SVN-Revision: 25517
2011-02-13 14:18:08 +00:00
Imre Kaloz
b0a9a4d66c upgrade to latest git
SVN-Revision: 25516
2011-02-13 12:32:01 +00:00
Felix Fietkau
c672eeffc9 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
2011-02-13 03:26:10 +00:00
Felix Fietkau
e6a0ebc989 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
SVN-Revision: 25504
2011-02-13 01:45:59 +00:00
Imre Kaloz
247e919223 autodetect ARM variant/ABI setup based on the compiler settings
SVN-Revision: 25328
2011-02-02 20:19:28 +00:00
Imre Kaloz
fa5259d442 update to latest git version
SVN-Revision: 25327
2011-02-02 20:07:28 +00:00
Felix Fietkau
4e6bca2d05 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
SVN-Revision: 25223
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich
ab217388a9 uClibc: remove references to $(CONFIG_LARGEFILE)
SVN-Revision: 25209
2011-01-28 17:04:08 +00:00
Felix Fietkau
2e6f6843a6 uClibc: fix version check for 0.9.32
SVN-Revision: 25189
2011-01-28 02:41:53 +00:00
Felix Fietkau
b514156559 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
SVN-Revision: 25187
2011-01-28 01:10:45 +00:00
Felix Fietkau
b00758f178 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
SVN-Revision: 25186
2011-01-28 01:10:41 +00:00
Imre Kaloz
74da93780b LEON is SPARC v8
SVN-Revision: 25141
2011-01-27 12:54:08 +00:00
Imre Kaloz
1d02e78a6f update to latest git
SVN-Revision: 25082
2011-01-24 09:40:24 +00:00
Felix Fietkau
7c74f58779 uClibc 0.9.32: fix libm compile for powerpc
SVN-Revision: 25013
2011-01-16 01:24:43 +00:00
Imre Kaloz
5428a58287 upgrade to latest git snapshot
SVN-Revision: 24889
2011-01-03 14:20:30 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Felix Fietkau
010b64f251 fix a compile error with uclibc 0.9.32 and newer kernels
SVN-Revision: 24735
2010-12-20 14:25:17 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Alexandros C. Couloumbis
b083d00b8b toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
SVN-Revision: 24396
2010-12-09 18:31:13 +00:00
Imre Kaloz
044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
2010-12-05 11:38:59 +00:00
Alexandros C. Couloumbis
581378f5cb toolchain/uClibc: sync to latest uClibc-0.9.32
SVN-Revision: 24229
2010-12-03 16:36:37 +00:00
Alexandros C. Couloumbis
ec7e1cee0b toolchain/uClibc: push an upstream fix
SVN-Revision: 24228
2010-12-03 14:46:09 +00:00
Felix Fietkau
f21c0cacf8 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
SVN-Revision: 24120
2010-11-24 00:30:26 +00:00
Felix Fietkau
1a0a584ea6 uClibc: fix ubicom32 compile error with 0.9.32
SVN-Revision: 24101
2010-11-22 17:50:08 +00:00
Felix Fietkau
c0915e5983 uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
2010-11-22 17:50:01 +00:00
Felix Fietkau
ff46ed446d uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
SVN-Revision: 24099
2010-11-22 17:49:51 +00:00
Felix Fietkau
bfe53cdbbe uClibc: fix cris compile on 0.9.32
SVN-Revision: 24094
2010-11-22 16:18:43 +00:00
Felix Fietkau
9494ddd30f uClibc: fix compile error on avr32
SVN-Revision: 24093
2010-11-22 15:14:16 +00:00
Felix Fietkau
df5509a30e uClibc: disable nptl on a few targets where it is not supported yet
SVN-Revision: 24092
2010-11-22 14:50:33 +00:00
Felix Fietkau
0fed0806df uClibc: 0.9.32 needs the ldso fix as well
SVN-Revision: 24074
2010-11-22 01:48:29 +00:00
Felix Fietkau
05e837fb6d uClibc: update 0.9.32 to latest git
SVN-Revision: 24073
2010-11-22 00:44:37 +00:00
Alexandros C. Couloumbis
74d8aaa314 toolchain/uClibc: fix upstream patch name on r24029
SVN-Revision: 24030
2010-11-18 15:01:30 +00:00
Alexandros C. Couloumbis
eb45bb90d4 toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
SVN-Revision: 24029
2010-11-18 14:58:37 +00:00
Jo-Philipp Wich
7972cc4a7f uClibc: fix errno access in pthreads (#8166, #8177) Reading errno within pthreads always resulted in 0 breaking various programs like transmission and collectd. This patch is not 100% thread safe but it brings back threading into a usable state for now.
SVN-Revision: 23905
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich
12b122f31f ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off of the beginning of the absolute path to the ld.so interpreter in use for printing. The _dl_strlen will crash with a NULL argument.
Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.

glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.

Signed-off-by: Mark Mentovai <mark at moxienet.com>

SVN-Revision: 23892
2010-11-05 21:38:38 +00:00
Imre Kaloz
4cdf723097 switch to uClibc 0.9.31
SVN-Revision: 23781
2010-11-02 13:57:57 +00:00
Imre Kaloz
9611a0f606 remove support for uClibc 0.9.30.2 and 0.9.30.3
SVN-Revision: 23779
2010-11-02 12:56:58 +00:00
Michael Büsch
cf323eb924 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau
62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Mirko Vogt
3cf86bb692 nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using)
SVN-Revision: 22511
2010-08-06 12:42:04 +00:00
Imre Kaloz
a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Imre Kaloz
e4ad93f5f8 the storm target is gone for a long time now
SVN-Revision: 22311
2010-07-20 11:11:22 +00:00
Mirko Vogt
aa85835ef2 patch went upstream, so bump git version and remove patch locally
SVN-Revision: 21881
2010-06-22 19:24:06 +00:00
Mirko Vogt
9d0f9d3758 add support for uClibc version 0.9.32 based on git rev a7642511b08b0b8a4012bab67cb8aa554992df6b, this includes support for nptl which got merged into the uClibc master branch recently
SVN-Revision: 21856
2010-06-20 22:18:43 +00:00
Florian Fainelli
8e26889bb8 add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
SVN-Revision: 21504
2010-05-19 09:05:10 +00:00
Gabor Juhos
a8e20318c5 toolchain/uClubc-0.9.31: fix syscalls on MIPS
SVN-Revision: 20882
2010-04-15 19:28:10 +00:00
Nicolas Thill
349439d7ea toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
SVN-Revision: 20873
2010-04-15 05:59:10 +00:00
Gabor Juhos
af1fb0bdd1 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
SVN-Revision: 20384
2010-03-23 08:12:24 +00:00
Florian Fainelli
e6ec1ce8cf add support for uClibc 0.9.30.3
SVN-Revision: 20181
2010-03-13 17:22:18 +00:00
Nicolas Thill
4437156961 uClibc: enhance debug support (closes: #6118)
SVN-Revision: 20031
2010-03-07 15:10:57 +00:00
Nicolas Thill
4c63458e63 uClibc: revert to old linuxthreads implementation on x86 (like all others arches)
SVN-Revision: 20030
2010-03-07 15:06:22 +00:00
Imre Kaloz
d2bf3771ed upgrade and fixup support for the uclibc nptl branch
SVN-Revision: 19871
2010-02-26 11:03:59 +00:00
Jo-Philipp Wich
24b495c619 add menuconfig item to enable uClibc debug builds
SVN-Revision: 19860
2010-02-25 19:27:54 +00:00
Imre Kaloz
a49f5f7376 fix varargs handling of the prctl syscall
SVN-Revision: 19740
2010-02-19 09:58:52 +00:00
Florian Fainelli
aa0e08a565 fix uclibc for mips by adding missing upstream hunks
SVN-Revision: 19272
2010-01-22 10:55:03 +00:00
Florian Fainelli
1ebff51904 add support for uClibc 0.9.30.2
SVN-Revision: 19125
2010-01-14 12:27:46 +00:00
Felix Fietkau
27e1c7f091 uClibc: implement copysignl in libc on powerpc to avoid undefined references in libstdc++
SVN-Revision: 18178
2009-10-27 01:11:40 +00:00
Felix Fietkau
cb3495fac5 fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
SVN-Revision: 18090
2009-10-20 07:26:34 +00:00
Felix Fietkau
161792d02c remove support for uclibc 0.9.29
SVN-Revision: 18078
2009-10-19 18:25:25 +00:00
Felix Fietkau
de6c0303ee uClibc: add support for mips non-pic relocations in ldso
SVN-Revision: 18069
2009-10-19 07:41:29 +00:00
Felix Fietkau
215ccb66e6 gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
SVN-Revision: 18019
2009-10-10 19:25:48 +00:00
Felix Fietkau
e0645618a3 uClibc: add copysign, copysignf, copysignl for i386
SVN-Revision: 18017
2009-10-10 19:25:18 +00:00
Felix Fietkau
0e43efeae7 uClibc: fix strrchr on i386
SVN-Revision: 18016
2009-10-10 19:25:05 +00:00