1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-17 12:43:56 +02:00
Commit Graph

1113 Commits

Author SHA1 Message Date
Felix Fietkau
ba29b8f04f gcc: port missing patches from 4.6 to 4.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36693
2013-05-23 10:21:59 +00:00
Jonas Gorski
6a4bd9012e gcc: fix avr32 default GCC version
Fix gcc version default after r36355 removing all GCC_DEFAULT_VERSION
symbols.

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

SVN-Revision: 36688
2013-05-22 08:26:57 +00:00
Felix Fietkau
2430e9a4f5 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Felix Fietkau
a424aa6123 toolchain/musl: add version 0.9.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36591
2013-05-09 20:34:21 +00:00
Felix Fietkau
7054f27c6f toolchain/musl: fix libstdc++ build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36590
2013-05-09 20:02:57 +00:00
Felix Fietkau
5f14f32d8a toolchain/musl: fix build issues on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36588
2013-05-09 19:26:53 +00:00
Felix Fietkau
6b4f3344df toolchain/gcc: add support for 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36545
2013-05-04 13:37:41 +00:00
Felix Fietkau
f8d8aadb42 toolchain/gcc: forward port missing patches to gcc 4.8.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36544
2013-05-04 13:37:37 +00:00
Jo-Philipp Wich
a98cdd9892 toolchain: add missing patch to gcc v4.8.0
SVN-Revision: 36511
2013-05-02 11:25:13 +00:00
Jonas Gorski
73b7c776e9 toolchain: gcc: backport fixes for gcc bug 54295
Fix "Widening multiply-accumulate operation uses wrong value extension"
for 4.7, 4.7-linaro and 4.6-linaro, which backported the broken code to 4.6.
Vanilla 4.6 is unaffected.

Fixes #13420.

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

SVN-Revision: 36486
2013-04-29 15:40:21 +00:00
Felix Fietkau
97e7fdf6fd toolchain: get rid of libc implementation symbol overloading
SVN-Revision: 36360
2013-04-18 12:05:08 +00:00
Felix Fietkau
eac3474257 toolchain: get rid of musl version kconfig symbol overloading
SVN-Revision: 36359
2013-04-18 12:05:02 +00:00
Felix Fietkau
68f2e7f940 toolchain: get rid of eglibc version kconfig symbol overloading
SVN-Revision: 36358
2013-04-18 12:04:55 +00:00
Felix Fietkau
4aa6663599 toolchain: get rid of uclibc version kconfig symbol overloading
SVN-Revision: 36356
2013-04-18 12:04:48 +00:00
Felix Fietkau
39463bf146 toolchain: get rid of gcc kconfig symbol overloading
SVN-Revision: 36355
2013-04-18 12:04:40 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau
c270db592a gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36240
2013-04-07 10:11:41 +00:00
Felix Fietkau
46072644e5 uClibc: unbreak ld-uClibc on non-64bit platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36239
2013-04-07 10:11:38 +00:00
Florian Fainelli
f4c09ea554 toolchain/uClibc: backport a MIPS64 fix from openadk
Fixes uClibc dynamic loader name requested by executables when
targetting MIPS64 n64

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

SVN-Revision: 36208
2013-04-05 12:36:37 +00:00
Florian Fainelli
463b80c3d1 toolchain/uClibc: handle different MIPS64 ABIs
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36207
2013-04-05 12:36:31 +00:00
Florian Fainelli
2f972664ec toolchain: musl is not available on MIPS64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36206
2013-04-05 12:36:26 +00:00
Florian Fainelli
e032922266 toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36205
2013-04-05 12:36:23 +00:00
Florian Fainelli
348cae15d2 buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36204
2013-04-05 12:36:19 +00:00
Florian Fainelli
9dc38e48f7 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>

SVN-Revision: 36200
2013-04-05 12:36:06 +00:00
Florian Fainelli
750115a65c toolchain/uClibc: Disable mips16 for uClibc for now
For now, build uclibc without -mips16. There's no mips16 syscall
support AFAIK and uclibc uses inline assembly syscalls a lot.

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

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

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

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

SVN-Revision: 36199
2013-04-05 12:36:00 +00:00
Imre Kaloz
84d0582ddb remove the old (and nonworking) hack and identify our patched GCCs properly
SVN-Revision: 36189
2013-04-03 10:41:07 +00:00
Florian Fainelli
4dd9e8dc9b toolchain/gcc: remove reference to llvm introduced in r36155
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36156
2013-04-02 16:03:14 +00:00
Florian Fainelli
a54e305a8b toolchain/gcc: add support for GCC 4.8.0
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36155
2013-04-02 16:00:35 +00:00
Florian Fainelli
558d35c754 toolchain/gcc: update 4.7-linaro to 2013.03
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36154
2013-04-02 16:00:23 +00:00
Imre Kaloz
2a390f5706 drop 4.5 support
SVN-Revision: 36149
2013-04-01 15:46:41 +00:00
Imre Kaloz
48612b3b4a cleanup
SVN-Revision: 36148
2013-04-01 15:43:23 +00:00
Imre Kaloz
99d4d9a148 fixup 4.7 configure options
SVN-Revision: 36146
2013-04-01 15:13:46 +00:00
Imre Kaloz
9231162c7e llvm is marked broken for two and a half year now, nuke it
SVN-Revision: 36145
2013-04-01 15:08:38 +00:00
Florian Fainelli
f18de830e1 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>

SVN-Revision: 36141
2013-03-29 13:16:09 +00:00
Luka Perkov
c0de55b32c 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>

SVN-Revision: 36140
2013-03-28 12:16:39 +00:00
Florian Fainelli
12b686ed39 gdb: update to 7.5-2012.12-1
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36108
2013-03-22 10:06:10 +00:00
Florian Fainelli
781e7dd18b toolchain/binutils: fix partial MD5 sum from r35813
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35816
2013-02-26 16:52:36 +00:00
Florian Fainelli
5a0f4a89eb toolchain/musl: add support for 0.9.9
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35815
2013-02-26 16:40:27 +00:00
Florian Fainelli
10c38f50a0 toolchain/binutils: add musl libc config.sub patch to 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35814
2013-02-26 16:40:20 +00:00
Florian Fainelli
f08ef57424 toolchain/binutils: fix 2.19.1 MD5 sum
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35813
2013-02-26 16:40:17 +00:00
Florian Fainelli
d417049c4a toolchain/binutils: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35812
2013-02-26 16:40:12 +00:00
Florian Fainelli
2935823a42 toolchain/gcc: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35808
2013-02-26 16:39:54 +00:00
Luka Perkov
098bd91f5e gcc: don't build documentation
This closes #13039.

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

