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