package/gcc: disable gcc D front-end with gcc 12
PATCH 1/1 package/gcc: disable gcc D front-end with gcc 12
"The D front-end is now itself written in D, in order to build GDC, you will need a working GDC compiler (GCC version 9.1 or later)." [1]
So we have to check if a D compiler is available on the host.
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5
http://lists.busybox.net/pipermail/buildroot/2022-August/648841.html
--- package/gcc/Config.in.host | 4 ++++ 1 file changed, 4 insertions(+)
package/gcc/Config.in.host +4 -0
@@ -77,6 +77,10 @@ config BR2_GCC_SUPPORTS_DLANG default y if BR2_riscv && !BR2_RISCV_64 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on BR2_TOOLCHAIN_USES_GLIBC + # "The D front-end is now itself written in D, in order to build GDC, you + # will need a working GDC compiler (GCC version 9.1 or later)." + # https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_12 config BR2_GCC_VERSION string
Signature · 6 lines
2.37.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 10 lines · On Sun, 21 Aug 2022 17:27:49 +0200 Romain Naour <[email protected]> wrote:
"The D front-end is now itself written in D, in order to build GDC, you will need a working GDC compiler (GCC version 9.1 or later)." [1]
So we have to check if a D compiler is available on the host.
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5
Quoted 7 lines
http://lists.busybox.net/pipermail/buildroot/2022-August/648841.html
Signed-off-by Romain Naour <[email protected]>Cc Eric Le Bihan <[email protected]>--- package/gcc/Config.in.host | 4 ++++ 1 file changed, 4 insertions(+)
Applied to master, thanks. Unless someone steps up to fix the support for the D language, it means that ultimately we would drop support for it.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot