Commit Graph

1088 Commits (969192c4839afb922a82b2894d442af558916ae5)

Author SHA1 Message Date
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
Jo-Philipp Wich f0cf4d40ce toolchain/insight: update download location and MD5 sum to status quo
insight GDB version 6.8-1 sources have apparently changed.
The original file is no longer available upstream.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:41:48 +00:00
Felix Fietkau 50a8a64404 eglibc: use 2.15 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:43:49 +00:00
Felix Fietkau 0d0fe2e858 eglibc: add version 2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:24:25 +00:00
Felix Fietkau b974ea4ba8 toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:24:13 +00:00
Felix Fietkau 676f124d95 uClibc: update to 0.9.33.2, fixes #4420
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:32 +00:00
Felix Fietkau cfb06903fc uClibc: remove 0.9.32, it is no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:28 +00:00
Daniel Dickinson d9851d2ebd [toolchain] kernel-headers: Fix patch application for kernel-headers and a patch that fixes exposure of a kernel-only data type (umode_t) to application layer which causes compile errors in ext2_fs.h using programs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 05:02:27 +00:00
Imre Kaloz 9d2b3add2a [coldfire]: switch to 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 07:00:17 +00:00
Mirko Vogt 3b19d53edd [toolchain/glibc*] purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:12 +00:00
Mirko Vogt d7efd1199d [toolchain/eglibc] drop support for eglibc version trunk/HEAD
When selecting a specific eglibc version, it comes with a specific SVN
revision that should not be modified as it (more or less) correspond to
a tagged release. This patch disable the possibility to select a specific
SVN revision on known eglib versions.

This patch also disables the possibility to select the trunk branch of
eglibc. There are multiple reasons for that:

* trunk/HEAD may not even compile

* the OpenWrt built system makes using trunk/HEAD a difficult thing, as
OpenWRT fetches the source tree and store it in a compressed tar archive.
Subsequent build get the source from the tar archive - not from SVN,
making the use of trunk/HEAD largelly innefective.

* we cannot know the corresponding version of trunk/HEAD, meaning that
we'll face compiling issues when we'll try to copy the libc files -
unless the build system is fixed with this specific issue in mind.

Signed-off-by: Emmanuel Deloget <logout@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:47:48 +00:00
Mirko Vogt 4310c0cf92 [toolchain/eglibc] set version string of eglibc version 2.14 to 2.14.1
eglibc version number depends on the branch and on the maintenance release
(i.e. the SVN revision). Changing the revision may change the maintenance
version. This patch correlate the SVN revision to the correct version
number - without this change  eglibc 2.14 provoke build errors when
building the base-files package (example, for 2.14):

$ make package/base-files/compile V=1
   make[1] package/base-files/compile
   make[2] -C package/opkg host-compile
   make[2] -C package/base-files-network compile
   make[2] -C package/base-files compile
