From mboxrd@z Thu Jan 1 00:00:00 1970 User-Agent: K-9 Mail for Android In-Reply-To: References: <877fl6ronj.fsf@rudra.copyninja.info> <835ECE9E-472C-448D-8125-67BBACB09752@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: Ryan Gonzalez Date: Thu, 26 Nov 2015 17:08:24 -0600 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, David du Colombier <0intro@gmail.com> Message-ID: <69275011-637E-4D0C-9E17-2F0CF1B93503@gmail.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Compiling ken-cc on Linux Topicbox-Message-UUID: 7895d440-ead9-11e9-9d60-3106f5b1d025 On November 26, 2015 4:30:32 PM CST, David du Colombier <0intro@gmail.com= > wrote: >>> I remember the time I was trying to build LLVM+Clang on Windows in >debug >>> mode. Because...MinGW...I actually surpassed the file size limit >when >>> linking Clang, so I had to rebuild EVERYTHING. Stupid thing took >about an >>> hour each time. >> >> >> Ah. Debug mode. It took me a while to suspect: I don't think you can >build >> debug mode at all now in 32-bit mode. >> Even with gold instead of gnu ld it needs more memory than they can >> represent in their arrangement of 32-bit user-mode address space. > >If I remember correctly, the last time I built clang in debug mode, it >used >more than 12 GB of memory during the linking. So yes, three times >bigger than the 32-bit address space. Holy crap, that's crazy. I built it in debug mode on Linux, but I don't t= hink it used that much. I only have 6 GB right now! --=20 Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity.