1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 22:49:43 +02:00
Commit Graph

214 Commits

Author SHA1 Message Date
jow
19af816023 [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
jow
66e6b2cd42 [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
kaloz
5e7b0ded88 [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
kaloz
ad0b180480 [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
mb
a26814e6d6 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
nbd
dc74adf445 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
040075b294 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
kaloz
642064ae9a 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
kaloz
cd9b9a8e65 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
80ebbd2417 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
b211f2f9da 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
b41b97bc83 [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
juhosg
51aaf7163f 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
nico
d083ae299a 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
juhosg
fadc950fd9 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
d4473285ad [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
nico
34cb0380a2 [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
nico
ad82a7e442 [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
kaloz
fadee18df0 [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
jow
2ec723f522 [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
kaloz
aeee7fa7bf [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
6dab486ee1 [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
57f44330bc [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
nbd
a6257782ac 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
nbd
96ff9f58c6 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
nbd
6a5e469c87 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
nbd
faefd680ef 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
nbd
1d8d224223 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
nbd
f6bc2eef9a 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
nbd
61b6741ed1 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
4cc6c0d0a2 [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
nico
cb79a73105 [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
2d0f2c9a88 [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
nbd
237a5a2c34 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
d63472a177 [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
nbd
64958baf0e 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
juhosg
ae2077bf16 [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
4abf567ae8 [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
kaloz
9359756561 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
kaloz
dccbe704f2 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
juhosg
57b3ee7bff [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
nbd
d47683e4fd 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
nbd
27f59d4c0e 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
hcg
9c278041ab [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
nbd
31d4d4473d 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
jow
bd772c3608 [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
kaloz
6f4ddaf713 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
nbd
715bbe1fe7 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
kaloz
0723f810ee 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
jow
c650ca9bec 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