[PATCH 0/6] use binutils 2.36.1 and gcc 10 by default

Stijn Tintel stijn at linux-ipv6.be
Sun Aug 15 03:51:13 PDT 2021


Since 21.02 has been branched, it's a good time to switch master to a
more recent toolchain by default. I have been test-driving binutils
2.36.1 and gcc 10.3 for months on many different targets without issues.

Additionally I've compile-tested x86/64 with CONFIG_ALL_PACKAGES=y, and
all packages in OpenWrt core build fine.

The packages feed contains a few packages that will need to be fixed.
One of them is the perl package. Unfortunately, the perl package seems
to contain a bunch of undocumented patches that have either not been
accepted by upstream, or haven't been submitted upstream at all, so
I'll leave it up to the maintainer(s) and/or community to handle the
perl bump, as I do not use perl at all.

Another package that doesn't build is gnupg (v1). Users are encouraged
to use gnupg2 instead. I suggest to drop gnupg v1 entirely.

After many hours of fixing random breakage in the packages feed, many of
which not even caused by the GCC bump, I gave up and decided to just
send out this patch series.

Stijn Tintel (6):
  busybox: fix compilation with GCC 10
  umbim: fix compilation with GCC 10
  toolchain/binutils: switch to version 2.36.1 by default
  toolchain/gcc: switch to version 10 by default
  toolchain: drop GCC 9
  toolchain: drop binutils 2.35.1

 package/network/utils/umbim/patches/999-gcc10.patch | 13 +++++++++++++
 package/utils/busybox/Makefile                      |  3 ---
 toolchain/binutils/Config.in                        |  6 +-----
 toolchain/binutils/Config.version                   |  6 +-----
 toolchain/gcc/Config.in                             |  5 +----
 toolchain/gcc/Config.version                        | 13 ++++---------
 6 files changed, 20 insertions(+), 26 deletions(-)
 create mode 100644 package/network/utils/umbim/patches/999-gcc10.patch

-- 
2.31.1




More information about the openwrt-devel mailing list