Opened 15 years ago

Last modified 10 years ago

#23531 closed defect

build warning: bin.v2/libs...tr1/pch.hpp.gch: not used because '__OPTIMIZE__' not defined — at Initial Version

Reported by: fleason (Fred Leason) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: parallel haspatch Cc:
Port: boost

Description

after doing: sudo port -d upgrade boost build stops here:

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

No error code. Just stops. related processes:

0 1952 1910 0 0:00.90 ttys000 0:01.77 /usr/bin/tclsh /opt/local/bin/port -d upgrade boost 0 1972 1952 0 0:00.00 ttys000 0:00.00 sh -c cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_41_0" && bjam -j5 -d2 --layout=tagged --debug-configuration --ignore-site-config --user-config=user-config.jam --without-python --without-mpi -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib threading=single,multi variant=debug,release 0 1973 1972 0 10:11.50 ttys000 20:06.50 bjam -j5 -d2 --layout=tagged --debug-configuration --ignore-site-config --user-config=user-config.jam --without-python --without-mpi -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib threading=single,multi variant=debug,release 0 4202 1973 0 0:00.00 ttys000 0:00.00 /usr/bin/g++-4.2 -ftemplate-depth-128 -O0 -fno-inline -Wall -g -no-cpp-precomp -gdwarf-2 -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -Ibin.v2/libs/math/build/darwin-4.2.1/debug/link-static/../src/tr1 -I. -Ilibs/math/src/tr1 -c -o bin.v2/libs/math/build/darwin-4.2.1/debug/link-static/assoc_laguerre.o libs/math/build/../src/tr1/assoc_laguerre.cpp 0 4203 4202 0 0:00.00 ttys000 0:00.00 /usr/bin/i686-apple-darwin10-g++-4.2.1 -ftemplate-depth-128 -O0 -fno-inline -Wall -g -no-cpp-precomp -gdwarf-2 -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -Ibin.v2/libs/math/build/darwin-4.2.1/debug/link-static/../src/tr1 -I. -Ilibs/math/src/tr1 -c libs/math/build/../src/tr1/assoc_laguerre.cpp -m64 -o bin.v2/libs/math/build/darwin-4.2.1/debug/link-static/assoc_laguerre.o 0 4204 4203 0 8:46.09 ttys000 19:49.26 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -Ibin.v2/libs/math/build/darwin-4.2.1/debug/link-static/../src/tr1 -I. -Ilibs/math/src/tr1 -imultilib x86_64 -DDYNAMIC -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED libs/math/build/../src/tr1/assoc_laguerre.cpp -fPIC -feliminate-unused-debug-symbols -quiet -dumpbase assoc_laguerre.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip bin.v2/libs/math/build/darwin-4.2.1/debug/link-static/assoc_laguerre.o -g -gdwarf-2 -O0 -Wall -Winvalid-pch -ftemplate-depth-128 -fno-inline -Dprivate_extern=extern -o /var/tmpcccm11Bp.s 0 4216 1973 0 0:00.00 ttys000 0:00.00 /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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_laguerre.o libs/math/build/../src/tr1/assoc_laguerre.cpp 0 4217 4216 0 0:00.00 ttys000 0:00.00 /usr/bin/i686-apple-darwin10-g++-4.2.1 -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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c libs/math/build/../src/tr1/assoc_laguerre.cpp -m64 -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_laguerre.o 0 4218 4217 0 8:49.93 ttys000 19:48.88 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -imultilib x86_64 -DDYNAMIC -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 libs/math/build/../src/tr1/assoc_laguerre.cpp -fPIC -feliminate-unused-debug-symbols -quiet -dumpbase assoc_laguerre.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_laguerre.o -g -gdwarf-2 -O0 -Wall -Winvalid-pch -ftemplate-depth-128 -fno-inline -fPIC -Dprivate_extern=extern -o /var/tmpccZbqTWU.s 0 4221 1973 0 0:00.00 ttys000 0:00.00 /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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_legendre.o libs/math/build/../src/tr1/assoc_legendre.cpp 0 4222 4221 0 0:00.00 ttys000 0:00.00 /usr/bin/i686-apple-darwin10-g++-4.2.1 -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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c libs/math/build/../src/tr1/assoc_legendre.cpp -m64 -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_legendre.o 0 4223 4222 0 8:38.24 ttys000 19:48.77 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -imultilib x86_64 -DDYNAMIC -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 libs/math/build/../src/tr1/assoc_legendre.cpp -fPIC -feliminate-unused-debug-symbols -quiet -dumpbase assoc_legendre.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/assoc_legendre.o -g -gdwarf-2 -O0 -Wall -Winvalid-pch -ftemplate-depth-128 -fno-inline -fPIC -Dprivate_extern=extern -o /var/tmpcck9Polr.s 0 4224 1973 0 0:00.00 ttys000 0:00.00 /usr/bin/g++-4.2 -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fPIC -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -Ibin.v2/libs/math/build/darwin-4.2.1/release/../src/tr1 -I. -Ilibs/math/src/tr1 -c -o bin.v2/libs/math/build/darwin-4.2.1/release/assoc_laguerre.o libs/math/build/../src/tr1/assoc_laguerre.cpp 0 4225 4224 0 0:00.00 ttys000 0:00.00 /usr/bin/i686-apple-darwin10-g++-4.2.1 -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fPIC -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -Ibin.v2/libs/math/build/darwin-4.2.1/release/../src/tr1 -I. -Ilibs/math/src/tr1 -c libs/math/build/../src/tr1/assoc_laguerre.cpp -m64 -o bin.v2/libs/math/build/darwin-4.2.1/release/assoc_laguerre.o 0 4226 4225 0 8:44.51 ttys000 19:48.68 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -Ibin.v2/libs/math/build/darwin-4.2.1/release/../src/tr1 -I. -Ilibs/math/src/tr1 -imultilib x86_64 -DDYNAMIC -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG libs/math/build/../src/tr1/assoc_laguerre.cpp -fPIC -quiet -dumpbase assoc_laguerre.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip bin.v2/libs/math/build/darwin-4.2.1/release/assoc_laguerre.o -gdwarf-2 -O3 -Wno-inline -Wall -Winvalid-pch -ftemplate-depth-128 -finline-functions -fPIC -Dprivate_extern=extern -o /var/tmpccuvpJTU.s 0 4229 1973 0 0:00.00 ttys000 0:00.00 /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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/beta.o libs/math/build/../src/tr1/beta.cpp 0 4230 4229 0 0:00.00 ttys000 0:00.00 /usr/bin/i686-apple-darwin10-g++-4.2.1 -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 -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -c libs/math/build/../src/tr1/beta.cpp -m64 -o bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/beta.o 0 4231 4230 0 8:47.86 ttys000 19:48.16 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -quiet -Ibin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/../src/tr1 -I. -Ilibs/math/src/tr1 -imultilib x86_64 -DDYNAMIC -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 libs/math/build/../src/tr1/beta.cpp -fPIC -feliminate-unused-debug-symbols -quiet -dumpbase beta.cpp -mmacosx-version-min=10.6 -m64 -mtune=core2 -auxbase-strip bin.v2/libs/math/build/darwin-4.2.1/debug/threading-multi/beta.o -g -gdwarf-2 -O0 -Wall -Winvalid-pch -ftemplate-depth-128 -fno-inline -fPIC -Dprivate_extern=extern -o /var/tmpcc23bQtj.s

environment: Mac OS X 10.6.2; 2.8 GHz Intel Core i7, 4GB 1067 MHz DDR3 The following installed ports are outdated: boost 1.41.0_1 < 1.41.0_2

Change History (6)

Changed 15 years ago by steve@…

Attachment: boost-build.stdout added

STDOUT from update script

Changed 15 years ago by steve@…

Attachment: ActivityMonitor.png added

83% CPU on 8 cores!

Changed 15 years ago by steve@…

Attachment: Sample of bjam.txt added

Changed 15 years ago by steve@…

Attachment: Sample of g++-4.2.txt added

Changed 15 years ago by steve@…

Changed 15 years ago by steve@…

Attachment: Sample of cc1plus.txt added
Note: See TracTickets for help on using tickets.