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