https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82384
--- Comment #7 from Pierre-Marie de Rodat <derodat at adacore dot com> --- I think your second test will also fail for the same reason. I suggest you also add the following patchlet: diff --git a/gcc/ada/libgnarl/s-osinte__x32.adb b/gcc/ada/libgnarl/s-osinte__x32.adb index a2874be3d69..477abcc4176 100644 --- a/gcc/ada/libgnarl/s-osinte__x32.adb +++ b/gcc/ada/libgnarl/s-osinte__x32.adb @@ -89,8 +89,6 @@ package body System.OS_Interface is function To_Timespec (D : Duration) return timespec is S : time_t; F : Duration; - - use type System.Linux.time_t; begin S := time_t (Long_Long_Integer (D)); F := D - Duration (S); Unfortunately my Linux distrib does not package a runtime package for x32, so testing will require me to install a VM and so on. I hope you’ll understand that I’ll do that only if things get too complex on your side. Thanks again for your help!