Commit Graph

175 Commits (814af8484ea438eaa7f72146f7ba51b0bf50751a)

Author SHA1 Message Date
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