This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/82384] [8 Regression] s-taprop.adb failed to compile for x32
- From: "derodat at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Oct 2017 10:35:19 +0000
- Subject: [Bug ada/82384] [8 Regression] s-taprop.adb failed to compile for x32
- Auto-submitted: auto-generated
- References: <bug-82384-4@http.gcc.gnu.org/bugzilla/>
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!