Created attachment 338288 [details]
I just upgraded a few packages on my Gentoo box, and tried to compile a new kernel: linux-3.7.4-gentoo
After I do: make && make modules_install
I am getting the following error:
gcc: internal compiler error: Killed (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make: *** [firmware//lib/firmware/.gen.o] Error 4
make: *** [firmware] Error 2
I am using: ~AMD64
I did tried with a lower version of the kernel also: linux-3.7.3-gentoo
This probably means you ran out of memory. Since you have about 4 gigabytes of RAM, you should read the dmesg output to find the reason why that happened.
Yes, I can understand that the issue is because when I compile the kernel my memory ran out.
But, what I don't understand is, this started happening now, with the actuals kernel.
Before trying to upgrade I was using: 3.6.6 and didn't happened this issue.
So, why is this happening?
I tried looking at dmesg but it doesn't display anything, no error found.
So I don't really get here the issue, please advise.
(In reply to comment #1)
> This probably means you ran out of memory. Since you have about 4 gigabytes
> of RAM, you should read the dmesg output to find the reason why that
Well, Today I've updated my computer adding 2 more GB of RAM, and the same thing happened.
Not sure what the kernel has to do with this, reassigning.
I think you can run the compilation of that specific file through gdb, as well as pass options to store the intermediate files it produces; the toolchain probably knows which commands to run exactly, I'm not experienced with this yet.
so go into the build dir, compress the .gen.S file, and attach it here
(In reply to SpanKY from comment #5)
> so go into the build dir, compress the .gen.S file, and attach it here
If you still experience the above, please do and reopen this bug; thank you.