[MacPorts] #23531: build warning: bin.v2/libs...tr1/pch.hpp.gch: not used because '__OPTIMIZE__' not defined

MacPorts noreply at macports.org
Tue Feb 2 21:48:03 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                                
----------------------------+-----------------------------------------------
 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 -D__DYNAMIC__ -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
 -D__private_extern__=extern -o /var/tmp//cccm11Bp.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 -D__DYNAMIC__ -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 -D__private_extern__=extern -o /var/tmp//ccZbqTWU.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 -D__DYNAMIC__ -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 -D__private_extern__=extern -o /var/tmp//cck9Polr.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 -D__DYNAMIC__ -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 -D__private_extern__=extern -o
 /var/tmp//ccuvpJTU.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 -D__DYNAMIC__ -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 -D__private_extern__=extern -o /var/tmp//cc23bQtj.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

-- 
Ticket URL: <http://trac.macports.org/ticket/23531>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list