Felix Fietkau
1f85497423
gcc: update, split and rework 4.9 musl patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42970
10 years ago
Felix Fietkau
69c1568779
gcc: update, split and rework 4.8 musl patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42969
10 years ago
Felix Fietkau
663ddf8f17
gcc: backport an upstream fix for extern vars with local weak definitions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42962
10 years ago
Felix Fietkau
b6fb77ebfe
gcc: remove version 4.8.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42777
10 years ago
Felix Fietkau
646dfde826
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>
SVN-Revision: 42769
10 years ago
Felix Fietkau
749d865aa4
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>
SVN-Revision: 42767
10 years ago
Felix Fietkau
cb119e2a69
gcc: add 4.9-linaro based on the 2014.09 release
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42706
10 years ago
Felix Fietkau
c4fb88720e
toolchain: remove another bogus copy of libiberty.a
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42624
10 years ago
John Crispin
96a4d6fb54
octeon: select gcc 4.6 by default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41843
10 years ago
Luka Perkov
8e4f0ec38d
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>
SVN-Revision: 41657
10 years ago
Felix Fietkau
a44b4e3ffb
gcc: backport a fix for issues with accessing weak data references
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41569
10 years ago
John Crispin
1aeb77b9ee
toolchain: only default eglibc for octeon and not all of mips64
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41559
10 years ago
John Crispin
c911cdcc04
toolchain: use different defaults for octeon
...
force eglibc and gcc4.6+linaro for octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41251
10 years ago
Felix Fietkau
62ca8ae777
gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40874
10 years ago
Felix Fietkau
95c615262c
gcc: disable libsanitzier off_t check to fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40870
10 years ago
Felix Fietkau
479c25641a
toolchain/gcc: fix build on arm with clang as host gcc replacement
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40772
10 years ago
Felix Fietkau
31285a2039
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>
SVN-Revision: 40709
10 years ago
Felix Fietkau
af4f534244
toolchain/gcc: update linaro-gcc-4.8 to 2014.04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40664
10 years ago
Felix Fietkau
72d4683627
toolchain/gcc: use 4.8-linaro by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39860
11 years ago
Felix Fietkau
06a3d35eda
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>
SVN-Revision: 39749
11 years ago
Felix Fietkau
b050f87d13
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>
SVN-Revision: 39638
11 years ago
Imre Kaloz
5e906232b0
upgrade Linaro GCC 4.8 to 2014.01
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39501
11 years ago
Imre Kaloz
f6be067784
upgrade Linaro GCC 4.8 to 4.8-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39209
11 years ago
Imre Kaloz
b1f4f27fc4
upgrade Linaro GCC 4.8 to 4.8-2013.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38922
11 years ago
Felix Fietkau
5b1e1eff73
gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38435
11 years ago
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
11 years ago
Felix Fietkau
75946ee468
toolchain/gcc: fix up breakage introduced in r37945
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37946
11 years ago
Imre Kaloz
6d13c47f57
upgrade Linaro gcc 4.8 to 4.8-2013.08
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37945
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau
6ac26a1ef7
gcc: fix up displayed version after r37179
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37180
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau
7d3fca89c0
gcc: remove version 4.7
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36694
11 years ago
Felix Fietkau
ba29b8f04f
gcc: port missing patches from 4.6 to 4.8
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36693
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau
6b4f3344df
toolchain/gcc: add support for 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36545
11 years ago
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
11 years ago
Jo-Philipp Wich
a98cdd9892
toolchain: add missing patch to gcc v4.8.0
...
SVN-Revision: 36511
11 years ago
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
11 years ago
Felix Fietkau
39463bf146
toolchain: get rid of gcc kconfig symbol overloading
...
SVN-Revision: 36355
12 years ago
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
12 years ago
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
12 years ago
Florian Fainelli
e032922266
toolchain: allow choosing the MIPS64 user-land ABI
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36205
12 years ago
Florian Fainelli
348cae15d2
buildroot: factor knowledge of a 64bits architecture
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36204
12 years ago
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
12 years ago