Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431398 - www-client/firefox-14.0.1 - collect2: ld terminated with signal 9 [Killed]
Summary: www-client/firefox-14.0.1 - collect2: ld terminated with signal 9 [Killed]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2012-08-14 15:59 UTC by Randy Andy
Modified: 2012-08-15 00:55 UTC (History)
0 users

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

environment (environment,267.26 KB, text/plain)
2012-08-14 16:01 UTC, Randy Andy

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Andy 2012-08-14 15:59:01 UTC
Fails to compile on several trials, with and without distcc here on my Atom-Netbook (~x86) arch.

Builds fine with the same use-flags on an other ~amd64 PC here.

collect2: ld terminated with signal 9 [Killed]
distcc[4360] ERROR: compile (null) on localhost failed
make[5]: *** [] Error 1
make[5]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/obj-i686-pc-linux-gnu/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/obj-i686-pc-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/obj-i686-pc-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/obj-i686-pc-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-14.0.1 failed (compile phase):
 *   emake failed
 * Call stack:
 *, line  85:  Called src_compile
 *   environment, line 6858:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f || die "emake failed";
Comment 1 Randy Andy 2012-08-14 16:01:47 UTC
Created attachment 321334 [details]
Comment 2 Randy Andy 2012-08-14 16:02:41 UTC
emerge --info =www-client/firefox-14.0.1
Portage 2.2.0_alpha121 (default/linux/x86/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo i686)
                         System Settings
System uname: Linux-3.5.0-gentoo-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Sun, 12 Aug 2012 13:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
Installed sets: @system
CFLAGS="-march=atom -O2 -fomit-frame-pointer -pipe -mfpmath=sse"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                          
CXXFLAGS="-march=atom -O2 -fomit-frame-pointer -pipe -mfpmath=sse"                                                                   
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write"                                                                             
FCFLAGS="-O2 -march=i686 -pipe"                                                                                                      
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"      
FFLAGS="-O2 -march=i686 -pipe"                                                                                                       
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                    
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                           
USE="7Zip X a52 aac aalib acl acpi akonadi alsa apng asf audiofile bash-completion berkdb branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dga dhcpcd djvu dlloader dri drm dts dv dvd dvdr dvdread dvi emboss enca encode exif extras fame fat ffmpeg fftw firefox firefox3 flac flash fontconfig fortran ftp g3dvl gallium gbm gdbm gif git gles gles1 gles2 glib gphoto2 gpm graphviz gs gstreamer gtk iconv icq imap intel ipv6 irc jabber java jpeg kde kexiv2 kipi kpathsea lame laptop lcms ldap lensfun libcaca libclamav libnotify libsamplerate libv4l libv4l2 liemikuutio lirc live llvm lm_sensors lzma lzo mad mainmenuhooks matroska metric minizip mjpeg mmx mng modemmanager modules mp3 mp4 mpeg mplayer msn mudflap musepack mysql nas ncurses network networkmanager nfsv4 nfsv41 nls nptl nsplugin nss ntfs ntp ogg ogm okular openal opengl openmp openssl openstreetmap openvg optimization osdmenu osmesa pam pango parted pastebin pcm pcre pdf pdfimport phonon plasma player plugin pm-utils pmu png pnm policykit pop postproc ppds ppp pppd prison privacy python python3 qalculate qt qt3support qt4 quicktime rar raw readline recode recording redeyes rle rss rtmp rtsp scanner schroedinger script sdk sdl sdl-image sdl-sound secure-delete semantic-desktop server session sftp shine shorten shout sift skype smp sms sna sndfile soundextract speech speex spell sql sse sse2 ssl ssse3 startup-notification stk stream strigi svg syncearly tcpd templates tga theora threads thumbnail tiff toolame transcode tremor truetype twolame udev udisks umfpack unicode upower urlpicpreview usb utils v4l v4l2 vaapi vamp vcd vcdinfo vcdx video virtuoso vlm vorbis vpx vxml wav wavpack webcam webdav webkit webpresence win32codecs winbind windeco wma wma-fixed wmf wxwidgets x264 x86 xanim xcb xcomposite xine xinerama xml xorgmodule xpm xprint xscreensaver xsl xslt xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg yaepg yahoo youtube yv12 zip zlib" ALSA_CARDS="hda-intel loopback virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

emerge -pqv =www-client/firefox-14.0.1
[ebuild     U ] www-client/firefox-14.0.1 [13.0] USE="alsa dbus gstreamer%* ipc jit libnotify minimal startup-notification webm -bindist -custom-cflags -custom-optimization -debug -pgo (-selinux) -system-sqlite -wifi (-crashreporter%*)" LINGUAS="de -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km% -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu"
Comment 3 Rafał Mużyło 2012-08-14 16:11:57 UTC
The snippet is a couple lines too short, but if I'm reading it right, it's not really a bug.

Linking of libxul needs *a lot* of free memory - this looks like linking getting killed due to running out of it.
Comment 4 Randy Andy 2012-08-14 16:28:23 UTC
Thanks for the hint and the fast response.

I will try it later to save some RAM or add a swap or compile it on an other Machine in a chroot enviroment.

I wasn't able to add the whole build.log cause its 8,6 Mib, nor to upload it to paste.bin.

Tried to add also the last two pages into a text box, while you're writing your fist comment, but also too much lines of text :-(

Come back later with more results after trying what you say. Many thanks.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-15 00:55:42 UTC
collect2: ld terminated with signal 9 [Killed]

You ran out of RAM. The usual fixes:

1) Install more RAM.
2) Remove -pipe from CFLAGS.
3) Set MAKEOPTS=-j1.
4) Install more RAM.