Skip to content

Commit fb2c59b

Browse files
committed
toolchain: gcc: drop GCC11
There is no practical value in keeping GCC11 around, as even OpenWrt 23.05 uses GCC12 as the default one, so drop it. Signed-off-by: Robert Marko <[email protected]>
1 parent 200a31b commit fb2c59b

28 files changed

+1
-3110
lines changed

config/Config-build.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ menu "Global build settings"
175175

176176
config MOLD
177177
depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || riscv64 || sh4 || x86_64)
178-
depends on !GCC_USE_VERSION_11
179178
depends on !HOST_OS_MACOS
180179
def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
181180

package/libs/elfutils/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,8 @@ CONFIGURE_VARS += \
8686
TARGET_CFLAGS += \
8787
-D_GNU_SOURCE \
8888
-Wno-unused-result \
89-
-Wno-format-nonliteral
90-
91-
ifneq ($(CONFIG_GCC_USE_VERSION_11),y)
92-
TARGET_CFLAGS += \
89+
-Wno-format-nonliteral \
9390
-Wno-error=use-after-free
94-
endif
9591

9692
define Build/InstallDev
9793
$(INSTALL_DIR) $(1)/usr/include

toolchain/gcc/Config.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ choice
66
help
77
Select the version of gcc you wish to use.
88

9-
config GCC_USE_VERSION_11
10-
bool "gcc 11.x"
11-
129
config GCC_USE_VERSION_12
1310
bool "gcc 12.x"
1411

toolchain/gcc/Config.version

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
config GCC_VERSION_11
2-
default y if GCC_USE_VERSION_11
3-
bool
4-
51
config GCC_VERSION_12
62
default y if GCC_USE_VERSION_12
73
bool
@@ -13,7 +9,6 @@ config GCC_VERSION_13
139
config GCC_VERSION
1410
string
1511
default EXTERNAL_GCC_VERSION if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
16-
default "11.3.0" if GCC_VERSION_11
1712
default "12.3.0" if GCC_VERSION_12
1813
default "13.3.0" if GCC_VERSION_13
1914
default "14.3.0"

toolchain/gcc/patches-11.x/002-case_insensitive.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

toolchain/gcc/patches-11.x/010-documentation.patch

Lines changed: 0 additions & 35 deletions
This file was deleted.

toolchain/gcc/patches-11.x/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch

Lines changed: 0 additions & 46 deletions
This file was deleted.

toolchain/gcc/patches-11.x/020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch

Lines changed: 0 additions & 134 deletions
This file was deleted.

toolchain/gcc/patches-11.x/110-Fix-MIPS-PR-84790.patch

Lines changed: 0 additions & 20 deletions
This file was deleted.

toolchain/gcc/patches-11.x/230-musl_libssp.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)