Commit Graph

31 Commits

Author SHA1 Message Date
Rui Salvaterra
608add17ac
toolchain: bump GCC 11 to 11.3.0
Remove an upstreamed patch and rebase all remaining patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit f4cdef2191)
2022-07-08 13:05:12 +08:00
Sergey V. Lobanov
2ac719c8fb toolchain/gcc: fix build on MacOS arm64
Added patch for GCC to fix compilation issues on MacOS arm64

The original commit message from Przemysław Buczkowski:

GCC: Patch for Apple Silicon compatibility

This patch fixes a linker error occuring when compiling
the cross-compiler on macOS and ARM64 architecture.

Adapted from:
https://github.com/richfelker/musl-cross-make/issues/116#issuecomment-823612404

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2021-12-05 23:56:10 +08:00
Felix Fietkau
3595a902d3 toolchain/gcc: revert a faulty upstream commit that caused miscompiled code
This broke at least the OKLI loader, but possibly other things as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-11-19 23:58:34 +08:00
Rui Salvaterra
19271d7813 toolchain/gcc: bump gcc 11 to 11.2
Patches automatically refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-09 12:11:42 +08:00
Ansuel Smith
2bb5878a50 toolchain: add gcc 11 version
Add gcc 11 version. Same patches of gcc 10.

Build tested on: ipq806x ipq807x
Run tested on: ipq806x ipq807x

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[refresh patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-07-18 12:09:37 +08:00
Hauke Mehrtens
ee678b689f
toolchain: gcc: Update to version 10.3.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 20:22:07 +08:00
Rosen Penev
33532502f8 toolchain/libstdcpp: disable dual ABI and default to new
GCC 5.1 changed the std::string ABI in order to properly support C++11.
For compatibility with libraries compiled with the older ABI, that is,
linking between old-abi.so and new-abi.bin, both ABIs are enabled. In
terms of OpenWrt, all packages are compiled with the same toolchain,
which means these issues do not need to be handled.

Most importantly, this results in a significant size reduction of
libstdpp:

Before:

450794 bytes

After:

327752 bytes

Tested with all OpenWrt packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-27 12:18:17 +08:00
Hauke Mehrtens
b480c22598 toolchain: gcc: Remove support for GCC 5
GCC was used in 17.01 as the default compiler the last time. We do not
test this old GCC version any more and there are some known problems it
fails to compile the U-Boot for the Allwinner A64 SoC.

Just remove it to make it clear that we will not support this old GCC
version any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Paul Spooren <mail@aparcar.org>
2020-12-17 11:18:33 +08:00
DENG Qingfang
098f371236 toolchain: Update GCC 10 to version 10.2.0
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-09-01 17:37:46 +08:00
Rosen Penev
d8d36f3ddd
toolchain/gcc: eliminate uClibc atexit hack
This seems to be over 10 years old. It doesn't seem to be needed anymore.

Tested on malta with uClibc (selected BROKEN).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 01:11:21 +08:00
CN_SZTL
2969ff63f8
toolchain: improve gcc 10.1.0 support 2020-07-12 23:04:45 +08:00
Ian Cooper
6ca48b8591 toolchain: remove gcc libssp and use libc variant
Removes the standalone implementation of stack smashing protection
in gcc's libssp in favour of the native implementation available
in glibc and uclibc. Musl libc already uses its native ssp, so this
patch does not affect musl-based toolchains.

Stack smashing protection configuration options are now uniform
across all supported libc variants.

This also makes kernel-level stack smashing protection available
for x86_64 and i386 builds using non-musl libc.

Signed-off-by: Ian Cooper <iancooper@hotmail.com>
2020-06-18 08:06:20 +08:00
CN_SZTL
68a181afba
toolchain/gcc: init gcc 10.1.0 support
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-25 08:56:32 +08:00
Rosen Penev
f65f960769
toolchain/gcc: remove uclibc hack
This was introduced with 014d3b98b9 , which
is almost 10 years old. uClibc-ng does not suffer from this problem.

Note that this hack prevents libstdc++ from using C++11 math functions.

Tested by removing all of the mpd patches designed to fix this and
compiling.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 20:30:05 +08:00
CN_SZTL
bcd48c18f2
toolchain: Update GCC to 8.4.0, 9.3.0 2020-03-19 08:56:04 +08:00
CN_SZTL
bf4e77edaf
toolchain/gcc: Backport patch to fix unconditional MULTIARCH_DIRNAME 2020-01-01 16:14:36 +08:00
CN_SZTL
91913faeb2
toolchain/gcc: correct the check expr for newer clang 2020-01-01 16:08:23 +08:00
CN_SZTL
b07edaf2e9
toolchain/gcc: switch to 8 2019-11-20 00:29:38 +08:00
CN_SZTL
fa74d858fd
toolchain/gcc: adjust for gcc-7 2019-11-20 00:04:13 +08:00
CN_SZTL
969ae3900a
toolchain/gcc: update 2019-11-19 23:59:47 +08:00
LEAN-ESX
6b1b71e667 toolchain: ARM: Fix toolchain compilation for gcc 8.x 2019-10-28 02:46:48 -07:00
LEAN-ESX
e21c8c95e1 "toolchain: switch to GCC v7.4"
This reverts commit 7548d17823.
2019-10-28 01:19:41 -07:00
LEAN-ESX
7548d17823 toolchain: switch to v8.3.2 2019-10-26 10:27:03 -07:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
f5a44efb25 update toolchain GCC to 7.3.0 2018-02-08 22:08:32 +08:00
coolsnowwolf
d1c7890c22 x86:Add support for kernel 4.14 and new toolchain 2017-12-19 15:25:36 +08:00
coolsnowwolf
7185e1ceb2 merge: change branding for LEDE to OpenWrt 2017-12-12 16:57:14 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00