Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 18:26:53 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.csail.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175171: firefox port build eats all CPU cores
Message-ID:  <201301092326.r09NQrRi016095@khavrinen.csail.mit.edu>
Resent-Message-ID: <201301092330.r09NU0Yk059056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175171
>Category:       ports
>Synopsis:       firefox port build eats all CPU cores
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 23:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD khavrinen.csail.mit.edu 9.1-RELEASE FreeBSD 9.1-RELEASE #15 r245182: Tue Jan 8 18:09:56 EST 2013 wollman@khavrinen.csail.mit.edu:/usr/obj/usr/src/sys/KHAVRINEN amd64

>Description:

While rebuilding the Firefox port, I see that my load average has shot
up, and there are lots of cc1plus processes running.  Closer
inspection shows:

 1154  3  I+      0:00.00 /bin/sh -ec (cd /usr/ports/www/firefox/work/mozilla-release; if ! /usr/bin/env SHELL=/bin/sh NO_LINT=YES  AUTOCONF=/usr/local/bin/autoconf-2.13  AUTOCONF_DIR=/usr/local/share/autoconf-2.13  AUTOHEADER=/usr/local/bin/autoheader-2.13  AUTOIFNAMES=/usr/local/bin/ifnames-2.13  AUTOM4TE=false  AUTORECONF=/usr/local/bin/autoreconf-2.13  AUTOSCAN=/usr/local/bin/autoscan-2.13  AUTOUPDATE=/usr/local/bin/autoupdate-2.13  AUTOCONF_VERSION=2.13           PREFIX=/usr/local  LOCALBASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O -pipe"  CPP="cpp" CPPFLAGS="-isystem/usr/local/include"  LDFLAGS=" -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\\\\\\$\\$ORIGIN"  CXX="c++" CXXFLAGS="-O -pipe"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 4!
 44"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444" gmake -f Makefile -j`/sbin/sysctl -n kern.smp.cpus`  default; then  if [ x != x ] ; then  echo "===> Compilation failed unexpectedly.";  (echo ) | /usr/bin/fmt 75 79 ;  fi;  false;  fi)
 1156  3  I+      0:00.01 gmake -f Makefile -j6 default

I certainly never told anything that it was OK to use all of the cores
on my machine for compiling Firefox or any other piece of software.
It should confine itself to a single core unless told to do otherwise.

>How-To-Repeat:

portupgrade -f firefox

>Fix:

Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301092326.r09NQrRi016095>