Commit Graph

305 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Felix Fietkau e6a0ebc989 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
SVN-Revision: 25504
13 years ago
Imre Kaloz 247e919223 autodetect ARM variant/ABI setup based on the compiler settings
SVN-Revision: 25328
13 years ago
Imre Kaloz fa5259d442 update to latest git version
SVN-Revision: 25327
13 years ago
Felix Fietkau 4e6bca2d05 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
SVN-Revision: 25223
13 years ago
Jo-Philipp Wich ab217388a9 uClibc: remove references to $(CONFIG_LARGEFILE)
SVN-Revision: 25209
13 years ago
Felix Fietkau 2e6f6843a6 uClibc: fix version check for 0.9.32
SVN-Revision: 25189
13 years ago
Felix Fietkau b514156559 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
SVN-Revision: 25187
13 years ago
Felix Fietkau b00758f178 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
SVN-Revision: 25186
13 years ago
Imre Kaloz 74da93780b LEON is SPARC v8
SVN-Revision: 25141
13 years ago
Imre Kaloz 1d02e78a6f update to latest git
SVN-Revision: 25082
13 years ago
Felix Fietkau 7c74f58779 uClibc 0.9.32: fix libm compile for powerpc
SVN-Revision: 25013
14 years ago
Imre Kaloz 5428a58287 upgrade to latest git snapshot
SVN-Revision: 24889
14 years ago
Gabor Juhos 72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
14 years ago
Felix Fietkau 010b64f251 fix a compile error with uclibc 0.9.32 and newer kernels
SVN-Revision: 24735
14 years ago
Imre Kaloz d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
14 years ago
Alexandros C. Couloumbis b083d00b8b toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
SVN-Revision: 24396
14 years ago
Imre Kaloz 044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
14 years ago
Alexandros C. Couloumbis 581378f5cb toolchain/uClibc: sync to latest uClibc-0.9.32
SVN-Revision: 24229
14 years ago
Alexandros C. Couloumbis ec7e1cee0b toolchain/uClibc: push an upstream fix
SVN-Revision: 24228
14 years ago
Felix Fietkau f21c0cacf8 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
SVN-Revision: 24120
14 years ago
Felix Fietkau 1a0a584ea6 uClibc: fix ubicom32 compile error with 0.9.32
SVN-Revision: 24101
14 years ago
Felix Fietkau c0915e5983 uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
14 years ago
Felix Fietkau ff46ed446d uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
SVN-Revision: 24099
14 years ago
Felix Fietkau bfe53cdbbe uClibc: fix cris compile on 0.9.32
SVN-Revision: 24094
14 years ago
Felix Fietkau 9494ddd30f uClibc: fix compile error on avr32
SVN-Revision: 24093
14 years ago
Felix Fietkau df5509a30e uClibc: disable nptl on a few targets where it is not supported yet
SVN-Revision: 24092
14 years ago
Felix Fietkau 0fed0806df uClibc: 0.9.32 needs the ldso fix as well
SVN-Revision: 24074
14 years ago
Felix Fietkau 05e837fb6d uClibc: update 0.9.32 to latest git
SVN-Revision: 24073
14 years ago
Alexandros C. Couloumbis 74d8aaa314 toolchain/uClibc: fix upstream patch name on r24029
SVN-Revision: 24030
14 years ago
Alexandros C. Couloumbis eb45bb90d4 toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
SVN-Revision: 24029
14 years ago
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
14 years ago
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
14 years ago
Imre Kaloz 4cdf723097 switch to uClibc 0.9.31
SVN-Revision: 23781
14 years ago
Imre Kaloz 9611a0f606 remove support for uClibc 0.9.30.2 and 0.9.30.3
SVN-Revision: 23779
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Imre Kaloz a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
14 years ago
Imre Kaloz e4ad93f5f8 the storm target is gone for a long time now
SVN-Revision: 22311
14 years ago
Mirko Vogt aa85835ef2 patch went upstream, so bump git version and remove patch locally
SVN-Revision: 21881
14 years ago
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
14 years ago
Florian Fainelli 8e26889bb8 add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
SVN-Revision: 21504
14 years ago
Gabor Juhos a8e20318c5 toolchain/uClubc-0.9.31: fix syscalls on MIPS
SVN-Revision: 20882
14 years ago
Nicolas Thill 349439d7ea toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
SVN-Revision: 20873
14 years ago
Gabor Juhos af1fb0bdd1 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
SVN-Revision: 20384
14 years ago
Florian Fainelli e6ec1ce8cf add support for uClibc 0.9.30.3
SVN-Revision: 20181
14 years ago
Nicolas Thill 4437156961 uClibc: enhance debug support (closes: #6118)
SVN-Revision: 20031
14 years ago
Nicolas Thill 4c63458e63 uClibc: revert to old linuxthreads implementation on x86 (like all others arches)
SVN-Revision: 20030
14 years ago
Imre Kaloz d2bf3771ed upgrade and fixup support for the uclibc nptl branch
SVN-Revision: 19871
14 years ago
Jo-Philipp Wich 24b495c619 add menuconfig item to enable uClibc debug builds
SVN-Revision: 19860
14 years ago
Imre Kaloz a49f5f7376 fix varargs handling of the prctl syscall
SVN-Revision: 19740
14 years ago
Florian Fainelli aa0e08a565 fix uclibc for mips by adding missing upstream hunks
SVN-Revision: 19272
15 years ago
Florian Fainelli 1ebff51904 add support for uClibc 0.9.30.2
SVN-Revision: 19125
15 years ago
Felix Fietkau 27e1c7f091 uClibc: implement copysignl in libc on powerpc to avoid undefined references in libstdc++
SVN-Revision: 18178
15 years ago
Felix Fietkau cb3495fac5 fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
SVN-Revision: 18090
15 years ago
Felix Fietkau 161792d02c remove support for uclibc 0.9.29
SVN-Revision: 18078
15 years ago
Felix Fietkau de6c0303ee uClibc: add support for mips non-pic relocations in ldso
SVN-Revision: 18069
15 years ago
Felix Fietkau 215ccb66e6 gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
SVN-Revision: 18019
15 years ago
Felix Fietkau e0645618a3 uClibc: add copysign, copysignf, copysignl for i386
SVN-Revision: 18017
15 years ago
Felix Fietkau 0e43efeae7 uClibc: fix strrchr on i386
SVN-Revision: 18016
15 years ago
Florian Fainelli 96d804c54f optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
SVN-Revision: 17980
15 years ago
Nicolas Thill fd6e548d42 uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
SVN-Revision: 17814
15 years ago
Florian Fainelli 9e1759bfe6 Do not save variables in hi or lo across system calls, fixes issues with gcc-4.4 (#5351)
SVN-Revision: 17742
15 years ago
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
15 years ago
Florian Fainelli ffa2d292fe more cygwin build fixes
SVN-Revision: 17401
15 years ago
Felix Fietkau aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
15 years ago
Gabor Juhos c8d103a660 uClibc: fix build error on ARM targets (closes #5473)
SVN-Revision: 16735
15 years ago
Florian Fainelli 1e9cba3b82 add more gcc-4.4 patches from uclibc's mailing-list
SVN-Revision: 16720
15 years ago
Imre Kaloz 17276a575d add missing patch from the uclibc buildroot
SVN-Revision: 16541
15 years ago
Imre Kaloz 2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
15 years ago
Gabor Juhos da4435f2e1 uClibc-0.9.30.1: fix possible NULL pointer dereference (closes #5242)
SVN-Revision: 16304
15 years ago
Felix Fietkau 2f94a08df9 uClibc: bsd supports the same floating point classification functions as c99, fixes inetd
SVN-Revision: 16172
15 years ago
Felix Fietkau 1c57770f28 uClibc: add a wrapper for the missing finite() function
SVN-Revision: 16170
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Imre Kaloz cd649df858 make uclibc 0.9.30.1 the default
SVN-Revision: 16047
15 years ago
Felix Fietkau cc7805ea27 upgrade uclibc-nptl to a recent version - seems to work on xscale with gcc 4.3.3
SVN-Revision: 16004
15 years ago
Imre Kaloz f24a7c7a68 add preliminary support for the successor of the storm port
SVN-Revision: 15772
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Felix Fietkau 141925202e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
15 years ago
Felix Fietkau c633a16d80 uclibc 0.9.30: fix isnan declaration
SVN-Revision: 15589
15 years ago
Felix Fietkau db8f5e9c5e uclibc 0.9.29: fix isinf, finite prototypes
SVN-Revision: 15588
15 years ago
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
15 years ago
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
15 years ago
Nicolas Thill 2783110a97 uClibc NPTL: remove the pthread daemon() fix and revert r15343
SVN-Revision: 15367
15 years ago
Felix Fietkau 632f50b891 uclibc: add the pthread daemon() fix from #4809
SVN-Revision: 15344
15 years ago
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
15 years ago
Felix Fietkau 56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
15 years ago
Felix Fietkau 229035bad0 mark uclibc nptl and snapshot as broken
SVN-Revision: 15179
15 years ago
Felix Fietkau d0e357e729 fix uclibc subdir
SVN-Revision: 15010
15 years ago
Felix Fietkau 02739c116f append the correct extraversion to the toolchain's info.mk for uclibc-nptl
SVN-Revision: 15008
15 years ago
Felix Fietkau fe601b3efd fix uclibc symlink for nptl
SVN-Revision: 15007
15 years ago
Felix Fietkau f914fcf49f add uclibc-nptl
SVN-Revision: 15006
15 years ago
Felix Fietkau 16fa4d486d remove obsolete comment
SVN-Revision: 15005
15 years ago
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
15 years ago
Felix Fietkau 746544db79 fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
SVN-Revision: 15001
15 years ago
Felix Fietkau 566bdc37ad add uclibc 0.9.30.1
SVN-Revision: 15000
15 years ago
Felix Fietkau 03205ec740 clean up uclibc patch/config version handling a bit
SVN-Revision: 14994
15 years ago
Felix Fietkau ec6b3bf2be fix stampfile variables for the toolchain build (fixes gcc compile error)
SVN-Revision: 14862
15 years ago
Steven Barth e805b29fdd Upstream fix for syscall() not setting errno on errors on MIPS
SVN-Revision: 14689
15 years ago
Nicolas Thill 8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
15 years ago
Hauke Mehrtens d0484c4cf6 uClibc: refresh patches for uClibc
SVN-Revision: 14588
15 years ago
Nicolas Thill 33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
15 years ago
Nicolas Thill 06f50d2116 fix uClibc fpu/soft-float selection
SVN-Revision: 14141
16 years ago
Nicolas Thill edef5abd24 fix uClibc v0.9.30 build on x86_64
SVN-Revision: 14138
16 years ago
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
16 years ago
Florian Fainelli 63426c5715 add missing config symbol in x86_64 configuration
SVN-Revision: 14132
16 years ago
Nicolas Thill ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
16 years ago
Nicolas Thill a271aaa2db add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
SVN-Revision: 14130
16 years ago
Nicolas Thill 8db368850c we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
SVN-Revision: 14123
16 years ago
Felix Fietkau dc6d881733 uClibc: compile fix for the new linuxthreads implementation on mips
SVN-Revision: 14118
16 years ago
Nicolas Thill 291e71f792 backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
SVN-Revision: 14105
16 years ago
Nicolas Thill 96756d7641 fix linux headers & source paths at uClibc config stage
SVN-Revision: 14080
16 years ago
Felix Fietkau 07a1106c91 uclibc: fix the new libpthread implementation on arm
SVN-Revision: 14074
16 years ago
Felix Fietkau 818e6e847c add uclibc eabi patches from #3988
SVN-Revision: 14073
16 years ago
Felix Fietkau 0faef985b7 work around problems with the libpthread onexit() handler
SVN-Revision: 14032
16 years ago
Felix Fietkau 0392f46b43 fix the new libpthread implementation - the function table init was broken
SVN-Revision: 14027
16 years ago
Felix Fietkau cb41a3aa45 do not strip uclibc
SVN-Revision: 14019
16 years ago
Felix Fietkau 25aba0e356 use the new linuxthreads implementation on i386,i686
SVN-Revision: 14016
16 years ago
Felix Fietkau ff55a79717 uclibc: add the trunc function
SVN-Revision: 14014
16 years ago
Felix Fietkau 087a2bc16c uclibc: add some libpthread fixes
SVN-Revision: 14013
16 years ago
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
16 years ago
Imre Kaloz 8c3a967fae general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 13876
16 years ago
Jo-Philipp Wich 5649ff4093 enable netlink support
SVN-Revision: 13839
16 years ago
Jo-Philipp Wich e0a77da8fb enable support for getifaddrs() - required by lldpd
SVN-Revision: 13834
16 years ago
Felix Fietkau cf8362db3c 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.
SVN-Revision: 13817
16 years ago
Florian Fainelli 25efcf15fe openat is not an implemented syscall on linux-2.4, so make it only available for linux-2.6
SVN-Revision: 13234
16 years ago
Hamish Guthrie bb702980e5 Add support for openat system call - this must be extended for the rest of these system calls
SVN-Revision: 13200
16 years ago
Nicolas Thill b3e5f06450 indent conditionnals in uClibc Makefile
SVN-Revision: 13144
16 years ago
Florian Fainelli 9dd37f3d12 Fix locations for the uClibc snapshot version (#4065)
SVN-Revision: 13067
16 years ago
Lars-Peter Clausen 387da72d9c Fix a segfault in uclibc ldso.
SVN-Revision: 12698
16 years ago
Lars-Peter Clausen aa10aa313d Avoid endless recursion in uClibc pthreads.
SVN-Revision: 12652
16 years ago
Felix Fietkau 799e7a8fa8 disable autorebuild for the toolchain, as it can easily lead to build breakages
SVN-Revision: 12492
16 years ago
Felix Fietkau 3cd35227ab make libc.so symlink relative instead of absolute (#3878)
SVN-Revision: 12333
16 years ago
Felix Fietkau b559fb0c5f fix uClibc legacy version
SVN-Revision: 11993
16 years ago
Florian Fainelli 68f4ae4e94 Update uClibc config for x86_64
SVN-Revision: 11963
16 years ago
Florian Fainelli 3d9c4c9073 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
SVN-Revision: 11893
16 years ago
Nicolas Thill 89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
16 years ago
Imre Kaloz 6ca4659c4e * refresh storm patches * disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
SVN-Revision: 11367
16 years ago
Nicolas Thill 28a650e13a Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
SVN-Revision: 11106
16 years ago
John Crispin 895adb694f fix up uclibc support for etrax
SVN-Revision: 11025
16 years ago
John Crispin bec6b5517a fix uclibc version selection
SVN-Revision: 11024
16 years ago
Imre Kaloz a4dd1adf4a add preliminary support for Storm SL3512 based devices, not ready yet
SVN-Revision: 10956
16 years ago
Imre Kaloz 47e402733a fix typo
SVN-Revision: 10718
16 years ago
Felix Fietkau d52a9c3bf7 fix uclibc build on osx
SVN-Revision: 10578
16 years ago
Nicolas Thill f0c567d08c fix md5sum for v0.28.2 (closes: #3159)
SVN-Revision: 10498
16 years ago