This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/80590] [8 regression] non-bootstrap build failure of Ada runtime


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80590

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED

--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Something like this would fix it:
> ...
> diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
> index 081a63a..1d5a476 100644
> --- a/gcc/ada/gcc-interface/misc.c
> +++ b/gcc/ada/gcc-interface/misc.c
> @@ -330,6 +330,8 @@ internal_error_function (diagnostic_context *context,
> const char *msgid,
>    sp.Array = buffer;
>  
>    xloc = expand_location (input_location);
> +  if (!xloc.file)
> +    xloc.file = "<unknown>";
>    if (context->show_column && xloc.column != 0)
>      loc = xasprintf ("%s:%d:%d", xloc.file, xloc.line, xloc.column);
>    else

This only papers over the issue though, the problem is here:

#9  0x000000000087e9de in __gnat_eh_personality ()
    at gcc/ada/raise.c:87
#10 0x00007ffff69eda43 in _Unwind_RaiseException (exc=0x3bd6d60)
    at /scratch/gcc/w/gcc-4.7.3/linux/gcc-2012.09-90/libgcc/unwind.inc:113
#11 0x000000000087fc3f in __gnat_Unwind_RaiseException (e=0x3bd6d60)
    at gcc/ada/raise-gcc.c:1427

The base compiler you're using is not binary compatible with GCC 8 so you need
to bootstrap the compiler instead of just building it, or upgrade it.

There is no plan to fix this in the immediate future.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]