cp: cannot stat `/home/me/openwrt/trunk/staging_dir/toolchain-arm_v7-a_gcc-4.6-linaro_eglibc-trunk_eabi/lib/ld-2.14.so': No such file or directory

Signed-off-by: Emmanuel Deloget <logout@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:18:06 +00:00
Mirko Vogt 2d0009e7fe [toolchain/eglibc] drop eglibc version 2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:10:32 +00:00
Jo-Philipp Wich 8a777e9a30 [toolchain] gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 12:05:34 +00:00
Mirko Vogt f3ed2f9126 [toolchain/gcc] remove screwed up patch for gcc 4.7-linaro which got committed by accident
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 10:23:49 +00:00
Mirko Vogt 3ec24f82e1 [toolchain/gcc] add support for GCC 4.7-linaro (based on GCC 4.7.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 09:58:31 +00:00
Jo-Philipp Wich 1272afb1c4 [toolchain] gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 03:02:39 +00:00
Mirko Vogt 132aa096ad [toolchain/eglibc] when choosing eglibc select eglibc version 2.13 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 01:10:37 +00:00
Mirko Vogt aee919a22a [toolchain/eglibc] remove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12
Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 01:10:20 +00:00
Mirko Vogt 20868833d0 [toolchain/eglibc] level up eglibc versions to latest revisions of its respective branches
in particular this solves the issue that eglibc version 2.x produced so-files having the version string 2.(x-1) in its names which confused the toolchain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 08:40:45 +00:00
Jo-Philipp Wich f259f91689 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 07:48:02 +00:00
Jo-Philipp Wich a432055c7e [toolchain] exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 21:04:06 +00:00
Imre Kaloz 240c8ea1fe [toolchain/gcc/4.4]: upgrade to gcc 4.4.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:00:03 +00:00
Mirko Vogt 75df536d1b [toolchain/gcc] add support for gcc 4.7.0 - thanks to acoul!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-07 15:34:41 +00:00
Florian Fainelli b4c56b4d5e [toolchain/uClibc] backport upstream fix for dst computation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 10:57:50 +00:00
Gabor Juhos d414ea291f toolchain/gcc-4.6.2: fix v4bx patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:49 +00:00
Gabor Juhos 89c81ea6b8 toolchain/gcc-4.6-linaro: fix v4bx patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:47 +00:00
Felix Fietkau d31f8e6874 gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:05 +00:00
Felix Fietkau 9f1e04f9ae gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they are tricky to deal with wrt. libgcc. they cannot be linked dynamically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:01 +00:00
Felix Fietkau 7472c7c236 gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:08 +00:00
Felix Fietkau 927594bdea gcc: enable --with-headers for the final toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:01 +00:00
Felix Fietkau 1f0e01a793 gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 20:25:47 +00:00
Felix Fietkau 4c6c0c2e6c glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:01 +00:00
Imre Kaloz 2c60c67c19 [toolchain/binutils]: enable 2.22 for unsupported archs if BROKEN is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:56:47 +00:00
Imre Kaloz db6cb4a031 [toolchain/gcc]: upgrade vanilla gcc to 4.6.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:48:39 +00:00
Imre Kaloz 0200f4feb2 [toolchain/binutils]: use binutils 2.22 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:17:54 +00:00
Imre Kaloz 053f92de0c [toolchain/uClibc]: use uClibc 0.9.33 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:15:29 +00:00
Imre Kaloz 2a65a2340e [tolchain/gcc]: use Linaro GCC 4.6 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:14:18 +00:00
Imre Kaloz 1f355ba283 [toolchain/gcc]: update to latest Linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 08:50:18 +00:00
Gabor Juhos deeb515868 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 16:07:33 +00:00
Gabor Juhos 338ef23a6c toolchain/uClibc: fix 0.9.33 build error on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 13:41:53 +00:00
Imre Kaloz 85e9b90485 [toolchain/binutils]: add binutils 2.22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:49:48 +00:00
Imre Kaloz 52d118e8be [toolchain/uClibc]: add 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:45:44 +00:00
Imre Kaloz 48b84f5b2a [toolchain/uClibc]: nuke a 2.4 skeleton
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 11:11:32 +00:00
Mirko Vogt ce751a9279 [toolchain/eglibc] eglibc 2.14 needs our eglibc patchset as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 19:39:37 +00:00
Mirko Vogt 162666ffcc [toolchain/binutils] adjust md5sum of v2.21.1 since archive got replaced meanwhile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 22:54:30 +00:00
Jo-Philipp Wich 03eb729498 [toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from 
TARGET_LDFLAGS and TARGET_CPPFLAGS.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
Jo-Philipp Wich ac2f1b4f01 [buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or 
CONFIG_IPV6 are enabled but not supported by the toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
Imre Kaloz dbbcc5eb2e [toolchain/gcc]: upgrade to latest linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
Felix Fietkau fab0eb7e21 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:20 +00:00
Jo-Philipp Wich 949f74899c [toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN
Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or
even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem
by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:34:23 +00:00
Jo-Philipp Wich 2470702e46 [toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich a13cb527c9 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
Felix Fietkau b93d34ddef build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 19:19:33 +00:00
Florian Fainelli 0353cc96d8 [toolchain] uclibc: backport upstream signalfd patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-25 15:59:21 +00:00
Hauke Mehrtens 2ce47af8ca gcc: add 4.6-linaro version 4.6-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:13:54 +00:00
Hauke Mehrtens cc787525ab gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:12:47 +00:00
Hauke Mehrtens 26af84ab12 gcc: move patches as the name changed.
This was missing in r28038.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:09:42 +00:00
Hauke Mehrtens caba936a9b gcc: update gcc-4.5-linaro to 4.5-2011.08
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:07:15 +00:00
Hauke Mehrtens 5000682f07 gcc: rename linaro to 4.5-linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:06:17 +00:00
Hauke Mehrtens 749ff706f1 binutils: add binutils 2.21.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 09:53:58 +00:00
Felix Fietkau 058345b92f kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 16:39:04 +00:00
Jonas Gorski a93d6d6ffc 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 23:32:44 +00:00
Felix Fietkau 9909b62a8c uClibc: backport an x86 compile fix from mainline (thx, swalker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 18:26:02 +00:00
Felix Fietkau a648edde9f uClibc: update to latest 0.9.32.1 git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 13:38:58 +00:00
Felix Fietkau 8d53f23ad5 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 10:27:48 +00:00
Imre Kaloz aca47677c3 [toolchain]: In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
Add it back.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:34:18 +00:00
Imre Kaloz f01ffe22cf [toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 11:15:00 +00:00
Felix Fietkau f5c37ab96a toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 08:13:50 +00:00
Felix Fietkau 4aa7a9d82e uClibc: fix messed up patch headers in fts patch (patch from #9671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 07:14:23 +00:00
Imre Kaloz c7f23f3bc0 [toolchain/gcc/linaro]: fix ppc toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 22:19:38 +00:00
Florian Fainelli d91a77e465 [toolchain] uclibc: backport FTS support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:57 +00:00
Florian Fainelli 5730f1c9a3 [toolchain] eglibc: add support for 2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:47 +00:00
Florian Fainelli 736856c208 [toolchain] remove reference to old eglibc versions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:44 +00:00
Felix Fietkau 59d9085226 eglibc: remove old versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:00 +00:00
Felix Fietkau 4867656d72 eglibc: fix portability issues rpcgen and zic, fixes compile on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:46:39 +00:00
Imre Kaloz 462da43074 [toolchain/gcc]: simplify configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:50:26 +00:00
Imre Kaloz afc6a12d27 [toolchain]: nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:43:26 +00:00
Imre Kaloz 7a80c90573 [toolchain/gcc]: both coldfire and etrax are broken and should use a newer gcc when they will be fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:28:16 +00:00
Imre Kaloz e65b1e368e [toolchain/gcc]: switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:44:03 +00:00
Imre Kaloz 83277098dc [toolchain/gcc]: bump the 4.4 flavour to 4.4.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:39:50 +00:00
Imre Kaloz 8f9fb69106 [toolchain]: replace gcc 4.5.2 support with 4.6.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:43:15 +00:00
Imre Kaloz f6d3fbaf4e [toolchain]: add the latest avr32 toolchain patches (with additional fixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:35:21 +00:00
Imre Kaloz 21c79862d1 [toolchain/gcc]: upgrade the linaro gcc to 2011.06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 08:10:12 +00:00
Mirko Vogt a79052016b [toolchain/eglibc] eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 21:47:14 +00:00
Felix Fietkau 0b4c80a1c4 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 14:22:55 +00:00
Mirko Vogt 83e981ca76 [toolchain/eglibc] manual/Makefile: Don't mix pattern rules with normal rules.
This change got committed into the official eglibc repository in commit 11461.

Thanks to Philip Prindeville for pointing this out.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 14:38:26 +00:00
Jo-Philipp Wich 5945c8a227 [toolchain] add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:46:24 +00:00
Jo-Philipp Wich 481279fb32 [toolchain] introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:37:39 +00:00
Mirko Vogt b8fad49ff3 Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"
Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"

Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:

""
Building with -Os
     EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.
""

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 11:12:46 +00:00
Mirko Vogt 49540823df [toolchain/eglibc] explicitly disable the use of ldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 17:53:41 +00:00
Mirko Vogt 82322c1e1c [toolchain/eglibc] patch: add /usr/lib to default search path of dynamic linker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:07 +00:00
Mirko Vogt 8fd46011a8 [toolchain/eglibc] add support for eglibc version 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:05 +00:00
Mirko Vogt 0cb5e92400 [toolchain/eglibc} eglibc in fact can be built with -Os
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:01 +00:00
Mirko Vogt 764cdd9817 [toolchain/eglibc] when selecting eglibc, use version 2.12 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 07:33:28 +00:00
Mirko Vogt b80f0f3d6e [toolchain/glibc] fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-17 22:51:24 +00:00
Felix Fietkau 8e31c2a97b toolchain/gdb: fix compile for powerpc targets, refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-11 13:25:00 +00:00
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 ba73142018 [toolchain/gcc] remove empty file (patch went upstream and file didn't get deleted but only cleared)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 08:37:25 +00:00
Mirko Vogt 22d346de35 [toolchain/gcc] upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 00:13:56 +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 ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Imre Kaloz 1285a06923 [toolchain]: fixup armeb, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:35:31 +00:00
Imre Kaloz 6e26fed85f [toolchain]: simplify TARGET_SUFFIX selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:33:03 +00:00
Felix Fietkau 1e298cab6f toolchain: fix r26004
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:30 +00:00
Alexandros C. Couloumbis 71afee3f5e toolchain: fix r25969
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:21:00 +00:00
Felix Fietkau e442f21024 fix target name mixup caused by r25928
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 11:37:50 +00:00
Felix Fietkau c47460467c gcc: move the optimized assembler helpers back into the static libgcc and skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 13:10:11 +00:00
Imre Kaloz c1cfca24f9 [toolchain/gdb]: upgrade to the 2011.03-0 release from Linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 07:51:06 +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 3fdc3e9659 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06 22:54:30 +00:00
Felix Fietkau 3f3a1e406d toolchain/gcc (linaro): fix extension elimination optimization
This applies Richard Sandiford's patch for Linaro GCC as an alternative to disabling the Linaro-specific extension elimination optimization altogether.

Original patch: https://bugs.launchpad.net/gcc-linaro/+bug/728315
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 21:38:15 +00:00
Alexandros C. Couloumbis d64dd300b8 toolchain/gcc: fix r25709 (closes #8964)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:09:06 +00:00
Felix Fietkau 09b4a9572c gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 17:54:02 +00:00
Felix Fietkau e9f02cd4dd toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 15:38:58 +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
Felix Fietkau c2f05b9877 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:47 +00:00