SVN-Revision: 35807
2013-02-26 16:16:33 +00:00
Luka Perkov
a85019072f 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>

SVN-Revision: 35805
2013-02-26 14:31:24 +00:00
Jonas Gorski
55f65c5c1d toolchain: uclibc: fix typo in uclibc common config
Based on a patch from Oliver Metz.

Closes #10735.

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

SVN-Revision: 35709
2013-02-21 11:45:07 +00:00
Jo-Philipp Wich
9622f68581 buildroot: allow specifying libc personality for external toolchains
SVN-Revision: 35703
2013-02-20 15:06:10 +00:00
Florian Fainelli
5c8783e02a toolchain/eglibc: add support for 2.17
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35515
2013-02-07 17:34:53 +00:00
Florian Fainelli
fe766227a2 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>

SVN-Revision: 35406
2013-01-29 23:05:46 +00:00
Florian Fainelli
b550ade727 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>

SVN-Revision: 35404
2013-01-29 23:05:40 +00:00
Florian Fainelli
5ae9a4f830 gcc: fix build for MIPS64 targets introduced by musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35046
2013-01-07 18:16:40 +00:00
Florian Fainelli
2e8be0cc4b gcc-linaro-4.6: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35044
2013-01-07 18:16:33 +00:00
Florian Fainelli
b71fdb0abf gcc-linaro-4.7: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35043
2013-01-07 18:16:29 +00:00
Florian Fainelli
61f19f555f 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>

SVN-Revision: 34598
2012-12-10 14:24:24 +00:00
Florian Fainelli
629ba45a9b toolchain/musl: update to 0.9.8
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34597
2012-12-10 14:24:21 +00:00
Florian Fainelli
f00891b96e toolchain/musl: fix typo on configuration symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34596
2012-12-10 14:24:17 +00:00
Jo-Philipp Wich
57d29c25f5 toolchain: use file_copy to install the initial gcc files
SVN-Revision: 34440
2012-12-02 12:20:47 +00:00
Jo-Philipp Wich
9f3dc9afa7 toolchain: remove duplicate default in bintutils Kconfig
SVN-Revision: 34436
2012-12-02 11:27:23 +00:00
Florian Fainelli
4801705d83 remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
2012-11-30 10:53:55 +00:00
Florian Fainelli
bf9af32738 gcc/4.5-linaro: backport musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34425
2012-11-29 21:42:58 +00:00
Florian Fainelli
2a01fa43a5 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>

SVN-Revision: 34318
2012-11-23 22:43:11 +00:00
Florian Fainelli
970756c6d7 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>

SVN-Revision: 34317
2012-11-23 21:15:11 +00:00
Florian Fainelli
6b63716262 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>

SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Florian Fainelli
bca3953ee5 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>

SVN-Revision: 34296
2012-11-21 20:27:15 +00:00
Florian Fainelli
426d806994 eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34290
2012-11-21 20:26:47 +00:00
Florian Fainelli
5d37a99a01 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>

SVN-Revision: 34266
2012-11-19 23:12:00 +00:00
Florian Fainelli
cf440ae716 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>

SVN-Revision: 34265
2012-11-19 19:37:43 +00:00
Florian Fainelli
9659e20d57 gcc-4.6-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34264
2012-11-19 19:37:39 +00:00
Florian Fainelli
d82044de9c gcc-4.7-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34263
2012-11-19 19:37:33 +00:00
Florian Fainelli
274c21cd8e binutils: add support for 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34262
2012-11-19 19:37:28 +00:00
Florian Fainelli
81128b9598 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>

SVN-Revision: 34260
2012-11-19 17:32:37 +00:00
Imre Kaloz
935ca3f3eb add 3.7-rc6 support (patch 820 still has to be fixed)
SVN-Revision: 34247
2012-11-18 18:52:38 +00:00
Florian Fainelli
76553002d9 uClibc: backport a fix for dlsym(RTLD_NEXT, ...) use
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34142
2012-11-11 16:10:50 +00:00
Felix Fietkau
291d24c3cc build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34122
2012-11-08 15:08:31 +00:00
Florian Fainelli
9a52ec4af8 eglibc: update to r21110
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34036
2012-10-31 17:32:43 +00:00
Felix Fietkau
c2f2b3f903 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>

SVN-Revision: 34029
2012-10-31 13:16:22 +00:00
Felix Fietkau
83e392ba73 eglibc: remove versions 2.12-2.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34028
2012-10-31 13:16:18 +00:00
Felix Fietkau
7efe435f49 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>

SVN-Revision: 34026
2012-10-31 00:24:00 +00:00
Felix Fietkau
54f799dd58 eglibc: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34025
2012-10-31 00:23:55 +00:00
Felix Fietkau
76a05a13cf eglibc: disable NIS/SUNRPC by default. RPC support is provided by librpc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34024
2012-10-31 00:23:51 +00:00
Felix Fietkau
96f31bf6ae uClibc: backport support for assignment-allocation character %m in sscanf
SVN-Revision: 34001
2012-10-29 19:25:38 +00:00
Felix Fietkau
b5212d8ab3 toolchain: enable pthread debug support in uclibc
SVN-Revision: 33996
2012-10-29 19:25:16 +00:00
Felix Fietkau
c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
2012-10-17 13:03:08 +00:00
Florian Fainelli
5013a897c5 gcc: add GCC 4.7.2
SVN-Revision: 33763
2012-10-14 13:35:19 +00:00
Florian Fainelli
ba446684e0 gcc: add GCC 4.6.3
SVN-Revision: 33762
2012-10-14 13:35:13 +00:00
Florian Fainelli
3a31553a0e gcc: update 4.5-linaro to 4.5-2012.03
SVN-Revision: 33760
2012-10-13 19:19:44 +00:00
Florian Fainelli
42c4a16172 gcc: update 4.7-linaro to 4.7-2012.10
SVN-Revision: 33759
2012-10-13 19:19:41 +00:00
Florian Fainelli
5d223006f9 gcc: update gcc-4.6-linaro to 4.6-2012.10
SVN-Revision: 33758
2012-10-13 19:19:38 +00:00
Florian Fainelli
1b33268404 gdb: update to 7.5-2012.09
SVN-Revision: 33757
2012-10-13 19:19:34 +00:00
Florian Fainelli
c730636027 eglibc: remove duplicate line introduced in r33738
SVN-Revision: 33740
2012-10-12 14:45:50 +00:00
Florian Fainelli
3b683b6feb gcc: add --with-long-double-128 for SPARC toolchain
This is required in order to build the final compiler.

