[EXTERNAL] Re: 64-bit integer typedef's and -fpic lead to infinite loop and growing memory use in port to x86-32
H.J. Lu
hjl.tools@gmail.com
Fri May 28 19:52:21 GMT 2021
On Fri, May 28, 2021 at 12:42 PM Barnes, Richard
<Richard.Barnes@stratus.com> wrote:
>
> Unfortunately, our OS is only a 32-bit OS. It's ABI is only a 32-bit ABI. As you imply, if we had a 64-bit OS, we would have more registers and more memory and would probably avoid this problem. Also, libgcc2.c is supposed to be built natively by the gcc-10.2.0 compiler you have just created.
>
Are you aware that you can build a 32-bit OS with x86-64? You can try
-mx32 with
GCC on Ubuntu. You will get more registers as well as IP relative addressing.
--
H.J.
More information about the Gcc
mailing list