https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-05-10 Summary|Ada x32 multilib build |[7/8 Regression] Ada x32 |failure for a-cfinve.ads |multilib build failure for | |a-cfinve.ads Ever confirmed|0 |1 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- We need something similar to commit 5821cbd2fa002acf67add968862c6d4fe847fa89 Author: krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Apr 4 11:45:37 2017 +0000 [Ada][S/390] Fix Memory_Size definition. -m31 -mzarch uses 64 as word size instead of 32. This must not affect the Address type definition which is based on Memory_Size. gcc/ada/ChangeLog: 2017-04-04 Andreas Krebbel <kreb...@linux.vnet.ibm.com> * system-linux-s390.ads: Use Long_Integer'Size to define Memory_Size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246678 138bc75d-0d04-0410-961f-82ee72b054a4 Please try diff --git a/gcc/ada/system-linux-x86.ads b/gcc/ada/system-linux-x86.ads index 22a212e..533d94e 100644 --- a/gcc/ada/system-linux-x86.ads +++ b/gcc/ada/system-linux-x86.ads @@ -70,7 +70,7 @@ package System is Storage_Unit : constant := 8; Word_Size : constant := Standard'Word_Size; - Memory_Size : constant := 2 ** Word_Size; + Memory_Size : constant := 2 ** Long_Integer'Size; -- Address comparison