On 10/1/17, Arnaud Charlet <char...@adacore.com> wrote: >> s-taprop.adb failed to compile for x32: >> >> s-taprop.adb:341:29: operator for type "System.Linux.time_t" is not >> directly visible >> s-taprop.adb:341:29: add with_clause and use_clause for "Linux" >> >> which is caused by >> >> 2017-09-25 Doug Rupp <r...@adacore.com> >> >> * libgnarl/s-taprop__linux.adb (Base_Monotonic_Clock): New >> variable. >> (Compute_Base_Monotonic_Clock): New function. >> (Timed_Sleep): Adjust to use Base_Monotonic_Clock. >> (Timed_Delay): Likewise. >> (Monotonic_Clock): Likewise. >> * s-oscons-tmplt.c (CLOCK_MONOTONIC): Use on Linux. >> >> This patch adds and uses libgnarl/s-taprop__x32.adb for x32, which is >> similar to libgnarl/s-taprop__linux.adb, but uses >> System.Linux.time_t. >> >> OK for trunk? > > No, we don't want more almost-duplicates of s-taprop, we need to find a > way to merge the changes with s-taprop__linux.adb, so reason this can't be > achieved. >
I have no idea how to do it. I opened: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82384 -- H.J.