Steven Robbins <st...@sumost.ca> 于2020年2月6日周四 下午1:23写道: > > On Tue, 4 Feb 2020 21:20:59 +0800 YunQiang Su <wzss...@gmail.com> wrote: > > Package: src:gmp > > Version: 6.2.0+dfsg-3 > > > > Since binutils/gcc meet some problem due to 2GB/3GB memory limitation > > on 32bit system. > > Since GMP has built on all architectures, so I don't understand what problem > you are trying to solve. Please enlighten me?
The 32bit system has 2GiB/3GiB virtual memory space limitation. When a big object file need to compile/link, the ld/gcc/cc1 may need lots of memory, which may be more than 2GiB/3GiB. So, we need a toolchain which in fact is running on 64bit env, while output 32bit object by default. That's what multilib can help us. > > Thanks, > -Steve > -- YunQiang Su