Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420155 - www-plugins/firefox-13.0 compilation gets killed after almost bringing system to a grinding halt
Summary: www-plugins/firefox-13.0 compilation gets killed after almost bringing system...
Status: RESOLVED DUPLICATE of bug 419671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 22:11 UTC by onox
Modified: 2012-06-08 03:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Tail of the build fail (ff-13-build-fail-tail,13.45 KB, text/plain)
2012-06-07 22:11 UTC, onox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onox 2012-06-07 22:11:06 UTC
Created attachment 314617 [details]
Tail of the build fail

I was compiling firefox-13.0 (I got this issue also with either 10, or 12 (don't remember which version exactly) (Currently still using 9) then Mozilla's fantastic build system brought my system almost to a grinding halt by completely claiming my HDD (I still wonder why Linux' super fair IO/process schedulers start eating out of their noses while waiting for the HDD) while executing expandlibs_exec.py. Then, a couple of minutes later, the kernel decides it has had enough fun with the silly fox and kills it. I guess Mozilla's glorious build system got the Eclipse syndrome. Sorry, no better explanation.

I know most devs usually want to see the full build log, but it is 8.5M and contains 99% useless compiler output. So I attached it's tail instead.

Here's emerge --info:

Portage 2.1.10.49 (hardened/linux/x86, gcc-4.5.3, unavailable, 3.2.11-hardened i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.11-hardened-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-gentoo-2.1
Timestamp of tree: Thu, 07 Jun 2012 17:15:01 +0000
app-shells/bash:          4.0_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.10.1, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"

emerge ran with following USE flags:

USE="alsa dbus ipc libnotify minimal%* startup-notification system-sqlite webm -bindist -crashreporter -custom-cflags -custom-optimization -debug -jit% (-pgo) (-selinux) -wifi*"

I've succesfully compiled various versions of firefox on this system since 2007, but after 9 it got borked :(
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-07 22:17:52 UTC
> collect2: ld terminated with signal 9 [Killed]

Check dmesg for signs of the OOM killer. If you have pgo enabled, Firefox needs around 3GB memory during final link.
Comment 2 onox 2012-06-07 22:20:02 UTC
The USE flag says pgo is disabled?
Comment 3 onox 2012-06-07 22:23:40 UTC
dmesg shows OOM killer kicked into action. How much memory is needed during final link without pgo? I've only 1.5 GiB on this system.
Comment 4 Jory A. Pratt gentoo-dev 2012-06-08 03:48:42 UTC

*** This bug has been marked as a duplicate of bug 419671 ***