https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626
--- Comment #5 from Steven Noonan <steven at uplinklabs dot net> --- (In reply to H.J. Lu from comment #3) > 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 This seems to build perfectly for --with-multilib=m32,m64,mx32.