It actually could be that debugging flags are ruining the build. MongoDB passes `-ggdb` and some other.
Throw that away, and chances are it compiles. Difference, apparently, can be huge: https://lists.apple.com/archives/xcode-users/2008/Oct/msg00279.html https://lists.gnu.org/archive/html/libtool/2008-10/msg00033.html On Mon, Apr 1, 2024 at 8:44 PM Kirill A. Korinsky <kir...@korins.ky> wrote: > On Mon, 01 Apr 2024 14:35:21 +0200, > Sergio Had wrote: > > > > Can something be done about this error or is it a hard constraint of > 32-bit > > arch? > > > > Seems like a limit for VM size for 32bit application. > > A while ago, before 64 bit were usual, it was qutie tricky to work with > large files. Each application must to implement a kind of pageing to > support > large files. > > But since 64bit is something that everyone expets, we have a world where > you > may mmap into memory any file and simple work with it as huge array. > > With one notable exception: Java. Java enforces such limit for back > compatibility with 32 bit platforms. > > -- > wbr, Kirill >