Commit graph

274 commits

Author SHA1 Message Date
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
Florian Fainelli
96d804c54f optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
SVN-Revision: 17980
2009-10-07 13:05:14 +00:00
Nicolas Thill
fd6e548d42 uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
SVN-Revision: 17814
2009-10-02 00:18:16 +00:00
Florian Fainelli
9e1759bfe6 Do not save variables in hi or lo across system calls, fixes issues with gcc-4.4 (#5351)
SVN-Revision: 17742
2009-09-26 18:08:02 +00:00
Felix Fietkau
91fe363562 uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was not exported by default. use it instead of libc_pic.a
SVN-Revision: 17438
2009-08-29 11:56:27 +00:00
Florian Fainelli
ffa2d292fe more cygwin build fixes
SVN-Revision: 17401
2009-08-26 07:25:24 +00:00
Felix Fietkau
aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Gabor Juhos
c8d103a660 uClibc: fix build error on ARM targets (closes #5473)
SVN-Revision: 16735
2009-07-07 15:09:10 +00:00
Florian Fainelli
1e9cba3b82 add more gcc-4.4 patches from uclibc's mailing-list
SVN-Revision: 16720
2009-07-06 19:52:55 +00:00
Imre Kaloz
17276a575d add missing patch from the uclibc buildroot
SVN-Revision: 16541
2009-06-23 13:08:21 +00:00
Imre Kaloz
2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Gabor Juhos
da4435f2e1 uClibc-0.9.30.1: fix possible NULL pointer dereference (closes #5242)
SVN-Revision: 16304
2009-06-03 09:45:00 +00:00
Felix Fietkau
2f94a08df9 uClibc: bsd supports the same floating point classification functions as c99, fixes inetd
SVN-Revision: 16172
2009-05-29 10:32:17 +00:00
Felix Fietkau
1c57770f28 uClibc: add a wrapper for the missing finite() function
SVN-Revision: 16170
2009-05-29 09:25:51 +00:00
Hamish Guthrie
0c592ec7b3 Add the missing 5th arg to the ppoll syscall. Fixes the uclibc error that ppoll returns -EINVAL. Thanks to Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 16166
2009-05-29 07:40:29 +00:00
Felix Fietkau
23260054dc uClibc 0.9.30.1: fix extra/scripts/unifdef.c like in linux 2.6.28 - nptl does not need this fix, because the problem was fixed upstream already
SVN-Revision: 16140
2009-05-28 15:49:29 +00:00
Jo-Philipp Wich
00a0035fa8 enable UCLIBC_SUPPORT_AI_ADDRCONFIG in common uclibc 0.9.30.1 config, this will restore support for getifaddrs() and fix compilation of lldpd and possibly others
SVN-Revision: 16108
2009-05-27 13:28:33 +00:00
Imre Kaloz
cd649df858 make uclibc 0.9.30.1 the default
SVN-Revision: 16047
2009-05-25 11:17:01 +00:00
Felix Fietkau
cc7805ea27 upgrade uclibc-nptl to a recent version - seems to work on xscale with gcc 4.3.3
SVN-Revision: 16004
2009-05-22 23:59:23 +00:00
Imre Kaloz
f24a7c7a68 add preliminary support for the successor of the storm port
SVN-Revision: 15772
2009-05-11 18:27:33 +00:00
Jo-Philipp Wich
bc3538d2d2 Fix Image Builder building - added missing /bin dir to toolchain Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15681
2009-05-07 13:48:23 +00:00
Felix Fietkau
b3bb79cb72 uclibc 0.9.30.1: add c99 long double math fix from gentoo (thx, ralph) fixes compile error on powerpc
SVN-Revision: 15670
2009-05-07 13:20:47 +00:00