[cfe-dev] ld taking too much memory to link clang

Sean Silva silvas at purdue.edu
Mon Jan 21 17:55:15 PST 2013


Yes, linking is very memory hungry. The problem will be exacerbated
significantly if you are building with debug info enabled. I regularly
build a Release+Asserts clang with only 4GB of RAM.

However, I find it strange that Linux's OOM killer isn't killing ld,
and that your computer is instead freezing. You might want to contact
the Fedora developers about that.

-- Sean Silva



More information about the cfe-dev mailing list