SVN-Revision: 33739
2012-10-12 14:42:41 +00:00
Florian Fainelli
154123a8c6 add support for eglibc 2.16
SVN-Revision: 33738
2012-10-12 14:42:38 +00:00
Florian Fainelli
a72cadbbb4 gcc: backport struct siginfo -> siginfo_t renaming
Otherwise newer eglibc toolchain will simply fail to build.

SVN-Revision: 33736
2012-10-12 14:42:25 +00:00
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Florian Fainelli
b336c9904c uClibc: fix uClibc implementation of eventfd
uClibc declares eventfd() as taking two arguments but doesn't properly
pass the second argument to the kernel.

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

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

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

SVN-Revision: 33478
2012-09-19 15:13:48 +00:00
Felix Fietkau
e566454513 binutils: backport ld patch to fix ARM specific issues with --gc-sections
SVN-Revision: 33461
2012-09-19 06:33:07 +00:00
Felix Fietkau
d6c5846513 gcc: enable parallel builds
SVN-Revision: 33444
2012-09-15 14:18:19 +00:00
Felix Fietkau
62869d02bc binutils: enable parallel builds
SVN-Revision: 33443
2012-09-15 14:18:16 +00:00
Felix Fietkau
b7e1f0d7df gdb: enable parallel builds
SVN-Revision: 33442
2012-09-15 14:18:13 +00:00
Florian Fainelli
95f1b6d415 gcc: add upstream fixes for GCC bug 54494
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

SVN-Revision: 33329
2012-09-07 10:31:58 +00:00
Florian Fainelli
11f1712b49 gcc: add upstream fixes for GCC bug 54369
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

SVN-Revision: 33328
2012-09-07 10:31:54 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Felix Fietkau
5d19a38d80 toolchain: sync eglibc headers/build split with uclibc changes
SVN-Revision: 32584
2012-07-03 14:23:32 +00:00
Felix Fietkau
f1a1d0a262 toolchain: fix libc headers dependency on kernel headers + minimal gcc
SVN-Revision: 32582
2012-07-03 10:43:59 +00:00
Felix Fietkau
ab9f9e2383 uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
SVN-Revision: 32558
2012-06-30 21:44:09 +00:00
Felix Fietkau
c3caa1b768 uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
SVN-Revision: 32557
2012-06-30 21:44:05 +00:00
Felix Fietkau
59b384dabe toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
SVN-Revision: 32556
2012-06-30 21:43:59 +00:00
Felix Fietkau
e98810dced toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
SVN-Revision: 32555
2012-06-30 18:12:23 +00:00
Felix Fietkau
70259bceb4 toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
SVN-Revision: 32554
2012-06-30 18:12:19 +00:00
Felix Fietkau
e74e4dbd29 toolchain: keep the initial gcc around for later uclibc rebuilds
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

SVN-Revision: 32553
2012-06-30 18:12:15 +00:00
Felix Fietkau
30c29914c4 eglibc: work around a broken configure test to fix compile errors on x86
SVN-Revision: 32527
2012-06-29 16:19:48 +00:00
Felix Fietkau
f9f929613d toolchain: enable gdb by default
SVN-Revision: 32518
2012-06-28 14:32:11 +00:00
Jo-Philipp Wich
970918cc45 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>

SVN-Revision: 32438
2012-06-18 23:41:48 +00:00
Felix Fietkau
5d50acec9d eglibc: use 2.15 by default
SVN-Revision: 32104
2012-06-07 12:43:49 +00:00
Felix Fietkau
49b894ff4e eglibc: add version 2.15
SVN-Revision: 32101
2012-06-07 12:24:25 +00:00
Felix Fietkau
176c236922 toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
SVN-Revision: 32100
2012-06-07 12:24:13 +00:00
Felix Fietkau
3ea4b6ba91 uClibc: update to 0.9.33.2, fixes #4420
SVN-Revision: 31740
2012-05-15 13:42:32 +00:00
Felix Fietkau
d98c2d542c uClibc: remove 0.9.32, it is no longer necessary
SVN-Revision: 31739
2012-05-15 13:42:28 +00:00
Daniel Dickinson
9cc9e8b608 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.
SVN-Revision: 31697
2012-05-13 05:02:27 +00:00
Imre Kaloz
880de62f91 switch to 2.6.38
SVN-Revision: 31546
2012-05-01 07:00:17 +00:00
Mirko Vogt
334fd4199b purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

SVN-Revision: 31503
2012-04-28 22:24:12 +00:00
Mirko Vogt
6831c99f65 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>

SVN-Revision: 31502
2012-04-28 20:47:48 +00:00
Mirko Vogt
e3689f3bad 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>

SVN-Revision: 31501
2012-04-28 20:18:06 +00:00
Mirko Vogt
5c3d17cfc9 drop eglibc version 2.12
SVN-Revision: 31500
2012-04-28 20:10:32 +00:00
Jo-Philipp Wich
e0c97d69c6 gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
SVN-Revision: 31489
2012-04-27 12:05:34 +00:00
Mirko Vogt
47ea827dce remove screwed up patch for gcc 4.7-linaro which got committed by accident
SVN-Revision: 31393
2012-04-21 10:23:49 +00:00
Mirko Vogt
84307e4035 add support for GCC 4.7-linaro (based on GCC 4.7.1)
SVN-Revision: 31392
2012-04-21 09:58:31 +00:00
Jo-Philipp Wich
f79bfe6072 gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
SVN-Revision: 31390
2012-04-21 03:02:39 +00:00
Mirko Vogt
0af09943a5 when choosing eglibc select eglibc version 2.13 by default
SVN-Revision: 31342
2012-04-18 01:10:37 +00:00
Mirko Vogt
1352465f27 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

SVN-Revision: 31341
2012-04-18 01:10:20 +00:00
Mirko Vogt
84c48979d2 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

