Commit Graph

1008 Commits (b972c8f96941469c9441af91e3fa6bba6215af35)

Author SHA1 Message Date
Felix Fietkau c19411a781 toolchain: get rid of musl version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:02 +00:00
Felix Fietkau 7ef7ccea3b toolchain: get rid of eglibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:55 +00:00
Felix Fietkau 6add3f9184 toolchain: get rid of uclibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:48 +00:00
Felix Fietkau 99392df05a toolchain: get rid of gcc kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:40 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau 59f2fed12c gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 10:11:41 +00:00
Felix Fietkau 2810bbb09a uClibc: unbreak ld-uClibc on non-64bit platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 10:11:38 +00:00
Florian Fainelli ecc844af73 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:37 +00:00
Florian Fainelli c6f7a359ec toolchain/uClibc: handle different MIPS64 ABIs
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:31 +00:00
Florian Fainelli 6ac8d169bd toolchain: musl is not available on MIPS64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:26 +00:00
Florian Fainelli a4fbc42a5a toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:23 +00:00
Florian Fainelli d32ac499b8 buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:19 +00:00
Florian Fainelli 72fa8af64d toolchain/gcc: .init and .fini need to pick one ISA
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.

This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:06 +00:00
Florian Fainelli 175a119a6a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:00 +00:00
Imre Kaloz 1c30e6851a [toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:41:07 +00:00
Florian Fainelli 9b7de537ee toolchain/gcc: remove reference to llvm introduced in r36155
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:03:14 +00:00
Florian Fainelli 6ff8fa8e52 toolchain/gcc: add support for GCC 4.8.0
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:00:35 +00:00
Florian Fainelli 052e72c782 toolchain/gcc: update 4.7-linaro to 2013.03
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:00:23 +00:00
Imre Kaloz 90dc46f932 [toolchain/gcc]: drop 4.5 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:46:41 +00:00
Imre Kaloz 91d0182a5d [toolchain/gcc]: cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:43:23 +00:00
Imre Kaloz b155532da5 [toolchain/gcc]: fixup 4.7 configure options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:13:46 +00:00
Imre Kaloz 51fa1691b8 [toolchain/gcc]: llvm is marked broken for two and a half year now, nuke it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:08:38 +00:00
Florian Fainelli 3b1b3e2fb6 toolchain/eglibc: add missing ld-search-paths patch to 2.17
this patch is a copy of
trunk/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch in
trunk/toolchain/eglibc/patches/2.17/200-add-ld-search-paths.patch
please use svn copy instead of applying it (like in
https://dev.openwrt.org/changeset/34290/)

the patch add /usr/lib in the ld search path (for eglibc 2.17),
thus helping libs like libnl-tiny.so (for iw), libjson.so.0 (for ubus,
jshn) to be found

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-29 13:16:09 +00:00
Luka Perkov d644f979e3 toolchain: stop generating broken symlink in TOOLCHAIN_DIR/lib
It turns out that the symlink may exists already by the time the toolchain
Makefile gets an opportunity to run. While we asked to replace the target, ln
doesn't do so until after dereferencing the existing symlink. This results in
an unintended symlink that refers to itself. Instead, create the link without
dereferencing any symlinks by using the -n option.

Signed-off-by: John Szakmeister <john@szakmeister.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-28 12:16:39 +00:00
Florian Fainelli aefe8e97ea gdb: update to 7.5-2012.12-1
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 10:06:10 +00:00
Florian Fainelli c60478ef64 toolchain/binutils: fix partial MD5 sum from r35813
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:52:36 +00:00
Florian Fainelli f2792fe405 toolchain/musl: add support for 0.9.9
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:27 +00:00
Florian Fainelli b926fe09d0 toolchain/binutils: add musl libc config.sub patch to 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:20 +00:00
Florian Fainelli b9f4311f67 toolchain/binutils: fix 2.19.1 MD5 sum
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:17 +00:00
Florian Fainelli 96e22ffbc1 toolchain/binutils: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:12 +00:00
Florian Fainelli f68626b80d toolchain/gcc: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:39:54 +00:00
Luka Perkov 8d1daccbbf [toolchain] gcc: don't build documentation
This closes #13039.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:16:33 +00:00
Luka Perkov 1ac0a747b6 [toolchain] gcc: remove support for 4.6.2
There are no good reasons for keeping this version around when 4.6.3 and
4.6-linaro are there.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 14:31:24 +00:00
Jonas Gorski e9e1a9b595 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:07 +00:00
Jo-Philipp Wich 5d7f822b66 buildroot: allow specifying libc personality for external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:06:10 +00:00
Florian Fainelli e54446c866 toolchain/eglibc: add support for 2.17
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 17:34:53 +00:00
Florian Fainelli b9da555e20 toolchain/gcc: fix the mips64 linker path to be more musl conforming
musl libc does not use /lib32 or /lib64 directories, just /lib

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 23:05:46 +00:00
Florian Fainelli 93c31da5f9 toolchain/musl: add parenthesis to the __ARE_4_EQUAL macro
Fixes warnings exposed by netifd while using IN6_ARE_ADDR_EQUAL turned
into errors.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 23:05:40 +00:00
Florian Fainelli 28703738e9 [toolchain] gcc: fix build for MIPS64 targets introduced by musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:40 +00:00
Florian Fainelli f3bb778f2b [toolchain] gcc-linaro-4.6: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:33 +00:00
Florian Fainelli b5c61645d2 [toolchain] gcc-linaro-4.7: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:29 +00:00
Florian Fainelli 415894edf2 toolchain/musl: simplify musl install steps
Some of these were copy/pasted from uClibc, but they are not necessary
at all for musl-libc.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:24 +00:00
Florian Fainelli 6c8a0f1389 toolchain/musl: update to 0.9.8
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:21 +00:00
Florian Fainelli 5db553697a toolchain/musl: fix typo on configuration symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:17 +00:00
Jo-Philipp Wich a514743b3d toolchain: use file_copy to install the initial gcc files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:47 +00:00
Jo-Philipp Wich 187d283f6d toolchain: remove duplicate default in bintutils Kconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 11:27:23 +00:00
Florian Fainelli edb46bb434 [toolchain] remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:55 +00:00
Florian Fainelli 49bd7a7188 [toolchain] gcc/4.5-linaro: backport musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 21:42:58 +00:00
Florian Fainelli b4b6c4336c [toolchain] musl: backport an upstream fix for MIPS and termios constants
Fixes weird console behavior with a musl rootfs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 22:43:11 +00:00
Florian Fainelli e259bbb116 [toolchain] musl: disable hardware FPU registers usage
This was crashing applications, thanks to Rich Felker for the suggestion.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 21:15:11 +00:00
Florian Fainelli 24cc4007ce [buildroot] add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
Florian Fainelli c1678d8799 [toolchain] gcc: remove support for 4.7.0
There are no good reasons for keeping this version around when 4.7.2 and
4.7-linaro are there.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:15 +00:00
Florian Fainelli 41c7dcfcdf [toolchain] eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:47 +00:00
Florian Fainelli 0dd9afae4e [toolchain] gcc: build with HOST_CFLAGS
Turns on -O2 optimization when building GCC thus making the cross-compiler a
little faster (about 25%).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 23:12:00 +00:00
Florian Fainelli b316ab42bb [toolchain] binutils: remove 2.21
There is no point in keeping around 2.21 when 2.21.1 which is a bugfix release
is there.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:43 +00:00
Florian Fainelli 05fb7699d1 [toolchain] gcc-4.6-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:39 +00:00
Florian Fainelli 7b1bad689a [toolchain] gcc-4.7-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:33 +00:00
Florian Fainelli 8414b2f2c1 [toolchain] binutils: add support for 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:28 +00:00
Florian Fainelli a74add1b91 [toolchain] binutils/2.22: backport an upstream fix for an assertion in the ARM backend.
See http://sourceware.org/bugzilla/show_bug.cgi?id=13990 for more details.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 17:32:37 +00:00
Imre Kaloz 43d2eb64cc [generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 18:52:38 +00:00
Florian Fainelli 2b4803f28c [toolchain] uClibc: backport a fix for dlsym(RTLD_NEXT, ...) use
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 16:10:50 +00:00
Felix Fietkau c1aff23c3e build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 15:08:31 +00:00
Florian Fainelli 51229124b9 [toolchain] eglibc: update to r21110
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 17:32:43 +00:00
Felix Fietkau 30168bcc18 eglibc: do not prompt for the revision, it is supposed to be changed by developers, not users.
fixes changing the eglibc version in menuconfig without resetting the config

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 13:16:22 +00:00
Felix Fietkau 2b8f1c2d9b eglibc: remove versions 2.12-2.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 13:16:18 +00:00
Felix Fietkau 164d5a9ac1 eglibc: add a fake libintl.h for cross-rpcgen and cross-zic to fix build on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:24:00 +00:00
Felix Fietkau 5dbff00d75 eglibc: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:23:55 +00:00
Felix Fietkau c480f34ecd eglibc: disable NIS/SUNRPC by default. RPC support is provided by librpc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:23:51 +00:00
Felix Fietkau 2ac0287fde uClibc: backport support for assignment-allocation character %m in sscanf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:38 +00:00
Felix Fietkau 4edf87e3e4 toolchain: enable pthread debug support in uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:16 +00:00
Felix Fietkau 9afeebbea7 toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 13:03:08 +00:00
Florian Fainelli 1b03aef757 [toolchain] gcc: add GCC 4.7.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 13:35:19 +00:00
Florian Fainelli 9bec8d760a [toolchain] gcc: add GCC 4.6.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 13:35:13 +00:00
Florian Fainelli 9fd4010f59 [toolchain] gcc: update 4.5-linaro to 4.5-2012.03
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:44 +00:00
Florian Fainelli 23cdf21b42 [toolchain] gcc: update 4.7-linaro to 4.7-2012.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:41 +00:00
Florian Fainelli a481f5d322 [toolchain] gcc: update gcc-4.6-linaro to 4.6-2012.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:38 +00:00
Florian Fainelli fe78894ed7 [toolchain] gdb: update to 7.5-2012.09
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:34 +00:00
Florian Fainelli b9a33c08d6 [toolchain] eglibc: remove duplicate line introduced in r33738
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:45:50 +00:00
Florian Fainelli aeb9305c5c [toolchain] gcc: add --with-long-double-128 for SPARC toolchain
This is required in order to build the final compiler.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:41 +00:00
Florian Fainelli 7bf973ee4e [toolchain] add support for eglibc 2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:38 +00:00
Florian Fainelli 256ab061a3 [toolchain] gcc: backport struct siginfo -> siginfo_t renaming
Otherwise newer eglibc toolchain will simply fail to build.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:25 +00:00
Felix Fietkau ce44bef353 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
Florian Fainelli 5793f27be6 [toolchain] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:48 +00:00
Felix Fietkau 759489f67b binutils: backport ld patch to fix ARM specific issues with --gc-sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 06:33:07 +00:00
Felix Fietkau ceab097ad9 gcc: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:19 +00:00
Felix Fietkau 640986da6e binutils: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:16 +00:00
Felix Fietkau 3d368d9b97 gdb: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:13 +00:00
Florian Fainelli 406c2c85c7 [toolchain] gcc: add upstream fixes for GCC bug 54494
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-07 10:31:58 +00:00
Florian Fainelli 4366883f0d [toolchain] gcc: add upstream fixes for GCC bug 54369
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-07 10:31:54 +00:00
Felix Fietkau 5d7bf2454a kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
Felix Fietkau 166ea494f1 toolchain: sync eglibc headers/build split with uclibc changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 14:23:32 +00:00
Felix Fietkau c2922b1b10 toolchain: fix libc headers dependency on kernel headers + minimal gcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 10:43:59 +00:00
Felix Fietkau f402383bf3 uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:09 +00:00
Felix Fietkau 87cb557dcb uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:05 +00:00
Felix Fietkau a8311020d6 toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
Felix Fietkau dfa9eeadb6 toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:23 +00:00
Felix Fietkau 68e39d682c toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:19 +00:00
Felix Fietkau 488f47237e 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
Felix Fietkau 2587312839 eglibc: work around a broken configure test to fix compile errors on x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 16:19:48 +00:00
Felix Fietkau 2462884c05 toolchain: enable gdb by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 14:32:11 +00:00