GDC 5.1.0 fails building.

Iain Buclaw via D.gnu d.gnu at puremagic.com
Thu Apr 20 00:06:40 PDT 2017


On 20 April 2017 at 08:05, Jens Bauer via D.gnu <d.gnu at puremagic.com> wrote:
> I just started building GDC-5, so I figured I'd use GCC-5.1.0 (for easy
> transition from 4.9).
>
> It turns out that GDC-5 will not build; the file ...
>
> gcc/d/d-lang.cc
>
> ... fails on this line ...
>
> 3c59416a gcc/d/d-lang.cc 2016-10-29 00:51:04 +0200 1517)
>        debug_hooks->register_main_translation_unit (global_context);
>
> ... because register_main_translation_unit is not a member of
> gcc_debug_hooks.
> I've found out that this member was first seen in GCC-5.2.0.
>
> Note: I'm now attempting to build GDC-5.2.0.

I'm not so sure such a change would happen in a minor release.  But in
any case I'd say it can't be assumed that a version branch will work
with anything except the latest release in that series.


More information about the D.gnu mailing list