SVN-Revision: 31300
2012-04-16 08:40:45 +00:00
Jo-Philipp Wich
b7e2959450 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
SVN-Revision: 31255
2012-04-12 07:48:02 +00:00
Jo-Philipp Wich
4c2e50f287 exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
SVN-Revision: 31249
2012-04-10 21:04:06 +00:00
Imre Kaloz
ca6859aa29 upgrade to gcc 4.4.7
SVN-Revision: 31230
2012-04-09 17:00:03 +00:00
Mirko Vogt
626e171764 add support for gcc 4.7.0 - thanks to acoul!
SVN-Revision: 31216
2012-04-07 15:34:41 +00:00
Florian Fainelli
3271b347fc backport upstream fix for dst computation
SVN-Revision: 31073
2012-03-26 10:57:50 +00:00
Gabor Juhos
45d5b24190 toolchain/gcc-4.6.2: fix v4bx patch
SVN-Revision: 30970
2012-03-18 10:55:49 +00:00
Gabor Juhos
9c077ed0ae toolchain/gcc-4.6-linaro: fix v4bx patch
SVN-Revision: 30969
2012-03-18 10:55:47 +00:00
Felix Fietkau
40bf6ee842 gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
SVN-Revision: 30815
2012-03-05 00:51:05 +00:00
Felix Fietkau
d8c570a153 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
SVN-Revision: 30814
2012-03-05 00:51:01 +00:00
Felix Fietkau
a86e168c54 gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
SVN-Revision: 30614
2012-02-17 16:55:08 +00:00
Felix Fietkau
42ed1bd9e6 gcc: enable --with-headers for the final toolchain build
SVN-Revision: 30613
2012-02-17 16:55:01 +00:00
Felix Fietkau
dcfc40358b gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
SVN-Revision: 30486
2012-02-12 20:25:47 +00:00
Felix Fietkau
07488ef93d glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
SVN-Revision: 30478
2012-02-12 16:12:01 +00:00
Imre Kaloz
3c365cc72d enable 2.22 for unsupported archs if BROKEN is enabled
SVN-Revision: 30471
2012-02-12 09:56:47 +00:00
Imre Kaloz
d252dd3d2e upgrade vanilla gcc to 4.6.2
SVN-Revision: 30470
2012-02-12 09:48:39 +00:00
Imre Kaloz
bd73e0a85d use binutils 2.22 by default
SVN-Revision: 30469
2012-02-12 09:17:54 +00:00
Imre Kaloz
86296a0cb6 use uClibc 0.9.33 by default
SVN-Revision: 30468
2012-02-12 09:15:29 +00:00
Imre Kaloz
909abe4999 use Linaro GCC 4.6 by default
SVN-Revision: 30467
2012-02-12 09:14:18 +00:00
Imre Kaloz
ed192cb5a6 update to latest Linaro releases
SVN-Revision: 30466
2012-02-12 08:50:18 +00:00
Gabor Juhos
d82daa2728 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
SVN-Revision: 30398
2012-02-09 16:07:33 +00:00
Gabor Juhos
fa11e6e0d6 toolchain/uClibc: fix 0.9.33 build error on MIPS
SVN-Revision: 30394
2012-02-09 13:41:53 +00:00
Imre Kaloz
09a8334a1e add binutils 2.22
SVN-Revision: 30375
2012-02-08 15:49:48 +00:00
Imre Kaloz
9bf867b531 add 0.9.33
SVN-Revision: 30374
2012-02-08 15:45:44 +00:00
Imre Kaloz
6347b09289 nuke a 2.4 skeleton
SVN-Revision: 30372
2012-02-08 11:11:32 +00:00
Mirko Vogt
0665e400a0 eglibc 2.14 needs our eglibc patchset as well
SVN-Revision: 29842
2012-01-21 19:39:37 +00:00
Mirko Vogt
408b12ff76 adjust md5sum of v2.21.1 since archive got replaced meanwhile
SVN-Revision: 29836
2012-01-20 22:54:30 +00:00
Jo-Philipp Wich
64dc82eab0 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.
SVN-Revision: 29768
2012-01-18 03:15:22 +00:00
Jo-Philipp Wich
5b7668ca44 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.
SVN-Revision: 29766
2012-01-18 03:08:09 +00:00
Imre Kaloz
8fcdb09e1f upgrade to latest linaro releases
SVN-Revision: 29748
2012-01-14 22:52:40 +00:00
Felix Fietkau
e3a21eb9f8 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
SVN-Revision: 29721
2012-01-12 10:15:20 +00:00
Jo-Philipp Wich
e53afbbe64 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.
SVN-Revision: 29689
2012-01-08 15:34:23 +00:00
Jo-Philipp Wich
5b14d8bc0b disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
SVN-Revision: 29646
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich
d22adb1b06 if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
2012-01-01 15:11:11 +00:00
Felix Fietkau
830282cc89 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
SVN-Revision: 29352
2011-11-28 19:19:33 +00:00
Florian Fainelli
fe3694aa0d uclibc: backport upstream signalfd patch
SVN-Revision: 28087
2011-08-25 15:59:21 +00:00
Hauke Mehrtens
cca287d05e gcc: add 4.6-linaro version 4.6-2011.08
SVN-Revision: 28042
2011-08-18 12:13:54 +00:00
Hauke Mehrtens
ab380f46f4 gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
SVN-Revision: 28041
2011-08-18 12:12:47 +00:00
Hauke Mehrtens
441e392e11 gcc: move patches as the name changed. This was missing in r28038.
SVN-Revision: 28040
2011-08-18 12:09:42 +00:00
Hauke Mehrtens
5f1d6c6c9b gcc: update gcc-4.5-linaro to 4.5-2011.08
SVN-Revision: 28039
2011-08-18 12:07:15 +00:00
Hauke Mehrtens
a0c5616090 gcc: rename linaro to 4.5-linaro
SVN-Revision: 28038
2011-08-18 12:06:17 +00:00
Hauke Mehrtens
01870142fb binutils: add binutils 2.21.1
SVN-Revision: 27919
2011-08-06 09:53:58 +00:00
Felix Fietkau
2105acbe28 kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built
SVN-Revision: 27915
2011-08-05 16:39:04 +00:00
Jonas Gorski
5defa7f08d toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

