Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 456118

Summary: sys-kernel/gentoo-sources-3.7.4 - memory exhaustion in AS firmware//lib/firmware/.gen.o
Product: Gentoo Linux Reporter: Carlos Sura <mail>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal CC: kernel
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Carlos Sura 2013-02-08 07:16:07 UTC
Created attachment 338288 [details]
emerge --info

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:

  CC      sound/last.o
  LD      sound/built-in.o
  MKDIR   firmware//lib/firmware/
  MK_FW   firmware//lib/firmware/.gen.S
  AS      firmware//lib/firmware/.gen.o
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[1]: *** [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

Same issue
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-08 15:26:12 UTC
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.
Comment 2 Carlos Sura 2013-02-09 00:15:48 UTC
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
> happened.
Comment 3 Carlos Sura 2013-02-12 03:36:33 UTC
Well, Today I've updated my computer adding 2 more GB of RAM, and the same thing happened.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-23 09:13:27 UTC
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.
Comment 5 SpanKY gentoo-dev 2013-03-23 20:37:33 UTC
so go into the build dir, compress the .gen.S file, and attach it here
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-16 16:05:29 UTC
(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.