On 2019/07/22 22:05, Christian Weisgerber wrote:
> Mark Patruck:
> 
> > lang/gcc always fails with the following error on amd64 -current (~6 hours 
> > old)
> > 
> > ------------------------
> > Check for missing set procedures in body
> >      OK
> > 
> > All tests completed successfully, no errors detected
> > 
> > raised ADA.IO_EXCEPTIONS.USE_ERROR : sinfo.h: No such file or directory
> 
> The problem is in libgnat and triggered by the recent change to
> make realpath() POSIX-ly correct.
> 
> In libgnat/s-fileio.adb, the System.File_IO Open function calls
> full_name() on all pathnames, including when creating files that
> don't exist yet.
> 
> full_name() maps to __gnat_full_name().
> 
> In cstreams.c, __gnat_full_name() calls realpath().
> 
> Upstream doesn't notice because...
> 
>   /* Use realpath function which resolves links and references to . and ..
>      on those Unix systems that support it. Note that GNU/Linux provides it 
> but
>      cannot handle more than 5 symbolic links in a full name, so we use the
>      getcwd approach instead. */
> 
> ... Linux uses a different code path.
> 
> The trivial patch below makes us use that same codepath.  Unfortunately,
> it also requires building a new adastrap (on a system without the
> realpath change).
> 
> With the new adastrap, gcc/8 will then build fine on -current.

OK sthen@ to add this and bump REVISION-ada.

I've copied out the i386 bootstrap to
https://spacehopper.org/mirrors/adastrap-i386-8.3.0-0.tar.xz which is
already in MASTER_SITES0.

ADASTRAP_LIBC-i386 = 95.1
ADASTRAP_LIBM-i386 = 10.1
ADASTRAP-i386 = adastrap-i386-$V-0.tar.xz

Reply via email to