summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
Commit message (Collapse)AuthorAgeFilesLines
* uclibc: fix _HAS_SSP replacement regexJonas Gorski2015-06-231-1/+1
| | | | | | | | A dot was dropped, making it match too much. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46116
* uclibc: unbreak after enabling SSPSteven Barth2015-06-182-1/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46034
* uClibc: elf: Add STT_GNU_IFUNC from glibcFelix Fietkau2015-05-251-0/+37
| | | | | | | | | | | | perf in upstream Linux kernel 3.17 onwards expects STT_GNU_IFUNC replicate it from glibc Patch cherry-picked from: http://lists.busybox.net/pipermail/uclibc/2015-February/048825.html Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45752
* uClibc: add signal info for seccomp related SIGSYSJohn Crispin2015-05-231-0/+145
| | | | | | | | | | | | | | uClibc doesn't define signal info for the SIGSYS signal which is issued in case of hitting a syscall prohibited by seccomp. This is sad as it makes debugging seccomp filter policies impossible on some architectures (at least ARM and PowerPC, maybe also others) which do not coincidentally set si_value.sival_int as the syscall number. To fix this, import the definitions and macros needed from glibc. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45720
* uClibc: backport sync_file_range fixes (closes: #19350)Nicolas Thill2015-04-021-0/+57
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45249
* uclibc: backport an upstream i386 syscall fixFelix Fietkau2015-03-291-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45137
* uClibc: add another missing backport patchFelix Fietkau2015-03-294-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45102
* toolchain/uClibc: backport madvise and fallocate (fixes #19336)Felix Fietkau2015-03-299-40/+811
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45100
* uclibc: add LD_PRELOAD supportJohn Crispin2015-03-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45004
* toolchain: remove obsolete references to the cris architectureFelix Fietkau2015-03-242-9/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44964
* uClibc: remove avr32 supportFelix Fietkau2015-03-243-23/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44961
* uClibc: fix syscall() for syscalls with 6 arguments on PowerPCJohn Crispin2015-03-121-0/+10
| | | | | | | | | | Patch from the uClibc master. Fixes the package fastd on PowerPC. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44694
* Support for building an hardened OpenWRTJohn Crispin2015-01-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce configuration options to build an "hardened" OpenWRT. Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO have been introduced. uClibc makefile now automatically detects if SSP support is necessary. hostapd makefile has been fixed to use "^" as sed separator since using a comma was problematic when using "-Wl,-z,now" and the like in TARGET_CFLAGS. Currently enabling SSP on user space depends on enabling SSP kernel side, this is due to the fact that TARGET_CFLAGS are used to build kernel modules (at least). Suggestions on how to avoid this are welcome. Using "select" instead of "depends on" doesn't seem to work with choice entries. Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of the available packages. Needs to be tested with GCC 4.9 and the remaining packages. PIE not currently included. Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me> SVN-Revision: 44005
* uClibc: fix ptrace header files for powerpcFelix Fietkau2014-12-111-0/+96
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43617
* toolchain: uClibc: fix compile with full language support enabled (fixes #13095)Felix Fietkau2014-11-301-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following message (or similar, according to https://dev.openwrt.org/ticket/13095): -snip- ... Warning: adding UNDEFINED entry for ar_AE Warning: adding UNDEFINED entry for am_ET Warning: adding UNDEFINED entry for af_ZA grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h gcc extra/locale/gen_wctype.c -o extra/locale/gen_wctype -Os -Wall -D__UCLIBC_GEN_LOCALE -I./ extra/locale/gen_wctype.c: In function 'main': extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp] for locale in en_US en_GB; do \ extra/locale/gen_wctype $locale > extra/locale/wctables.h || \ extra/locale/gen_wctype $locale.UTF-8 > extra/locale/wctables.h || \ extra/locale/gen_wctype $locale.iso8859-1 > extra/locale/wctables.h && break; \ done make[4]: *** [extra/locale/wctables.h] Error 1 -snap- This seems to also depend on the host system used, e.g. running a fresh checkout on a Debian 7.6 system triggered this error, while running the very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it. This is the configuration I used: -snip- buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_Default=y CONFIG_DEVEL=y CONFIG_BUILD_NLS=y CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads" -snap- In the ticket mentioned above, a patch is referenced which solves this issue. Note, that this issue is also present on 14.07. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43446
* toolchain: uClibc: fix build with CONFIG_BUILD_NLS selectedFelix Fietkau2014-11-302-0/+4
| | | | | | | | | | | | | | | | | Without this patch, selecting "Compile with full language support" results in the following question during build: ... Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y Locale data > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW) 2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW) 3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW) choice[1-3]: Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43445
* uClibc: Backport uClibc master git commit ↵John Crispin2014-10-141-0/+269
| | | | | | | | | | | fd355bc1dbcb794ae1abf0fad1459e28d8567ba0 (eventfd.h: Use new "bits/" scheme for arch-specific flags) This patch adds missing architecture-specific headers for use with eventfd(2). Fixes #16679. Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com> SVN-Revision: 42916
* uClibc: fix copy&pasted typo in the stat fixFelix Fietkau2014-07-101-9/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41573
* uClibc: add a whole bunch of mips64 related fixesFelix Fietkau2014-07-1012-10/+1004
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41570
* uClibc: add a patch to reduce vasprintf allocation size (fixes #13024)Felix Fietkau2014-05-171-0/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40774
* uClibc: backport mount.h updateLuka Perkov2014-03-241-0/+91
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40009
* uClibc: Fix lookup with DNS search in multi-threaded application.Felix Fietkau2013-12-281-0/+12
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> SVN-Revision: 39179
* uClibc: make res_init() thread safeFelix Fietkau2013-12-281-0/+55
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> SVN-Revision: 39178
* uClibc: Fix threaded use of res_ functions.Felix Fietkau2013-12-281-0/+126
| | | | | | | | | | | | This patch moves res_init() back above #undef _res. It fixes dns resolving issue in OpenWrt (uClibc related - OpenWrt ticket #11929). It is a backport from uClibc master. Further details are there: http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092 Signed-off-by: Jiri Slachta <slachta@cesnet.cz> SVN-Revision: 39177
* uClibc: disable sha256 and sha512 for libcrypt - saves about 13k ↵Felix Fietkau2013-12-161-2/+2
| | | | | | | | uncompressed in libcrypt Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39105
* replace the mips64 fixes patch with an upstream commitImre Kaloz2013-11-222-14/+75
| | | | | | | | The current one broke all other 64 bit targets.. DOH! Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38889
* uClibc: Deactivate oversized thread stack cacheFelix Fietkau2013-11-181-0/+11
| | | | | | | | | | | | | A small system like the common home router doesn't have 40 MiB per process for a dirty stack cache. This can easily lead to an overbooking OOM problem and caused a lot of hangs+reboots on 32 MiB systems running nodogsplash. Not using a stack cache can increase the time to spawn new threads. This is hopefully no problem for system not running a lot of parallel computations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 38851
* uClibc: get rid of bogus unused strlcpy definition to fix build errorsFelix Fietkau2013-10-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38567
* uClibc: fix scoped-IPv6-addresses in getnameinfoSteven Barth2013-09-301-0/+26
| | | | SVN-Revision: 38261
* toolchain: refresh uClibc patchesFlorian Fainelli2013-09-116-78/+23
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37939
* build: decouple the mips16 support flag from the toolchainFelix Fietkau2013-08-141-2/+0
| | | | | | | | | Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
* uClibc: build with debug symbols by default (without changing other compile ↵Felix Fietkau2013-07-241-1/+1
| | | | | | | | related flags) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37525
* uClibc: use position independent code for crt1, slightly reduces size of all ↵Felix Fietkau2013-06-301-0/+11
| | | | | | | | executables Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37096
* toolchain: get rid of uclibc version kconfig symbol overloadingFelix Fietkau2013-04-182-10/+6
| | | | SVN-Revision: 36356
* uClibc: unbreak ld-uClibc on non-64bit platformsFelix Fietkau2013-04-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36239
* toolchain/uClibc: backport a MIPS64 fix from openadkFlorian Fainelli2013-04-051-0/+25
| | | | | | | | | Fixes uClibc dynamic loader name requested by executables when targetting MIPS64 n64 Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36208
* toolchain/uClibc: handle different MIPS64 ABIsFlorian Fainelli2013-04-057-1/+110
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36207
* toolchain/uClibc: Disable mips16 for uClibc for nowFlorian Fainelli2013-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* toolchain: uclibc: fix typo in uclibc common configJonas Gorski2013-02-211-1/+1
| | | | | | | | | | Based on a patch from Oliver Metz. Closes #10735. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35709
* remove support for ubicom32Florian Fainelli2012-11-304-4374/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34432
* add 3.7-rc6 support (patch 820 still has to be fixed)Imre Kaloz2012-11-181-0/+366
| | | | SVN-Revision: 34247
* uClibc: backport a fix for dlsym(RTLD_NEXT, ...) useFlorian Fainelli2012-11-111-0/+26
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34142
* build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)Felix Fietkau2012-11-082-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 34122
* uClibc: backport support for assignment-allocation character %m in sscanfFelix Fietkau2012-10-291-0/+184
| | | | SVN-Revision: 34001
* toolchain: enable pthread debug support in uclibcFelix Fietkau2012-10-291-1/+1
| | | | SVN-Revision: 33996
* toolchain: enable parallel build for uClibc, remove the obsolete ↵Felix Fietkau2012-10-172-1/+3
| | | | | | TOOLCHAIN_PARALLEL config symbol SVN-Revision: 33807
* uClibc: fix uClibc implementation of eventfdFlorian Fainelli2012-09-191-0/+59
| | | | | | | | | | | | | | | 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
* uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning ↵Felix Fietkau2012-06-301-0/+1
| | | | | | logspam SVN-Revision: 32558
* uClibc: split the package into the main directory and the headers/ and ↵Felix Fietkau2012-06-304-115/+152
| | | | | | utils/ subdirectories to clean up build order and fix quilt support SVN-Revision: 32557
* toolchain/uClibc: fix getting the nameserver from _res state after res_init. ↵Felix Fietkau2012-06-301-0/+15
| | | | | | fixes displaying the nameserver in busybox nslookup SVN-Revision: 32555