[MacPorts] #23531: build warning: bin.v2/libs...tr1/pch.hpp.gch: not used because '__OPTIMIZE__' not defined
MacPorts
noreply at macports.org
Wed Feb 3 00:28:28 PST 2010
#23531: build warning: bin.v2/libs...tr1/pch.hpp.gch: not used because
'__OPTIMIZE__' not defined
----------------------------+-----------------------------------------------
Reporter: fleason@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: boost
----------------------------+-----------------------------------------------
Comment(by steve@…):
== Build of 'boost' stalled for 4.5 hours with massive CPU load ==
This was also on a new i7 iMac running 10.6.2 (is this an i7 issue?).
My weekly 'port-selfupdate+upgrade' script ran as root from launchd at
03:00 this morning.
It uses 'port -v -p -u upgrade outdated' to update the ports.
Found it stalled at 07:30 this morning.
There were 8x 'g++' builds (one for each core?) under the 'bjam' process,
each running 'cc1plus', each of which was using 83% of its own CPU!
No further output since 03:05 (according to the log time stamp, and
assuming that there wasn't much unbuffered output).
Took samples of the 'bjam', 'g++' and 'cc1plus' processes.
Found this ticket with the same problem.
Killed build with 'sudo killall cc1plus' to get things back to normal.
Summary of stdout from the script (nothing bar the download in stderr):
{{{
STDOUT from /opt/local/bin/port-selfupdate+upgrade
Wed Feb 3 03:00:00 GMT 2010
---> Updating the ports tree
---> Updating MacPorts base sources using rsync
MacPorts base version 1.8.2 installed,
MacPorts base version 1.8.2 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
Outdated ports:
apache2 @2.2.14 www/apache2
bash-completion @1.1 sysutils/bash-completion
boost @1.41.0 devel/boost
cfitsio @3.240 science/cfitsio
gmp @4.3.2 devel/gmp
graphviz @2.26.3 graphics/graphviz
libiconv @1.13.1 textproc/libiconv
nmap @5.21 net/nmap
wireshark @1.2.6 net/wireshark
Upgrading outdated ports...
---> Computing dependencies for libiconv.
---> Deactivating libiconv @1.13_0
---> Computing dependencies for libiconv.
---> Activating libiconv @1.13.1_0
---> Computing dependencies for apache2.
---> Deactivating apache2 @2.2.14_0+darwin+preforkmpm
---> Computing dependencies for apache2.
---> Activating apache2 @2.2.14_1+darwin+preforkmpm
---> Computing dependencies for bash-completion.
---> Deactivating bash-completion @1.1_3
---> Computing dependencies for bash-completion.
---> Activating bash-completion @1.1_4
---> Computing dependencies for boost.
…
darwin.compile.c++
bin.v2/libs/math/build/darwin-4.2.1/debug/assoc_laguerre.o
"/usr/bin/g++-4.2" -ftemplate-depth-128 -O0 -fno-inline -Wall -g
-dynamic -no-cpp-precomp -gdwarf-2 -fPIC -Winvalid-pch
-DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1
-I"bin.v2/libs/math/build/darwin-4.2.1/debug/../src/tr1" -I"."
-I"libs/math/src/tr1" -c -o
"bin.v2/libs/math/build/darwin-4.2.1/debug/assoc_laguerre.o"
"libs/math/build/../src/tr1/assoc_laguerre.cpp"
libs/math/build/../src/tr1/assoc_laguerre.cpp:6:21: warning:
bin.v2/libs/math/build/darwin-4.2.1/debug/../src/tr1/pch.hpp.gch: not used
because `__OPTIMIZE__' not defined
}}}
Complete output from 'boost' build is in the attached file, together with
a screenshot of Activity Monitor, and samples of the processes (in case
that's relevant or helpful).
Hope this helps!
Steve
--
Ticket URL: <http://trac.macports.org/ticket/23531#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list