>> 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. -- David du Colombier
