Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@irene I realized the problem was that make was building multiple items in parallel. I switched it to run only one job at a time, removed the swap (just to see how much space it takes) and, when it was building clang and libclang, the memory usage spiked to 13.5 GB, damn
No wonder it ran out of memory.
Took forever, though. But yay, it works. -
@aki237 neither.
svn co'd the code from LLVM's own repositories, built it in debug configuration. I want to hack around with LLVM, but the packaged versions are built in release mode without asserts or debug symbols. Plus, I wanted the latest and greatest :p -
@irene I know, I had set it to 4, max.
But even 2 was throwing that error. I think the damn thing was trying to build clang and some other large project simultaneously. Oh well, lesson learnt. Thanks for the tip about tmpfs, I'll check it (had no clue what it was till now, wow).
And yes, one really is too slow :/ -
@irene ah, a ramdisk. Hey, that could solve some problems I've been having with another project.
Thank you!!
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
ReliantFever7359"my app is so awesome you don't even have to close it, it crashes itself automatically. "
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
Linker crashed while building LLVM from source AT FUCKING 97% ARE YOU FUCKING KIDDING ME?
(Antergos , GCC 7)
The error was that it exhausted the memory. How the fuck does a system with 16GB RAM and a swapfile run out of memory while building something? Dayum.
rant
linker
crash
out of memory
llvm
fml