Commit Graph

257 Commits (b80f0f3d6e253f4eb5b6e1bf58a43b477e51375d)

Author SHA1 Message Date
Jo-Philipp Wich 0fcd03962b [toolchain] uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 21:54:14 +00:00
Mirko Vogt 76522ed2a8 [toolchain/uclibc] use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 15:53:15 +00:00
Felix Fietkau 84728b6931 uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:35 +00:00
Felix Fietkau 35ba293e9b uClibc: fix issues with libpthread vs libc link order on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:26 +00:00
Felix Fietkau 6890d38166 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:46:58 +00:00
Felix Fietkau 9973a6d45c uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 22:38:48 +00:00
Imre Kaloz c5b1e5ded2 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
Felix Fietkau cdabc8deda uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:41:02 +00:00
Imre Kaloz 2e58abb57d [toolchain/uClibc]: upgrade to latest git, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 12:56:20 +00:00
Felix Fietkau b71c26a5b1 uClibc: remove 0.9.30, 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 01:29:13 +00:00
Felix Fietkau 263fe71965 uclibc: disable COMPAT_ATEXIT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:08 +00:00
Imre Kaloz cb1eec5ea0 [toolchain/uClibc]: upgrade to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 12:32:01 +00:00
Felix Fietkau ff1a0f6304 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 03:26:10 +00:00
Felix Fietkau d088b06f90 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:45:59 +00:00
Imre Kaloz b030f3e1e0 [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:19:28 +00:00
Imre Kaloz 9649a998eb [toolchain/uClibc]: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:07:28 +00:00
Felix Fietkau 57fd328159 uClibc: use the arch specific thread stack size for nptl if the size returned by getrlimits exceeds it - fixes threads on systems with only 16 MB RAM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich 7a6761e39a [toolchain] uClibc: remove references to $(CONFIG_LARGEFILE)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:04:08 +00:00
Felix Fietkau 788b1585d7 uClibc: fix version check for 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:41:53 +00:00
Felix Fietkau cf6f36abb4 uClibc: make 0.9.32-git default, it fixes lots of bugs compared to earlier versions (especially threading issues), and the known regressions have been fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:45 +00:00
Felix Fietkau c6e7c24a27 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:41 +00:00
Imre Kaloz f8b2d5faf4 [toolchain/uClibc]: LEON is SPARC v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:54:08 +00:00
Imre Kaloz 4cd86e8cb2 [toolchain/uClibc]: update to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 09:40:24 +00:00
Felix Fietkau 5cb2244f2b uClibc 0.9.32: fix libm compile for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:43 +00:00
Imre Kaloz 6a285bfb8c [toolchain/uClibc]: upgrade to latest git snapshot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:20:30 +00:00
Gabor Juhos 0d46434b60 cns21xx: add initial support for the Cavium CNS21xx SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 17:19:16 +00:00
Felix Fietkau 37e7a36f7d fix a compile error with uclibc 0.9.32 and newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:17 +00:00
Imre Kaloz dcaba4757f add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
Alexandros C. Couloumbis 81a2a08b06 toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 18:31:13 +00:00
Imre Kaloz 0ebaa8e801 [target/mpc85xx]: preliminary support for Freescale MPC85xx based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:38:59 +00:00
Alexandros C. Couloumbis 593c917377 toolchain/uClibc: sync to latest uClibc-0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 16:36:37 +00:00
Alexandros C. Couloumbis d8575c4138 toolchain/uClibc: push an upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 14:46:09 +00:00
Felix Fietkau 9df9184b94 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 00:30:26 +00:00
Felix Fietkau ca622f9bd0 uClibc: fix ubicom32 compile error with 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:08 +00:00
Felix Fietkau bccdd52519 uClibc: fix headers install on prepare with QUILT=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:01 +00:00
Felix Fietkau 90d140c942 uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:49:51 +00:00
Felix Fietkau fe88a9ee06 uClibc: fix cris compile on 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 16:18:43 +00:00
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