SVN-Revision: 27882
2011-08-02 23:32:44 +00:00
Felix Fietkau
b857433bcb uClibc: backport an x86 compile fix from mainline (thx, swalker)
SVN-Revision: 27773
2011-07-25 18:26:02 +00:00
Felix Fietkau
816f76457c uClibc: update to latest 0.9.32.1 git
SVN-Revision: 27772
2011-07-25 13:38:58 +00:00
Felix Fietkau
d7fa989b42 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
SVN-Revision: 27623
2011-07-16 10:27:48 +00:00
Imre Kaloz
62daf628c0 In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 27599
2011-07-12 13:34:18 +00:00
Imre Kaloz
887b29bfbd the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
SVN-Revision: 27559
2011-07-08 11:15:00 +00:00
Felix Fietkau
9a560e48dd toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
SVN-Revision: 27556
2011-07-08 08:13:50 +00:00
Felix Fietkau
ddc6fd10de uClibc: fix messed up patch headers in fts patch (patch from #9671)
SVN-Revision: 27555
2011-07-08 07:14:23 +00:00
Imre Kaloz
6d378e7b20 fix ppc toolchain build
SVN-Revision: 27551
2011-07-07 22:19:38 +00:00
Florian Fainelli
3bdc9093b3 uclibc: backport FTS support
SVN-Revision: 27513
2011-07-07 09:42:57 +00:00
Florian Fainelli
cba5b25cfd eglibc: add support for 2.14
SVN-Revision: 27510
2011-07-07 09:42:47 +00:00
Florian Fainelli
d65636baaf remove reference to old eglibc versions.
SVN-Revision: 27509
2011-07-07 09:42:44 +00:00
Felix Fietkau
357a58811b eglibc: remove old versions
SVN-Revision: 27360
2011-07-02 09:47:00 +00:00
Felix Fietkau
ab15244ece eglibc: fix portability issues rpcgen and zic, fixes compile on darwin
SVN-Revision: 27359
2011-07-02 09:46:39 +00:00
Imre Kaloz
a2c0394572 simplify configuration
SVN-Revision: 27353
2011-07-02 07:50:26 +00:00
Imre Kaloz
4fbc50d89a nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
SVN-Revision: 27351
2011-07-02 07:43:26 +00:00
Imre Kaloz
5f397b16ef both coldfire and etrax are broken and should use a newer gcc when they will be fixed
SVN-Revision: 27350
2011-07-02 07:28:16 +00:00
Imre Kaloz
dde7babe01 switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
SVN-Revision: 27338
2011-07-01 13:44:03 +00:00
Imre Kaloz
9167521015 bump the 4.4 flavour to 4.4.6
SVN-Revision: 27337
2011-07-01 13:39:50 +00:00
Imre Kaloz
be9a11b014 replace gcc 4.5.2 support with 4.6.1
SVN-Revision: 27333
2011-07-01 11:43:15 +00:00
Imre Kaloz
6d02667c07 add the latest avr32 toolchain patches (with additional fixes)
SVN-Revision: 27332
2011-07-01 11:35:21 +00:00
Imre Kaloz
7c4a91b216 upgrade the linaro gcc to 2011.06
SVN-Revision: 27326
2011-07-01 08:10:12 +00:00
Mirko Vogt
f2591f8d54 eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
SVN-Revision: 27290
2011-06-26 21:47:14 +00:00
Felix Fietkau
92726d8f32 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
SVN-Revision: 27289
2011-06-26 14:22:55 +00:00
Mirko Vogt
f03b067f32 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.

SVN-Revision: 27264
2011-06-23 14:38:26 +00:00
Jo-Philipp Wich
28fbd7470d add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
SVN-Revision: 27262
2011-06-23 11:46:24 +00:00
Jo-Philipp Wich
a56dab661a introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
SVN-Revision: 27261
2011-06-23 11:37:39 +00:00
Mirko Vogt
33fc3f8906 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.
""

SVN-Revision: 27245
2011-06-20 11:12:46 +00:00
Mirko Vogt
4716055a1e explicitly disable the use of ldconfig
SVN-Revision: 27220
2011-06-18 17:53:41 +00:00
Mirko Vogt
2e1b73912d patch: add /usr/lib to default search path of dynamic linker
SVN-Revision: 27216
2011-06-18 11:14:07 +00:00
Mirko Vogt
7493d8260f add support for eglibc version 2.13
SVN-Revision: 27215
2011-06-18 11:14:05 +00:00
Mirko Vogt
cdbb7815ea [toolchain/eglibc} eglibc in fact can be built with -Os
SVN-Revision: 27214
2011-06-18 11:14:01 +00:00
Mirko Vogt
51754d7d1d when selecting eglibc, use version 2.12 by default
SVN-Revision: 27213
2011-06-18 07:33:28 +00:00
Mirko Vogt
74fecd0366 fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
SVN-Revision: 27210
2011-06-17 22:51:24 +00:00
Felix Fietkau
be20fe9771 toolchain/gdb: fix compile for powerpc targets, refresh patch
SVN-Revision: 27155
2011-06-11 13:25:00 +00:00
Jo-Philipp Wich
6894dfb0fb uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
SVN-Revision: 27131
2011-06-07 21:54:14 +00:00
Mirko Vogt
18caed8793 remove empty file (patch went upstream and file didn't get deleted but only cleared)
SVN-Revision: 27122
2011-06-07 08:37:25 +00:00
Mirko Vogt
59ad83aff1 upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
SVN-Revision: 27118
2011-06-07 00:13:56 +00:00
Mirko Vogt
2629de3ef2 use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html

SVN-Revision: 27001
2011-05-24 15:53:15 +00:00
Felix Fietkau
a621c3c24a uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
SVN-Revision: 26703
2011-04-17 17:38:35 +00:00
Felix Fietkau
082ab53ed1 uClibc: fix issues with libpthread vs libc link order on mips
SVN-Revision: 26702
2011-04-17 17:38:26 +00:00
Felix Fietkau
3ae4dec6b2 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
SVN-Revision: 26547
2011-04-09 15:46:58 +00:00
Felix Fietkau
d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Imre Kaloz
ec33947689 fixup armeb, too
SVN-Revision: 26034
2011-03-11 11:35:31 +00:00
Imre Kaloz
d4afc36c84 simplify TARGET_SUFFIX selection
SVN-Revision: 26033
2011-03-11 11:33:03 +00:00
Felix Fietkau
2efb2ef8b1 toolchain: fix r26004
SVN-Revision: 26006
2011-03-10 13:37:30 +00:00
Alexandros C. Couloumbis
deafde5632 toolchain: fix r25969
SVN-Revision: 26004
2011-03-10 13:21:00 +00:00
Felix Fietkau
36bc85648b fix target name mixup caused by r25928
SVN-Revision: 25969
2011-03-09 11:37:50 +00:00
Felix Fietkau
e52b720870 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
SVN-Revision: 25952
2011-03-08 13:10:11 +00:00
Imre Kaloz
4cd2bef057 upgrade to the 2011.03-0 release from Linaro
SVN-Revision: 25948
2011-03-08 07:51:06 +00:00
Felix Fietkau
bc8728d9ce uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
SVN-Revision: 25944
2011-03-07 22:38:48 +00:00
Imre Kaloz
b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Felix Fietkau
7b64200684 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
SVN-Revision: 25912
2011-03-06 22:54:30 +00:00
Felix Fietkau
fff328fd41 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>

SVN-Revision: 25871
2011-03-04 21:38:15 +00:00
Alexandros C. Couloumbis
e2a0620d44 toolchain/gcc: fix r25709 (closes #8964)
SVN-Revision: 25844
2011-03-03 10:09:06 +00:00
Felix Fietkau
d1f44a7598 gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
2011-03-02 17:54:02 +00:00
Felix Fietkau
c2e2651b71 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
2011-03-01 15:38:58 +00:00
Felix Fietkau
783e064632 uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
SVN-Revision: 25803
2011-03-01 05:41:02 +00:00
Felix Fietkau
23e18c9037 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
SVN-Revision: 25801
2011-03-01 05:40:47 +00:00
Imre Kaloz
aa6099c624 backport fa526 optimization for gcc 4.5+
SVN-Revision: 25709
2011-02-25 17:44:18 +00:00
Imre Kaloz
446f79385b use the Linaro GCC for arm and mips targets
SVN-Revision: 25708
2011-02-25 17:43:15 +00:00
Imre Kaloz
a3989e3dbd We use different toolchain directories for different ARM archs, so we should set the default arch of gcc to reflect this.
This enables EABI support for armv4 CPUs.

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

SVN-Revision: 25705
2011-02-25 16:52:25 +00:00
Imre Kaloz
ae885a3978 upgrade to latest git, refresh patches
SVN-Revision: 25698
2011-02-24 12:56:20 +00:00
Imre Kaloz
0be1f2ba60 sync avr32 patch with the latest ones from atmel
SVN-Revision: 25696
2011-02-24 08:14:15 +00:00
Imre Kaloz
e733d679a0 remove the CS variant - broken since it's addition
SVN-Revision: 25648
2011-02-21 11:43:16 +00:00
Felix Fietkau
ad6c7066a6 gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
SVN-Revision: 25633
2011-02-20 22:09:51 +00:00
Florian Fainelli
237d0ec935 update gdb to 7.2
This patch updates the toolchain gdb from 6.8 to 7.2

Signed-off-by: Steve Brown <sbrown@cortland.com>

SVN-Revision: 25585
2011-02-19 12:44:33 +00:00
Imre Kaloz
cc880f6736 only enable binutils 2.21 for avr32 if BROKEN is selected
SVN-Revision: 25572
2011-02-18 13:48:42 +00:00
Imre Kaloz
aca90e900a add some more avr32 fixes
SVN-Revision: 25571
2011-02-18 13:47:36 +00:00
Imre Kaloz
73eefab7b9 whitespace cleanup
SVN-Revision: 25570
2011-02-18 13:45:35 +00:00
Imre Kaloz
57be27f340 add binutils 2.21
SVN-Revision: 25567
2011-02-18 09:52:19 +00:00
Imre Kaloz
3e974e67b2 combine all avr32 patches into a single one
SVN-Revision: 25566
2011-02-18 09:25:59 +00:00
Imre Kaloz
74ecb8f3c6 add avr32 support
SVN-Revision: 25562
2011-02-16 22:44:47 +00:00
Imre Kaloz
667ac6c970 additional avr32 fixes
SVN-Revision: 25556
2011-02-16 15:26:08 +00:00
Imre Kaloz
82608a62ad refresh patches
SVN-Revision: 25555
2011-02-16 15:24:48 +00:00
Imre Kaloz
238721c650 fixup gcc version selection
SVN-Revision: 25554
2011-02-16 15:21:17 +00:00
Imre Kaloz
e01a14ceea fixup the ubicom patch, refresh
SVN-Revision: 25552
2011-02-16 14:05:08 +00:00
Imre Kaloz
9818d6f549 refresh patches
SVN-Revision: 25551
2011-02-16 13:51:31 +00:00
Felix Fietkau
72ca180fd7 uClibc: remove 0.9.30, 0.9.31
SVN-Revision: 25542
2011-02-15 01:29:13 +00:00
Felix Fietkau
383d17913f uclibc: disable COMPAT_ATEXIT
SVN-Revision: 25517
2011-02-13 14:18:08 +00:00
Imre Kaloz
b0a9a4d66c upgrade to latest git
SVN-Revision: 25516
2011-02-13 12:32:01 +00:00
Imre Kaloz
01a424b4f9 upgrade to 2011.02, rename patchset directory
SVN-Revision: 25515
2011-02-13 11:27:58 +00:00
Felix Fietkau
c672eeffc9 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
2011-02-13 03:26:10 +00:00
Felix Fietkau
e6a0ebc989 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
SVN-Revision: 25504
2011-02-13 01:45:59 +00:00
Felix Fietkau
29de442b0d kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using
SVN-Revision: 25443
2011-02-10 03:52:39 +00:00
Imre Kaloz
247e919223 autodetect ARM variant/ABI setup based on the compiler settings
SVN-Revision: 25328
2011-02-02 20:19:28 +00:00
Imre Kaloz
fa5259d442 update to latest git version
SVN-Revision: 25327
2011-02-02 20:07:28 +00:00
Imre Kaloz
8570c4be39 fixup arm soft-float symbols
SVN-Revision: 25325
2011-02-02 20:06:12 +00:00
Imre Kaloz
f3621a025c refresh patch
SVN-Revision: 25324
2011-02-02 20:05:33 +00:00
Imre Kaloz
7edc8ca545 add armv4 fixup patches
SVN-Revision: 25322
2011-02-02 19:34:36 +00:00
Felix Fietkau
e1d823338b gcc: fix default version selection - fixes missing MPC configure error during toolchain build
SVN-Revision: 25283
2011-02-01 16:57:01 +00:00
Felix Fietkau
14840f6854 eglibc: disable ssp, it breaks the build
SVN-Revision: 25280
2011-02-01 16:21:49 +00:00
Felix Fietkau
4e6bca2d05 uClibc: use the arch specific thread stack size for nptl if the size returned by getrlimits exceeds it - fixes threads on systems with only 16 MB RAM
SVN-Revision: 25223
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich
ab217388a9 uClibc: remove references to $(CONFIG_LARGEFILE)
SVN-Revision: 25209
2011-01-28 17:04:08 +00:00
Felix Fietkau
bf51ee3572 gcc: fix linaro 4.5.1 version check
SVN-Revision: 25203
2011-01-28 16:37:30 +00:00
Imre Kaloz
a48d1f3a70 refresh patches
SVN-Revision: 25195
2011-01-28 12:34:32 +00:00
Felix Fietkau
2e6f6843a6 uClibc: fix version check for 0.9.32
SVN-Revision: 25189
2011-01-28 02:41:53 +00:00
Felix Fietkau
57e5df3758 binutils: backport a fix for broken relocation entries on mips with -fPIE, fixes dbus-server crash with sstrip
SVN-Revision: 25188
2011-01-28 02:29:01 +00:00
Felix Fietkau
b514156559 uClibc: make 0.9.32-git default, it fixes lots of bugs compared to earlier versions (especially threading issues), and the known regressions have been fixed
SVN-Revision: 25187
2011-01-28 01:10:45 +00:00
Felix Fietkau
b00758f178 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
SVN-Revision: 25186
2011-01-28 01:10:41 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Imre Kaloz
b255026bd1 nuke unneeded patchsets as well
SVN-Revision: 25145
2011-01-27 13:28:27 +00:00
Imre Kaloz
25fb11cf89 get rid of gcc 4.1.2 and 4.2.4 support
SVN-Revision: 25144
2011-01-27 13:24:38 +00:00
Imre Kaloz
d8634c4521 use the linaro gcc by default (right now this only affects x86 targets)
SVN-Revision: 25142
2011-01-27 13:17:50 +00:00
Imre Kaloz
74da93780b LEON is SPARC v8
SVN-Revision: 25141
2011-01-27 12:54:08 +00:00
Imre Kaloz
1d02e78a6f update to latest git
SVN-Revision: 25082
2011-01-24 09:40:24 +00:00
Felix Fietkau
7c74f58779 uClibc 0.9.32: fix libm compile for powerpc
SVN-Revision: 25013
2011-01-16 01:24:43 +00:00
Jo-Philipp Wich
26616b18a4 add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
SVN-Revision: 24969
2011-01-12 15:44:53 +00:00
Imre Kaloz
5428a58287 upgrade to latest git snapshot
SVN-Revision: 24889
2011-01-03 14:20:30 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Alexandros C. Couloumbis
e010aa6408 toolchain/gcc: fix r24746
SVN-Revision: 24751
2010-12-21 14:54:34 +00:00
Imre Kaloz
30439e7092 add gcc 4.5.2 (replaces 4.5.1)
SVN-Revision: 24746
2010-12-21 08:13:21 +00:00
Felix Fietkau
010b64f251 fix a compile error with uclibc 0.9.32 and newer kernels
SVN-Revision: 24735
2010-12-20 14:25:17 +00:00
Felix Fietkau
014d3b98b9 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
SVN-Revision: 24734
2010-12-20 14:25:05 +00:00
Imre Kaloz
a0e49fa2d1 upgrade the linaro gcc to the 2010.12 release
SVN-Revision: 24563
2010-12-14 09:50:59 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Daniel Dickinson
2309cd6dad binutils: Fix autoreconf for packages/devel/binutils package, which uses binutils toolchain patches
SVN-Revision: 24509
2010-12-12 01:43:46 +00:00
Alexandros C. Couloumbis
b083d00b8b toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
SVN-Revision: 24396
2010-12-09 18:31:13 +00:00
Imre Kaloz
044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
2010-12-05 11:38:59 +00:00
Alexandros C. Couloumbis
581378f5cb toolchain/uClibc: sync to latest uClibc-0.9.32
SVN-Revision: 24229
2010-12-03 16:36:37 +00:00
Alexandros C. Couloumbis
ec7e1cee0b toolchain/uClibc: push an upstream fix
SVN-Revision: 24228
2010-12-03 14:46:09 +00:00
Felix Fietkau
f21c0cacf8 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
SVN-Revision: 24120
2010-11-24 00:30:26 +00:00
Felix Fietkau
1a0a584ea6 uClibc: fix ubicom32 compile error with 0.9.32
SVN-Revision: 24101
2010-11-22 17:50:08 +00:00
Felix Fietkau
c0915e5983 uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
2010-11-22 17:50:01 +00:00
Felix Fietkau
ff46ed446d uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
SVN-Revision: 24099
2010-11-22 17:49:51 +00:00
Felix Fietkau
bfe53cdbbe uClibc: fix cris compile on 0.9.32
SVN-Revision: 24094
2010-11-22 16:18:43 +00:00
Felix Fietkau
9494ddd30f uClibc: fix compile error on avr32
SVN-Revision: 24093
2010-11-22 15:14:16 +00:00
Felix Fietkau
df5509a30e uClibc: disable nptl on a few targets where it is not supported yet
SVN-Revision: 24092
2010-11-22 14:50:33 +00:00
Felix Fietkau
0fed0806df uClibc: 0.9.32 needs the ldso fix as well
SVN-Revision: 24074
2010-11-22 01:48:29 +00:00
Felix Fietkau
05e837fb6d uClibc: update 0.9.32 to latest git
SVN-Revision: 24073
2010-11-22 00:44:37 +00:00
Alexandros C. Couloumbis
74d8aaa314 toolchain/uClibc: fix upstream patch name on r24029
SVN-Revision: 24030
2010-11-18 15:01:30 +00:00
Alexandros C. Couloumbis
eb45bb90d4 toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
SVN-Revision: 24029
2010-11-18 14:58:37 +00:00
Imre Kaloz
54640d6592 update the linaro gcc to v2010.11-1
SVN-Revision: 23940
2010-11-10 12:27:33 +00:00
Jo-Philipp Wich
7972cc4a7f uClibc: fix errno access in pthreads (#8166, #8177) Reading errno within pthreads always resulted in 0 breaking various programs like transmission and collectd. This patch is not 100% thread safe but it brings back threading into a usable state for now.
SVN-Revision: 23905
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich
12b122f31f ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off of the beginning of the absolute path to the ld.so interpreter in use for printing. The _dl_strlen will crash with a NULL argument.
Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.

glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.

Signed-off-by: Mark Mentovai <mark at moxienet.com>

SVN-Revision: 23892
2010-11-05 21:38:38 +00:00
Imre Kaloz
d917b7d1ef use gcc 4.3.5 for avr32
SVN-Revision: 23866
2010-11-04 14:18:04 +00:00
Imre Kaloz
54dea0c74f add avr32 support to gcc 4.3.5
SVN-Revision: 23865
2010-11-04 14:17:06 +00:00
Imre Kaloz
4cdf723097 switch to uClibc 0.9.31
SVN-Revision: 23781
2010-11-02 13:57:57 +00:00
Imre Kaloz
5403c77633 switch to binutils 2.20.1 (except for avr32 and ubicom32)
SVN-Revision: 23780
2010-11-02 13:57:04 +00:00
Imre Kaloz
9611a0f606 remove support for uClibc 0.9.30.2 and 0.9.30.3
SVN-Revision: 23779
2010-11-02 12:56:58 +00:00
Imre Kaloz
387c2adead remove unneeded config options, too
SVN-Revision: 23706
2010-10-29 10:55:54 +00:00
Imre Kaloz
f6ff75eed6 fix typo
SVN-Revision: 23705
2010-10-29 10:48:14 +00:00
Imre Kaloz
723ab81016 get rid of old gcc versions
SVN-Revision: 23704
2010-10-29 10:45:59 +00:00
Imre Kaloz
57017cf64c add support for Linaro GCC 2010.10
SVN-Revision: 23703
2010-10-29 10:37:51 +00:00
Imre Kaloz
16ec438707 fix typo
SVN-Revision: 23695
2010-10-28 11:19:38 +00:00
Imre Kaloz
bdeb70c8d7 sync gcc's Config.in with Config.version
SVN-Revision: 23694
2010-10-28 10:59:58 +00:00
Imre Kaloz
3a89cedc85 the latest patchlevel gcc releases should work for these targets
SVN-Revision: 23693
2010-10-28 10:38:32 +00:00
Imre Kaloz
6bd93c3fdf fixup gcc version selection for the omap35xx target
SVN-Revision: 23692
2010-10-28 10:29:53 +00:00
Imre Kaloz
4fb2718119 we don't support gcc 3.x for some time now
SVN-Revision: 23686
2010-10-28 07:28:17 +00:00
Imre Kaloz
95cba52ba4 remove support for binutils 2.18 and 2.20
SVN-Revision: 23685
2010-10-28 07:26:07 +00:00
Imre Kaloz
9edd05b9c0 gcc 4.4.5 support
SVN-Revision: 23220
2010-10-04 12:21:58 +00:00
Michael Büsch
cf323eb924 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau
ffd00db938 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
SVN-Revision: 23103
2010-09-20 20:49:34 +00:00
Felix Fietkau
affb66c2c6 gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
SVN-Revision: 23101
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis
f097df6944 toolchain/gcc: fix -Os recursion on ARMv5 for gcc 4.5.0 & 4.5.1 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392)
SVN-Revision: 22899
2010-09-04 17:00:55 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Felix Fietkau
198730fb3d fix a compile error when compiling with glibc (#7816)
SVN-Revision: 22869
2010-09-01 15:21:43 +00:00
Florian Fainelli
0e00670962 gcj can only be built safely on gcc >= 4.3
SVN-Revision: 22843
2010-08-30 07:35:18 +00:00
Felix Fietkau
62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Nicolas Thill
4bd5e0e62e toolchain/gcc: remove remaining references to gcc-3.4.6
SVN-Revision: 22694
2010-08-18 11:04:45 +00:00
Mirko Vogt
3cf86bb692 nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using)
SVN-Revision: 22511
2010-08-06 12:42:04 +00:00
Lars-Peter Clausen
04497bbb2c Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
SVN-Revision: 22474
2010-08-03 15:32:25 +00:00
Florian Fainelli
332227b067 add support for gcc-4.5.1
SVN-Revision: 22450
2010-08-01 12:39:19 +00:00
Florian Fainelli
cb4dcc9c0d bump default gcc-4.4 version for sibyte and octeon
SVN-Revision: 22437
2010-07-31 11:52:48 +00:00
Imre Kaloz
a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Felix Fietkau
5149ed151d gcc: split up the build process into three distinct stages (minimal, initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain
SVN-Revision: 22319
2010-07-20 20:57:21 +00:00
Imre Kaloz
e4ad93f5f8 the storm target is gone for a long time now
SVN-Revision: 22311
2010-07-20 11:11:22 +00:00
Felix Fietkau
6f0f021c87 remove support for building kernel headers with old kernels
SVN-Revision: 21957
2010-06-26 20:44:48 +00:00
Felix Fietkau
0410a7b549 remove gcc 3.4.6
SVN-Revision: 21955
2010-06-26 20:44:02 +00:00
Mirko Vogt
aa85835ef2 patch went upstream, so bump git version and remove patch locally
SVN-Revision: 21881
2010-06-22 19:24:06 +00:00
Hamish Guthrie
4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Mirko Vogt
9d0f9d3758 add support for uClibc version 0.9.32 based on git rev a7642511b08b0b8a4012bab67cb8aa554992df6b, this includes support for nptl which got merged into the uClibc master branch recently
SVN-Revision: 21856
2010-06-20 22:18:43 +00:00
Mirko Vogt
d6ef217a9f fix syntax error
SVN-Revision: 21843
2010-06-20 00:24:10 +00:00
Mirko Vogt
f5faa9520e make sure directory exists before copying into
SVN-Revision: 21842
2010-06-19 23:48:45 +00:00
Florian Fainelli
632694c4f6 fix eglibc INET_ANL option selection
SVN-Revision: 21660
2010-06-02 19:47:41 +00:00
Nicolas Thill
8dd583e3a4 toolchain/eglibc: add preliminary support for eglibc-2.12
SVN-Revision: 21611
2010-05-28 20:37:56 +00:00
Nicolas Thill
7d991147b3 toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
SVN-Revision: 21610
2010-05-28 19:48:25 +00:00
Nicolas Thill
fdb4fba4b7 toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
SVN-Revision: 21601
2010-05-28 15:33:44 +00:00