[OpenWrt-Devel] [PATCH] build: make GCC version 6+ minimal host build requirement

Petr Štetiar ynezz at true.cz
Tue Nov 12 12:31:28 EST 2019


Yousong Zhou <yszhou4tech at gmail.com> [2019-11-12 18:37:21]:

> I tried for a few times with packages provided by SoftwareCollections.org,
> but it's definitely not "straightforward" enough in my opinion.

I tried to install developer toolset version 8 in CentOS 7 Docker container in
order to triage the same compile failure happening with GCC 8.3[1] and it
simply worked as advertised, I was able to use GCC 8.3 on CentOS 7 just fine.

> Note that we are talking about host build with host toolchain whose input we
> control and whose product only runs on the host itself at build times.

Note that fwtool is just a tip of the iceberg, reminder, that we're still
supporting archaic compiler versions. Just imagine tools/firmware-utils with
-Wextra as the next step...

1. https://github.com/openwrt/openwrt/commit/4ba8f7b1ef1e4c0607185a41c06b51928c625d8b#commitcomment-35914043

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list