Commit Graph

305 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Felix Fietkau 82e51044d8 uClibc: build with debug symbols by default (without changing other compile related flags)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37525
11 years ago
Felix Fietkau 02a6750af8 uClibc: use position independent code for crt1, slightly reduces size of all executables
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37096
11 years ago
Felix Fietkau 4aa6663599 toolchain: get rid of uclibc version kconfig symbol overloading
SVN-Revision: 36356
11 years ago
Felix Fietkau 46072644e5 uClibc: unbreak ld-uClibc on non-64bit platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36239
11 years ago
Florian Fainelli f4c09ea554 toolchain/uClibc: backport a MIPS64 fix from openadk
Fixes uClibc dynamic loader name requested by executables when
targetting MIPS64 n64

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36208
11 years ago
Florian Fainelli 463b80c3d1 toolchain/uClibc: handle different MIPS64 ABIs
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36207
11 years ago
Florian Fainelli 750115a65c toolchain/uClibc: Disable mips16 for uClibc for now
For now, build uclibc without -mips16. There's no mips16 syscall
support AFAIK and uclibc uses inline assembly syscalls a lot.

In addition, touching errno means touching a TLS model symbol, and
that's not supported in gcc 4.6.

The __set_errno macro can be put back to calling
errno_location(). This allows much of the library to be built in
mips16 mode. I don't understand the implications to the thread library
of doing this.

A list of "build as -mno-mips16" C source files can be placed in the
mips architecture-dependent build files. Maintaining the list would be
no fun.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36199
11 years ago
Jonas Gorski 55f65c5c1d toolchain: uclibc: fix typo in uclibc common config
Based on a patch from Oliver Metz.

Closes #10735.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35709
11 years ago
Florian Fainelli 4801705d83 remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
12 years ago
Imre Kaloz 935ca3f3eb add 3.7-rc6 support (patch 820 still has to be fixed)
SVN-Revision: 34247
12 years ago
Florian Fainelli 76553002d9 uClibc: backport a fix for dlsym(RTLD_NEXT, ...) use
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34142
12 years ago
Felix Fietkau 291d24c3cc build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34122
12 years ago
Felix Fietkau 96f31bf6ae uClibc: backport support for assignment-allocation character %m in sscanf
SVN-Revision: 34001
12 years ago
Felix Fietkau b5212d8ab3 toolchain: enable pthread debug support in uclibc
SVN-Revision: 33996
12 years ago
Felix Fietkau c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
12 years ago
Florian Fainelli b336c9904c uClibc: fix uClibc implementation of eventfd
uClibc declares eventfd() as taking two arguments but doesn't properly
pass the second argument to the kernel.

The problem is discussed at:
http://lists.uclibc.org/pipermail/uclibc/2012-May/046873.html

This patch is taken from uclibc 0.9.33 git, so will presumably
be integrated in any future releases.

Signed-off-by: Andy Leiserson <andy@leiserson.org>

SVN-Revision: 33478
12 years ago
Felix Fietkau ab9f9e2383 uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
SVN-Revision: 32558
12 years ago
Felix Fietkau c3caa1b768 uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
SVN-Revision: 32557
12 years ago
Felix Fietkau e98810dced toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
SVN-Revision: 32555
12 years ago
Felix Fietkau e74e4dbd29 toolchain: keep the initial gcc around for later uclibc rebuilds
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

SVN-Revision: 32553
12 years ago
Felix Fietkau 3ea4b6ba91 uClibc: update to 0.9.33.2, fixes #4420
SVN-Revision: 31740
12 years ago
Felix Fietkau d98c2d542c uClibc: remove 0.9.32, it is no longer necessary
SVN-Revision: 31739
12 years ago
Florian Fainelli 3271b347fc backport upstream fix for dst computation
SVN-Revision: 31073
12 years ago
Imre Kaloz 86296a0cb6 use uClibc 0.9.33 by default
SVN-Revision: 30468
12 years ago
Gabor Juhos d82daa2728 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
SVN-Revision: 30398
12 years ago
Gabor Juhos fa11e6e0d6 toolchain/uClibc: fix 0.9.33 build error on MIPS
SVN-Revision: 30394
12 years ago
Imre Kaloz 9bf867b531 add 0.9.33
SVN-Revision: 30374
12 years ago
Imre Kaloz 6347b09289 nuke a 2.4 skeleton
SVN-Revision: 30372
12 years ago
Jo-Philipp Wich 5b14d8bc0b disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
SVN-Revision: 29646
13 years ago
Jo-Philipp Wich d22adb1b06 if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
13 years ago
Florian Fainelli fe3694aa0d uclibc: backport upstream signalfd patch
SVN-Revision: 28087
13 years ago
Jonas Gorski 5defa7f08d toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

SVN-Revision: 27882
13 years ago
Felix Fietkau b857433bcb uClibc: backport an x86 compile fix from mainline (thx, swalker)
SVN-Revision: 27773
13 years ago
Felix Fietkau 816f76457c uClibc: update to latest 0.9.32.1 git
SVN-Revision: 27772
13 years ago
Felix Fietkau ddc6fd10de uClibc: fix messed up patch headers in fts patch (patch from #9671)
SVN-Revision: 27555
13 years ago
Florian Fainelli 3bdc9093b3 uclibc: backport FTS support
SVN-Revision: 27513
13 years ago
Felix Fietkau 92726d8f32 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
SVN-Revision: 27289
13 years ago
Jo-Philipp Wich 6894dfb0fb uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
SVN-Revision: 27131
13 years ago
Mirko Vogt 2629de3ef2 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

SVN-Revision: 27001
13 years ago
Felix Fietkau a621c3c24a uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
SVN-Revision: 26703
13 years ago
Felix Fietkau 082ab53ed1 uClibc: fix issues with libpthread vs libc link order on mips
SVN-Revision: 26702
13 years ago
Felix Fietkau 3ae4dec6b2 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
SVN-Revision: 26547
13 years ago
Felix Fietkau bc8728d9ce uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
SVN-Revision: 25944
13 years ago
Imre Kaloz b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
13 years ago
Felix Fietkau 783e064632 uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
SVN-Revision: 25803
13 years ago
Imre Kaloz ae885a3978 upgrade to latest git, refresh patches
SVN-Revision: 25698
13 years ago
Felix Fietkau 72ca180fd7 uClibc: remove 0.9.30, 0.9.31
SVN-Revision: 25542
13 years ago
Felix Fietkau 383d17913f uclibc: disable COMPAT_ATEXIT
SVN-Revision: 25517
13 years ago
Imre Kaloz b0a9a4d66c upgrade to latest git
SVN-Revision: 25516
13 years ago
Felix Fietkau c672eeffc9 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
13 years ago
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