Commit Graph

227 Commits (43196813d775921d16cc238fe805e438a24c529f)

Author SHA1 Message Date
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
Felix Fietkau 3bea3bc8b1 uClibc 0.9.30*: add a separate config file for brcm-2.4, since linux 2.4 module loading support is optional in this version
SVN-Revision: 15644
2009-05-06 22:12:02 +00:00
Felix Fietkau 141925202e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
2009-05-04 18:41:08 +00:00
Felix Fietkau c633a16d80 uclibc 0.9.30: fix isnan declaration
SVN-Revision: 15589
2009-05-04 15:15:22 +00:00
Felix Fietkau db8f5e9c5e uclibc 0.9.29: fix isinf, finite prototypes
SVN-Revision: 15588
2009-05-04 15:15:17 +00:00
Florian Fainelli 9f627dbf6e building uml on x86_64 w/ uClibc 0.9.29 is currently broken, select 0.9.30.1 which is working
SVN-Revision: 15450
2009-04-27 15:52:01 +00:00
Nicolas Thill 222f37cbde uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later)
SVN-Revision: 15368
2009-04-24 02:07:24 +00:00
Nicolas Thill 2783110a97 uClibc NPTL: remove the pthread daemon() fix and revert r15343
SVN-Revision: 15367
2009-04-24 01:28:48 +00:00
Felix Fietkau 632f50b891 uclibc: add the pthread daemon() fix from #4809
SVN-Revision: 15344
2009-04-23 02:53:03 +00:00
Felix Fietkau 0d00b1cb59 uclibc: remove the sockets_throw patch from 0.9.30, as it does not apply to 0.9.30.1
SVN-Revision: 15343
2009-04-23 02:52:50 +00:00
Felix Fietkau 56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
Felix Fietkau 229035bad0 mark uclibc nptl and snapshot as broken
SVN-Revision: 15179
2009-04-09 20:01:28 +00:00
Felix Fietkau d0e357e729 fix uclibc subdir
SVN-Revision: 15010
2009-03-24 02:40:29 +00:00
Felix Fietkau 02739c116f append the correct extraversion to the toolchain's info.mk for uclibc-nptl
SVN-Revision: 15008
2009-03-24 02:30:49 +00:00
Felix Fietkau fe601b3efd fix uclibc symlink for nptl
SVN-Revision: 15007
2009-03-24 02:19:59 +00:00
Felix Fietkau f914fcf49f add uclibc-nptl
SVN-Revision: 15006
2009-03-24 02:06:12 +00:00
Felix Fietkau 16fa4d486d remove obsolete comment
SVN-Revision: 15005
2009-03-24 01:38:31 +00:00
Felix Fietkau 5bd40b0870 clean up uClibc config handling - use kconfig.pl to split configs similar to how it's done in the kernel
SVN-Revision: 15004
2009-03-24 01:34:51 +00:00
Felix Fietkau 746544db79 fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
SVN-Revision: 15001
2009-03-23 21:23:46 +00:00
Felix Fietkau 566bdc37ad add uclibc 0.9.30.1
SVN-Revision: 15000
2009-03-23 21:04:30 +00:00
Felix Fietkau 03205ec740 clean up uclibc patch/config version handling a bit
SVN-Revision: 14994
2009-03-23 17:56:28 +00:00
Felix Fietkau ec6b3bf2be fix stampfile variables for the toolchain build (fixes gcc compile error)
SVN-Revision: 14862
2009-03-13 12:50:23 +00:00
Steven Barth e805b29fdd Upstream fix for syscall() not setting errno on errors on MIPS
SVN-Revision: 14689
2009-02-28 01:29:00 +00:00
Nicolas Thill 8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
2009-02-23 23:52:27 +00:00
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Hauke Mehrtens d0484c4cf6 uClibc: refresh patches for uClibc
SVN-Revision: 14588
2009-02-21 14:32:21 +00:00
Nicolas Thill 33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
2009-02-03 21:25:48 +00:00
Nicolas Thill 06f50d2116 fix uClibc fpu/soft-float selection
SVN-Revision: 14141
2009-01-21 22:56:26 +00:00
Nicolas Thill edef5abd24 fix uClibc v0.9.30 build on x86_64
SVN-Revision: 14138
2009-01-21 16:56:57 +00:00
Nicolas Thill 591563a80a enable UCLIBC_SUSV3_LEGACY in uClibc v0.9.30 configs to have <sys/timeb.h> & ftime (needed for openssl and maybe others), thanks to Puchu!
SVN-Revision: 14133
2009-01-21 14:34:31 +00:00
Florian Fainelli 63426c5715 add missing config symbol in x86_64 configuration
SVN-Revision: 14132
2009-01-21 14:32:29 +00:00
Nicolas Thill ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
2009-01-21 11:58:17 +00:00
Nicolas Thill a271aaa2db add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
SVN-Revision: 14130
2009-01-21 11:45:32 +00:00
Nicolas Thill 8db368850c we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
SVN-Revision: 14123
2009-01-20 22:25:42 +00:00
Felix Fietkau dc6d881733 uClibc: compile fix for the new linuxthreads implementation on mips
SVN-Revision: 14118
2009-01-20 14:47:53 +00:00
Nicolas Thill 291e71f792 backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
SVN-Revision: 14105
2009-01-19 14:53:45 +00:00
Nicolas Thill 96756d7641 fix linux headers & source paths at uClibc config stage
SVN-Revision: 14080
2009-01-17 22:22:41 +00:00
Felix Fietkau 07a1106c91 uclibc: fix the new libpthread implementation on arm
SVN-Revision: 14074
2009-01-17 19:21:56 +00:00
Felix Fietkau 818e6e847c add uclibc eabi patches from #3988
SVN-Revision: 14073
2009-01-17 19:20:32 +00:00
Felix Fietkau 0faef985b7 work around problems with the libpthread onexit() handler
SVN-Revision: 14032
2009-01-14 00:52:51 +00:00
Felix Fietkau 0392f46b43 fix the new libpthread implementation - the function table init was broken
SVN-Revision: 14027
2009-01-13 20:44:29 +00:00
Felix Fietkau cb41a3aa45 do not strip uclibc
SVN-Revision: 14019
2009-01-13 03:21:39 +00:00
Felix Fietkau 25aba0e356 use the new linuxthreads implementation on i386,i686
SVN-Revision: 14016
2009-01-13 02:15:52 +00:00
Felix Fietkau ff55a79717 uclibc: add the trunc function
SVN-Revision: 14014
2009-01-13 02:15:31 +00:00
Felix Fietkau 087a2bc16c uclibc: add some libpthread fixes
SVN-Revision: 14013
2009-01-13 02:15:14 +00:00
Nicolas Thill a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Imre Kaloz 8c3a967fae general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 13876
2009-01-05 14:46:18 +00:00
Jo-Philipp Wich 5649ff4093 enable netlink support
SVN-Revision: 13839
2009-01-03 17:28:58 +00:00