Commit Graph

320 Commits (f3524e5d5c92d604f7a525870b2017a150d2160a)

Author SHA1 Message Date
Felix Fietkau fd1d71749b uClibc: fix compile error on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 15:14:16 +00:00
Felix Fietkau e125fcab4b uClibc: disable nptl on a few targets where it is not supported yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:50:33 +00:00
Felix Fietkau 2e00ec4e17 uClibc: 0.9.32 needs the ldso fix as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 01:48:29 +00:00
Felix Fietkau e3c09dd817 uClibc: update 0.9.32 to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 00:44:37 +00:00
Alexandros C. Couloumbis 0fc329a77d toolchain/uClibc: fix upstream patch name on r24029
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 15:01:30 +00:00
Alexandros C. Couloumbis 2c24f3ae2f toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 14:58:37 +00:00
Jo-Philipp Wich a5fa9a2647 [toolchain] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich cd330a000e [PATCH] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 21:38:38 +00:00
Imre Kaloz d7a7570709 [toolchain]: switch to uClibc 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:57 +00:00
Imre Kaloz 2d08a9a2c9 [toolchain]: remove support for uClibc 0.9.30.2 and 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 12:56:58 +00:00
Michael Büsch ef39b40498 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Felix Fietkau f1f392ab5f 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Mirko Vogt 107809668c 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 12:42:04 +00:00
Imre Kaloz 766cb6b709 add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 11:20:53 +00:00
Imre Kaloz 355be7618f the storm target is gone for a long time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 11:11:22 +00:00
Mirko Vogt 55d6630a0c patch went upstream, so bump git version and remove patch locally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 19:24:06 +00:00
Mirko Vogt 93567175e4 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 22:18:43 +00:00
Florian Fainelli 528a24ebe9 [toolchain] add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 09:05:10 +00:00
Gabor Juhos 6e90698fdc toolchain/uClubc-0.9.31: fix syscalls on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 19:28:10 +00:00
Nicolas Thill cf205143ab toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 05:59:10 +00:00
Gabor Juhos 7892970212 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 08:12:24 +00:00
Florian Fainelli 6c3b4d8c5f [toolchain] add support for uClibc 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 17:22:18 +00:00
Nicolas Thill f41ee70bad [toolchain] uClibc: enhance debug support (closes: #6118)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 15:10:57 +00:00
Nicolas Thill 0cc7ae67f3 [toolchain] uClibc: revert to old linuxthreads implementation on x86 (like all others arches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 15:06:22 +00:00
Imre Kaloz c3951e4fc0 [toolchain/uclibc]: upgrade and fixup support for the uclibc nptl branch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 11:03:59 +00:00
Jo-Philipp Wich 2c6b6eda34 [toolchain] add menuconfig item to enable uClibc debug builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-25 19:27:54 +00:00
Imre Kaloz d23821eb6e [uClibc/avr32]: fix varargs handling of the prctl syscall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 09:58:52 +00:00
Florian Fainelli 0bb4199081 [toolchain] fix uclibc for mips by adding missing upstream hunks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 10:55:03 +00:00
Florian Fainelli 60f5e08bcc [toolchain] add support for uClibc 0.9.30.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-14 12:27:46 +00:00
Felix Fietkau 47ee7a649d uClibc: implement copysignl in libc on powerpc to avoid undefined references in libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-27 01:11:40 +00:00
Felix Fietkau fd2da7768e fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 07:26:34 +00:00
Felix Fietkau ca7a7f6155 remove support for uclibc 0.9.29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 18:25:25 +00:00
Felix Fietkau 48bba4c0b5 uClibc: add support for mips non-pic relocations in ldso
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 07:41:29 +00:00
Felix Fietkau 13de9a716a gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:48 +00:00
Felix Fietkau 23439d3f60 uClibc: add copysign, copysignf, copysignl for i386
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:18 +00:00
Felix Fietkau 67d9cecb23 uClibc: fix strrchr on i386
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:05 +00:00
Florian Fainelli 58f3602d74 [cobalt] optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 13:05:14 +00:00
Nicolas Thill e4c4504874 [toolchain] uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 00:18:16 +00:00
Florian Fainelli b3ae6aabd7 [toolchain] Do not save variables in hi or lo across system calls, fixes issues with gcc-4.4 (#5351)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:08:02 +00:00
Felix Fietkau d28bd2e3db 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 11:56:27 +00:00
Florian Fainelli 00b84e2dc5 [uClibc] more cygwin build fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 07:25:24 +00:00
Felix Fietkau 39bbd5babc add a heavily cleaned up version of ubicom32 toolchain support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:31:47 +00:00
Gabor Juhos 781aad8b68 [toolchain] uClibc: fix build error on ARM targets (closes #5473)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 15:09:10 +00:00
Florian Fainelli 43593d524f [uclibc] add more gcc-4.4 patches from uclibc's mailing-list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-06 19:52:55 +00:00
Imre Kaloz 8cdd8276b1 add missing patch from the uclibc buildroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-23 13:08:21 +00:00
Imre Kaloz 0609b66c2c add preliminary coldfire v4e support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
Gabor Juhos c783fd097e [toolchain] uClibc-0.9.30.1: fix possible NULL pointer dereference (closes #5242)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 09:45:00 +00:00
Felix Fietkau 5ed7d4b646 uClibc: bsd supports the same floating point classification functions as c99, fixes inetd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 10:32:17 +00:00
Felix Fietkau a8dd1273fd uClibc: add a wrapper for the missing finite() function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 09:25:51 +00:00
Hamish Guthrie 5cc5c99dcb [uClibc 0.9.29 0.9.30.1] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 07:40:29 +00:00
Felix Fietkau 9f34823a8a 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 15:49:29 +00:00
Jo-Philipp Wich 6dadd24094 [toolchain] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 13:28:33 +00:00
Imre Kaloz 94785e705e make uclibc 0.9.30.1 the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 11:17:01 +00:00
Felix Fietkau 85483f8ba6 upgrade uclibc-nptl to a recent version - seems to work on xscale with gcc 4.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 23:59:23 +00:00
Imre Kaloz fb452f9a5a add preliminary support for the successor of the storm port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-11 18:27:33 +00:00
Jo-Philipp Wich 78b84f66b7 Fix Image Builder building - added missing /bin dir to toolchain
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:48:23 +00:00
Felix Fietkau b266035a37 uclibc 0.9.30.1: add c99 long double math fix from gentoo (thx, ralph)
fixes compile error on powerpc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:20:47 +00:00
Felix Fietkau 553a026f39 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 22:12:02 +00:00
Felix Fietkau 1b6675367e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:41:08 +00:00
Felix Fietkau ae423d37d9 uclibc 0.9.30: fix isnan declaration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 15:15:22 +00:00
Felix Fietkau e8f7b10a37 uclibc 0.9.29: fix isinf, finite prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 15:15:17 +00:00
Florian Fainelli ef588da416 [toolchain] building uml on x86_64 w/ uClibc 0.9.29 is currently broken, select 0.9.30.1 which is working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:52:01 +00:00
Nicolas Thill da31c0be07 [toolchain] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:07:24 +00:00
Nicolas Thill 0874c6efcf uClibc NPTL: remove the pthread daemon() fix and revert r15343
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:28:48 +00:00
Felix Fietkau 7040d5b084 uclibc: add the pthread daemon() fix from #4809
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 02:53:03 +00:00
Felix Fietkau de76e2862d uclibc: remove the sockets_throw patch from 0.9.30, as it does not apply to 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 02:52:50 +00:00
Felix Fietkau f0f9ec9c56 add a modified version of the mips64 patch from #4603
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
Felix Fietkau 7786ef6820 mark uclibc nptl and snapshot as broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 20:01:28 +00:00
Felix Fietkau 84311deed1 fix uclibc subdir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:40:29 +00:00
Felix Fietkau 1ee22ac6bd append the correct extraversion to the toolchain's info.mk for uclibc-nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:30:49 +00:00
Felix Fietkau ab6ecdf295 fix uclibc symlink for nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:19:59 +00:00
Felix Fietkau ee76a4fc09 add uclibc-nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:06:12 +00:00
Felix Fietkau f5dc5c4ae5 remove obsolete comment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:38:31 +00:00
Felix Fietkau 44e5cd2219 clean up uClibc config handling - use kconfig.pl to split configs similar to how it's done in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:34:51 +00:00
Felix Fietkau ce42e5dbfc fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:23:46 +00:00
Felix Fietkau f7f48a6ddf add uclibc 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:04:30 +00:00
Felix Fietkau 2b419ade23 clean up uclibc patch/config version handling a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 17:56:28 +00:00
Felix Fietkau b161730496 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
Steven Barth 675d868d87 Upstream fix for syscall() not setting errno on errors on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 01:29:00 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Hauke Mehrtens dbf25a33d7 uClibc: refresh patches for uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:32:21 +00:00
Nicolas Thill 293b872934 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Nicolas Thill cb8f9f23ed [toolchain] fix uClibc fpu/soft-float selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 22:56:26 +00:00
Nicolas Thill e93668757e [toolchain] fix uClibc v0.9.30 build on x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 16:56:57 +00:00
Nicolas Thill 6798759bb1 [toolchain] 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!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:34:31 +00:00
Florian Fainelli 8cb6829e1a [toolchain] add missing config symbol in x86_64 configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:32:29 +00:00
Nicolas Thill d748bad85e [toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
Nicolas Thill 7c5cd31ae7 [toolchain] add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:45:32 +00:00
Nicolas Thill e76e2fefd1 [toolchain] we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 22:25:42 +00:00
Felix Fietkau 7ba43d9047 uClibc: compile fix for the new linuxthreads implementation on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 14:47:53 +00:00
Nicolas Thill c6d47b2176 [toolchain] backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-19 14:53:45 +00:00
Nicolas Thill 34d7a50273 [toolchain] fix linux headers & source paths at uClibc config stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 22:22:41 +00:00
Felix Fietkau 2907e8ce0c uclibc: fix the new libpthread implementation on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:21:56 +00:00
Felix Fietkau 57b7a02179 add uclibc eabi patches from #3988
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:20:32 +00:00
Felix Fietkau 0c487c1507 work around problems with the libpthread onexit() handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 00:52:51 +00:00
Felix Fietkau 696d714c87 fix the new libpthread implementation - the function table init was broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 20:44:29 +00:00
Felix Fietkau bf4db00c26 do not strip uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:39 +00:00
Felix Fietkau 243277a3b5 use the new linuxthreads implementation on i386,i686
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:52 +00:00
Felix Fietkau e99e831300 uclibc: add the trunc function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:31 +00:00
Felix Fietkau c4ed52f907 uclibc: add some libpthread fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:14 +00:00
Nicolas Thill 3b75e47f8f [massive] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Imre Kaloz c813d578fd general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-05 14:46:18 +00:00
Jo-Philipp Wich 448b48be71 [uClibc] enable netlink support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 17:28:58 +00:00
Jo-Philipp Wich cebf442015 [uClibc] enable support for getifaddrs() - required by lldpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 13:07:30 +00:00
Felix Fietkau a5c9910ae2 remove the openat() patch, as it's breaking quite a few packages.
the problem is in the AT_FDCWD define, which packages check for to
see if fdopenat, openat, fstatat, etc. are supported, but the patch
only adds openat() and not the other functions.
this should probably be fixed upstream and not just in openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 04:16:30 +00:00
Florian Fainelli 86ae448cac openat is not an implemented syscall on linux-2.4, so make it only available for linux-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 17:03:16 +00:00
Hamish Guthrie 1f0300336e Add support for openat system call - this must be extended for the rest of these system calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 07:52:54 +00:00
Nicolas Thill ef1b78d84b [cosmetic] indent conditionnals in uClibc Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 23:00:22 +00:00
Florian Fainelli e8fe824c61 Fix locations for the uClibc snapshot version (#4065)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 22:04:53 +00:00
Lars-Peter Clausen 07a98d0fe8 Fix a segfault in uclibc ldso.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 13:06:43 +00:00
Lars-Peter Clausen ad09ac03c5 Avoid endless recursion in uClibc pthreads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 22:51:53 +00:00
Felix Fietkau 78aec4b21d disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
Felix Fietkau a9db787ce2 make libc.so symlink relative instead of absolute (#3878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 12:30:14 +00:00
Felix Fietkau d7a52d4599 fix uClibc legacy version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 14:58:48 +00:00
Florian Fainelli 46a156a794 Update uClibc config for x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-27 16:56:34 +00:00
Florian Fainelli 2d285a2fb7 uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files, remove this when there are no 2.6.23 left
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 10:41:27 +00:00
Nicolas Thill 119bfa9050 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
Imre Kaloz cc7c0a18fb * refresh storm patches
* disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 17:10:39 +00:00
Nicolas Thill 77a46bc936 Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 10:19:12 +00:00
John Crispin e88328d7c6 fix up uclibc support for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:42 +00:00
John Crispin 9af8fc6374 fix uclibc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:34 +00:00
Imre Kaloz 3166c564d9 add preliminary support for Storm SL3512 based devices, not ready yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 17:03:01 +00:00
Imre Kaloz 244b78ec57 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 13:44:38 +00:00
Felix Fietkau d26eb1c417 fix uclibc build on osx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:22:31 +00:00
Nicolas Thill f2b9a111ee fix md5sum for v0.28.2 (closes: #3159)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 21:38:29 +00:00
Felix Fietkau c0d62a8c74 add missing config change for OABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 19:41:33 +00:00
Imre Kaloz 4002b7d5f6 sync AVR32 patches with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:05:11 +00:00
Felix Fietkau a08a9909e7 turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 02:31:15 +00:00
Gabor Juhos 507ae0f23a [toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 18:42:22 +00:00
Gabor Juhos 66997bfea8 [toolchain] uClibc: change some symbols to local on ppc to make Kaloz happy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:15:27 +00:00
Felix Fietkau 059b8ee187 remove some wrong depends/defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:49:51 +00:00
Ralph Hempel b44ed1df4e oops, missing file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:02:32 +00:00
Ralph Hempel 6614ecc110 add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards)
the version 0.9.29 is still the default version



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 17:59:20 +00:00
Gabor Juhos 5aa6590551 [toolchain] uClibc: restore support of shadow passwords, but make it configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 20:07:47 +00:00
Florian Fainelli 5cd80b981e Fix sockets.h for mips/mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-31 13:31:48 +00:00
Felix Fietkau b8b6714392 fix uclibc compile on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 19:23:54 +00:00
Felix Fietkau e194e315be fix ntpd compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 16:41:08 +00:00
Felix Fietkau 21f210a46b use __inline__ instead of inline to avoid build errors with -ansi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 04:25:17 +00:00
Felix Fietkau 6453d413ce enable res_close bsd compat, asterisk requires this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 03:56:33 +00:00
Felix Fietkau a62f0bf611 add a workaround for inline function redefinition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:17:01 +00:00
Felix Fietkau 7e36fbdf47 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:06:12 +00:00
Felix Fietkau dea1fa08ea replace cflags hacks with the correct solution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 20:31:48 +00:00
Felix Fietkau e7a80c8802 enable gnu glob in uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 19:07:58 +00:00
Felix Fietkau 11db200b57 unconditionally enable c99 math support in uclibc - many packages need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 18:07:56 +00:00
Felix Fietkau 76a2d53727 fix comgt compile error caused by the uclibc upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:40 +00:00
Felix Fietkau 1a7ceb362b update x86 uclibc configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:35 +00:00
Imre Kaloz 2630adf92a upgrade to uClibc 0.9.29 - break binary compatibility #1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 19:51:24 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
Felix Fietkau aea721d6c8 hopefully fix occasional uClibc/gcc build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00