dev-lang/spidermonkey-78.8.0 fails to build for me. The USE flags are all defaults. I have 78.6.0 installed currently. I don't know why 78.8.0 is failing. Reproducible: Always I will reopen this bug and attach the info and build log and pqv as text files.
Created attachment 689700 [details] emerge --info
Created attachment 689703 [details] build log
Created attachment 689706 [details] environment
Created attachment 689709 [details] emerge -pqv
From you build.log: {standard input}: Assembler messages: {standard input}:669094: Warning: end of file not at end of a line; newline inserted {standard input}:669273: Error: no such instruction: `mo' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[3]: *** [/var/tmp/portage/dev-lang/spidermonkey-78.8.0/work/firefox-78.8.0/config/rules.mk:750: Unified_cpp_js_src_jit4.o] Error 1 I have no idea at the moment. Please try to rebuild 78.6.0 followed by 78.7.1.
I think this might actually just be OOM. Please retry with fewer jobs to verify.
I tried to reinstall 78.6.0 and it failed. So, I'm in trouble. I'm just a general user, not a developer. My wild guess is that something happened when dev-libs/icu went to 68.2, because I think spidermonkey was on the list when emerge @preserved-rebuild failed. I don't how to proceed. Maybe I can try downgrading dev-libs/icu.
(In reply to Don Wilburn from comment #7) > I tried to reinstall 78.6.0 and it failed. So, I'm in trouble. I'm just a > general user, not a developer. My wild guess is that something happened > when dev-libs/icu went to 68.2, because I think spidermonkey was on the list > when emerge @preserved-rebuild failed. > I don't how to proceed. Maybe I can try downgrading dev-libs/icu. Can you please try with MAKEOPTS="-j1"?
My computer has 4G RAM and 2G swap partition. Should I try adding a swap file first to increase virtual memory before trying with the new options?
I changed the MAKEOPTS as advised. Success! Thank you. Also, I added a 4G swap file before the final attempt. I watched top on another terminal and it showed less than 30% total memory usage. So, I don't think memory was the problem. Now I need to read about MAKEOPTS.
There should be output in "dmesg", too.
(In reply to Don Wilburn from comment #10) > I changed the MAKEOPTS as advised. Success! Thank you. > > Also, I added a 4G swap file before the final attempt. I watched top on > another terminal and it showed less than 30% total memory usage. So, I > don't think memory was the problem. Now I need to read about MAKEOPTS. For future people finding this via a search engine: My computer is a quad core Phenom with 4GB RAM. Currently, it's about 10 years old. Doesn't seem obsolete to me, but it was built for a certain 32 bit OS many years ago. Gentoo has been here for many years too. I had sloppily set MAKEOPTS to -j5, though I'm sure the AMD64 handbook explained that it would be best to set it based on 2GB per core. So, my previous comment about memory was erroneous. That has everything to do with why -j1 fixed the problem. At least, that's what it seems like to me. I am surprised that it has taken so many years to cause problems.