[PATCH] config: Add check whether D compiler works (PR103528)
Segher Boessenkool
segher@kernel.crashing.org
Sat Dec 18 21:30:52 GMT 2021
On Fri, Dec 17, 2021 at 12:12:28AM +0100, Iain Buclaw wrote:
> Hi,
>
> This patch extends AC_PROG_GDC so that as well as checking for the
> existence of a GDC compiler, also validate that it has also been built
> with libphobos, otherwise warn or fail with the message that GDC is
> required to build d.
>
> Tested on a system running powerpcle-linux both without a D compiler,
> and with a D compiler configured with --disable-libphobos.
>
> This would also help with Solaris and Darwin ports, where support for
> both D and runtime isn't present across all current releases.
>
> OK for mainline?
This fixes PR103739 by not building D at all anymore. That is also a
regression of course, but at least it doesn't break bootstrap anymore :-)
Thanks,
Segher
More information about the Gcc-patches
mailing list