Felix Fietkau
a6ea8af642
gcc: remove version 4.8.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:40:43 +00:00
Felix Fietkau
742d20f881
Fix broken implementation of NOEXECSTACK flag for MIPS architectures for gcc-linaro-4.8
...
This patch ensures that libgcc_s.so properly honours the NOEXECSTACK flag
for MIPS builds, when gcc-linaro-4.8 or 4.9 is the chosen C compiler.
Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 15:21:30 +00:00
Felix Fietkau
6cae32e029
gcc: gcc 4.9.x disable libsanitize
...
gcc 4.9.x enables building of libsanitize
- libsanitize needs some headers that are not available
in uclibc (netrom/netrom.h)
according to buildroot project:
- build fail with musl
- need wordexp with uclibc which increases uclibc size
http://git.buildroot.net/buildroot/commit/?id=5f4d658d888b539de9a6247ae5b1a0999de5d4ec
http://git.buildroot.net/buildroot/commit/?id=554e29e267e6b36a0fd78c82cbad2c82d939eb7f
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 14:59:45 +00:00
Felix Fietkau
9bbf4ef2c0
gcc: add 4.9-linaro based on the 2014.09 release
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:28 +00:00
Felix Fietkau
b28b4fb0af
toolchain: remove another bogus copy of libiberty.a
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-20 11:11:48 +00:00
John Crispin
2add52fd5c
octeon: select gcc 4.6 by default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 14:52:00 +00:00
Luka Perkov
ba1d7fecf8
toolchain/gcc: pass proper flags for arm hard float build
...
This fixes eglibc build failure. More information about the bug can be found on
the link below.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 20:28:53 +00:00
Felix Fietkau
752fdaeb91
gcc: backport a fix for issues with accessing weak data references
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:28:40 +00:00
John Crispin
7033111078
toolchain: only default eglibc for octeon and not all of mips64
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:09 +00:00
John Crispin
f2126e7f19
toolchain: use different defaults for octeon
...
force eglibc and gcc4.6+linaro for octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:53 +00:00
Felix Fietkau
a114d8a80a
gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 22:40:31 +00:00
Felix Fietkau
c0c92f8a1a
gcc: disable libsanitzier off_t check to fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:33:30 +00:00
Felix Fietkau
7fbc2d1b23
toolchain/gcc: fix build on arm with clang as host gcc replacement
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-15 20:11:54 +00:00
Felix Fietkau
409ed30ab0
gcc: revert an upstream patch that is causing a regression on powerpc
...
https://forum.openwrt.org/viewtopic.php?pid=232494#p232494
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-06 11:49:05 +00:00
Felix Fietkau
74a5f2faec
toolchain/gcc: update linaro-gcc-4.8 to 2014.04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-02 21:18:02 +00:00
Felix Fietkau
c2942d15b7
toolchain/gcc: use 4.8-linaro by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 11:20:33 +00:00
Felix Fietkau
2c60412f00
gcc: fix visibility of symbols libgcc.a
...
Symbols need to be hidden, even for the static variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 21:09:37 +00:00
Felix Fietkau
aba884cec1
gcc: prevent the use of LDRD/STRD on ARMv5TE
...
These instructions are for 64-bit load/store. On ARMv5TE, the CPU
requires addresses to be aligned to 64-bit. When misaligned, behavior is
undefined (effectively either loads the same word twice on LDRD, or
corrupts surrounding memory on STRD).
On ARMv6 and newer, unaligned access is safe.
Removing these instructions for ARMv5TE is necessary, because GCC
ignores alignment information in pointers and does unsafe optimizations
that have shown up as bugs in various places.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-19 19:20:10 +00:00
Imre Kaloz
ac15027799
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 2014.01
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 10:28:45 +00:00
Imre Kaloz
9504d849ae
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 15:00:33 +00:00
Imre Kaloz
cebb4f110e
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:42:32 +00:00
Felix Fietkau
dda74d14d1
gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 11:57:44 +00:00
Felix Fietkau
83500aedcb
toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 14:29:44 +00:00
Felix Fietkau
0426c12de3
toolchain/gcc: fix up breakage introduced in r37945
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 14:28:21 +00:00
Imre Kaloz
c09b8f8e79
[toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 13:19:43 +00:00
Florian Fainelli
269fbe67f4
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 12:08:27 +00:00
Felix Fietkau
cd883451be
toolchain/gcc: remove 4.6.3, it is unused and unmaintained
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 10:30:41 +00:00
Felix Fietkau
27b7bc42d6
gcc: merge a bugfix for a MIPS specific internal compiler error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 08:54:56 +00:00
Felix Fietkau
effe913300
gcc: add a bugfix for an internal compiler error on mips64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 10:11:07 +00:00
Felix Fietkau
39bc82472d
gcc: fix up displayed version after r37179
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-05 09:16:08 +00:00
Felix Fietkau
4afb9e3633
gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-05 07:53:14 +00:00
Felix Fietkau
d80c53a045
gcc: add a patch to get rid of useless java class sections
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:47 +00:00
Felix Fietkau
f16484ddaf
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 23:37:12 +00:00
Felix Fietkau
a0b2f94e9e
gcc: remove version 4.7
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:22:09 +00:00
Felix Fietkau
a4e85cf9aa
gcc: port missing patches from 4.6 to 4.8
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:21:59 +00:00
Jonas Gorski
f9c58f9c68
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-22 08:26:57 +00:00
Felix Fietkau
30e9f35428
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:49 +00:00
Felix Fietkau
0521965d25
toolchain/gcc: add support for 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-04 13:37:41 +00:00
Felix Fietkau
09bf9e2148
toolchain/gcc: forward port missing patches to gcc 4.8.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-04 13:37:37 +00:00
Jo-Philipp Wich
255d06ab35
toolchain: add missing patch to gcc v4.8.0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 11:25:13 +00:00
Jonas Gorski
32e87c4c39
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-29 15:40:21 +00:00
Felix Fietkau
99392df05a
toolchain: get rid of gcc kconfig symbol overloading
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:40 +00:00
Felix Fietkau
ab8468d344
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau
59f2fed12c
gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 10:11:41 +00:00
Florian Fainelli
a4fbc42a5a
toolchain: allow choosing the MIPS64 user-land ABI
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:23 +00:00
Florian Fainelli
d32ac499b8
buildroot: factor knowledge of a 64bits architecture
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:19 +00:00
Florian Fainelli
72fa8af64d
toolchain/gcc: .init and .fini need to pick one ISA
...
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.
This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.
Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:06 +00:00
Imre Kaloz
1c30e6851a
[toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:41:07 +00:00
Florian Fainelli
9b7de537ee
toolchain/gcc: remove reference to llvm introduced in r36155
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:03:14 +00:00
Florian Fainelli
6ff8fa8e52
toolchain/gcc: add support for GCC 4.8.0
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:00:35 +00:00