ports/175171: firefox port build eats all CPU cores
Garrett Wollman
wollman at khavrinen.csail.mit.edu
Wed Jan 9 23:30:00 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list