Hello João,
On Thu, Sep 10, 2015 at 03:53:23PM +0100, João Rocheteau Ramos wrote:
"Out of memory: kill process 5132 (gnome-session) score 52875 or a childKilled process 5240 (ssh-agent) vsz:2704kB, anon-rss:208kB, file-rss:40kBOut of memory: kill process 5132 (gnome-session) score 52536 or a childKilled process 5427 (gnome-power-man) vsz:18416kB, anon-rss:1448kB, file-rss:192kBOut of memory: kill process 5132 (gnome-session) score 50233 or a childKilled process 5430 (polkit-gnome-au) vsz:16788kB, anon-rss:1140kB, file-rss:84kBOut of memory: kill process 5132 (gnome-session) score 48134 or a childKilled process 5431 (metacity) vsz:27500kB, anon-rss:1996kB, file-rss:648kBOut of memory: kill process 5132 (gnome-session) score 44871 or a childKilled process 5432 (gnome-panel) vsz:37664kB, anon-rss:3604kB, file-rss:464kBOut of memory: kill process 24338 (make) score 43282 or a childKilled process 25429 (genattrtab) vsz:322012kB, anon-rss:320352kB, file-rss:96kBmake[3]: *** [s-attrtab] Killedmake[3]: *** Waiting for unfinished jobs....make[2]: *** [all-gcc] Error 2make[1]: *** [all] Error 2make: *** [build/x86/gcc/gcc/g++] Error 2
I'm afraid you don't have enough RAM as "Out of memory [...]" hints. You may add more RAM to the machine (is it a VM?), add a swap partition (which could help but slows down the build extremely), or just go for the download.
Regards