Commit Graph

837 Commits

Author SHA1 Message Date
Felix Fietkau
12762698cf toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37947
2013-09-11 14:29:44 +00:00
Felix Fietkau
75946ee468 toolchain/gcc: fix up breakage introduced in r37945
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37946
2013-09-11 14:28:21 +00:00
Imre Kaloz
6d13c47f57 upgrade Linaro gcc 4.8 to 4.8-2013.08
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37945
2013-09-11 13:19:43 +00:00
Imre Kaloz
348c3af966 add support for Linaro binutils 2.23.2-2013.06
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37944
2013-09-11 13:18:23 +00:00
Imre Kaloz
2dad4ed357 upgrade to 7.6-2013.05
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37943
2013-09-11 13:16:13 +00:00
Florian Fainelli
73dcf0dc2e toolchain: refresh uClibc patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37939
2013-09-11 12:08:37 +00:00
Florian Fainelli
cb6e729be7 toolchain: define MUSL dynamic linker for SPARC
SPARC builds are currently broken because we do not define the MUSL
dynamic linker name, fix that.

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

SVN-Revision: 37938
2013-09-11 12:08:27 +00:00
Felix Fietkau
258b2cf7aa toolchain/gcc: remove 4.6.3, it is unused and unmaintained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37924
2013-09-10 10:30:41 +00:00
Felix Fietkau
a1a5f59ea3 build: decouple the mips16 support flag from the toolchain
Add the flags from package.mk instead, and leave libc and gcc
unaffected.

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

SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Felix Fietkau
6b404a4d08 musl: mark as broken, many packages do not compile with it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37750
2013-08-10 19:16:46 +00:00
Felix Fietkau
5f2e61addf gcc: merge a bugfix for a MIPS specific internal compiler error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37621
2013-07-31 08:54:56 +00:00
Felix Fietkau
e00aaea5df gcc: add a bugfix for an internal compiler error on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37601
2013-07-29 10:11:07 +00:00
Felix Fietkau
82e51044d8 uClibc: build with debug symbols by default (without changing other compile related flags)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37525
2013-07-24 12:38:09 +00:00
Felix Fietkau
6ac26a1ef7 gcc: fix up displayed version after r37179
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37180
2013-07-05 09:16:08 +00:00
Felix Fietkau
1446a26cc2 gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37179
2013-07-05 07:53:14 +00:00
Luka Perkov
00b5a14567 toolchain/musl: add version 0.9.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37173
2013-07-04 21:26:01 +00:00
Felix Fietkau
02a6750af8 uClibc: use position independent code for crt1, slightly reduces size of all executables
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37096
2013-06-30 07:54:51 +00:00
Felix Fietkau
98df29f9d7 gcc: add a patch to get rid of useless java class sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37095
2013-06-30 07:54:47 +00:00
Felix Fietkau
b121128ecf binutils: stop generating the useless _DYNAMIC_LINKING symbol on mips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37094
2013-06-30 07:54:43 +00:00
Felix Fietkau
6260e6ef48 binutils: remove some unused obsolete versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37093
2013-06-30 07:54:37 +00:00
Mirko Vogt
1848a0f239 add patch for eglibc version 2.15
This patch partially reverts an (e)glibc commit
which fixed a memory leak, however introduced lookup
errors in dlopen() with resulting segmentation faults
in certain scenarios.

References:
 - http://comments.gmane.org/gmane.comp.lib.glibc.user/1227
 - http://sourceware.org/ml/libc-alpha/2011-06/msg00006.html

SVN-Revision: 37029
2013-06-24 14:51:22 +00:00
Felix Fietkau
2befaa2f0d gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36864
2013-06-05 23:37:12 +00:00
Florian Fainelli
9c59929e6e toolchain: do not build GDB when using an external toolchain
The external toolchain should provide it if needed.

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

SVN-Revision: 36802
2013-05-30 22:04:54 +00:00
Felix Fietkau
7d3fca89c0 gcc: remove version 4.7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36694
2013-05-23 10:22:09 +00:00
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