Config.in: add BR2_HOST_GCC_AT_LEAST_9
PATCH 1/1 Config.in: add BR2_HOST_GCC_AT_LEAST_9
Fedora 30 switched to GCC 9.x. [1]
[1] https://fedoraproject.org/wiki/Changes/GCC9
--- Config.in | 5 +++++ 1 file changed, 5 insertions(+)
Config.in +5 -0
@@ -50,6 +50,11 @@ config BR2_HOST_GCC_AT_LEAST_8 default y if BR2_HOST_GCC_VERSION = "8" select BR2_HOST_GCC_AT_LEAST_7 +config BR2_HOST_GCC_AT_LEAST_9 + bool + default y if BR2_HOST_GCC_VERSION = "9" + select BR2_HOST_GCC_AT_LEAST_8 + # When adding new entries above, be sure to update # the HOSTCC_MAX_VERSION variable in the Makefile.
Signature · 1 line
2.24.1
PATCH 1/1 Config.in: add BR2_HOST_GCC_AT_LEAST_9
Quoted 5 lines · On Tue, 25 Feb 2020 22:22:13 +0100 Romain Naour <[email protected]> wrote:
Fedora 30 switched to GCC 9.x. [1]
[1] https://fedoraproject.org/wiki/Changes/GCC9
Signed-off-by Romain Naour <[email protected]>
Thanks, but this was not sufficiently tested it seems: on my Fedora system with gcc 9.x, BR2_HOST_GCC_VERSION was still 8, and therefore BR2_HOST_GCC_AT_LEAST_9 was not "y". This is because the main Buildroot Makefile HOSTCC_MAX_VERSION variable needs to be updated as well.
I fixed that up and applied to master. Thanks!
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 Config.in: add BR2_HOST_GCC_AT_LEAST_9
Hello Thomas,
Le 25/02/2020 ? 23:23, Thomas Petazzoni a ?crit?:
Quoted 7 lines
Quoted 4 lines · On Tue, 25 Feb 2020 22:22:13 +0100 Romain Naour <[email protected]> wrote:
Fedora 30 switched to GCC 9.x. [1]
Quoted 8 lines
Quoted 1 line
Signed-off-by Romain Naour <[email protected]>Thanks, but this was not sufficiently tested it seems: on my Fedora system with gcc 9.x,
BR2_HOST_GCC_VERSIONwas still 8, and thereforeBR2_HOST_GCC_AT_LEAST_9was not "y". This is because the main BuildrootMakefileHOSTCC_MAX_VERSIONvariable needs to be updated as well.I fixed that up and applied to master. Thanks!
Sorry for that.
I was looking at [1] at the same time (that is why I noticed this symbol was missing).
[1] https://bugs.busybox.net/show_bug.cgi?id=12581
Best regards,
Romain
Quoted 5 lines
Best regards,
Thomas