dev-libs/boost-1.37.0-r1 report unrecognized command line option "-Wno-long-double". Reproducible: Always Steps to Reproduce: 1. emerge boost Actual Results: >>> Emerging (1 of 1) dev-libs/boost-1.37.0-r1 * boost_1_37_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * boost-patches-1.37.0-1.tbz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking boost_1_37_0.tar.bz2 to /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work >>> Unpacking boost-patches-1.37.0-1.tbz2 to /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work >>> Source unpacked in /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work >>> Preparing source in /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ... * Applying various patches (bugfixes/updates) ... * 01_all_1.36.0-tools-build-fix.patch ... [ ok ] * 02_all_1.37.0-function-templates-compile-fix.patch ... [ ok ] * 03_all_1.36.0-compiler_status-trailing_slash.patch ... [ ok ] * 07_all_1.35.0-fix_mpi_installation.patch ... [ ok ] * Done with patching * Applying remove_toolset_from_targetname.patch ... [ ok ] * Applying buildid-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ... * Writing new user-config.jam >>> Source configured. >>> Compiling source in /Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ... * Using the following options to build: * --without-mpi --user-config="/Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0/user-config.jam" --boost-build=/Users/hongqn/Gentoo/usr/share/boost-build-1_37 --prefix="/Users/hongqn/Gentoo/var/tmp/portage/dev-libs/boost-1.37.0-r1/image/Users/hongqn/Gentoo//usr" --layout=versioned warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. Building Boost.Regex with the optional Unicode/ICU support disabled. Note: Please refer to the Boost.Regex documentation for more information Note: this is a strictly optional feature. Skipping build of: ./headers <build>no in common properties Skipping build of: ./build_all <build>no in common properties Skipping build of: ./headers <build>no in common properties Skipping build of: ./build_all <build>no in common properties ...patience... ...patience... ...patience... ...found 6417 targets... ...updating 1884 targets... MkDir1-quick-fix-for-unix bin.v2 MkDir1-quick-fix-for-unix bin.v2/libs MkDir1-quick-fix-for-unix bin.v2/libs/program_options MkDir1-quick-fix-for-unix bin.v2/libs/math MkDir1-quick-fix-for-unix bin.v2/libs/python MkDir1-quick-fix-for-unix bin.v2/libs/python/build MkDir1-quick-fix-for-unix bin.v2/libs/program_options/build MkDir1-quick-fix-for-unix bin.v2/libs/math/build MkDir1-quick-fix-for-unix bin.v2/libs/program_options/build/darwin-4.2 MkDir1-quick-fix-for-unix bin.v2/libs/python/build/darwin-4.2 MkDir1-quick-fix-for-unix bin.v2/libs/python/build/darwin-4.2/gentoorelease MkDir1-quick-fix-for-unix bin.v2/libs/math/build/darwin-4.2 MkDir1-quick-fix-for-unix bin.v2/libs/program_options/build/darwin-4.2/gentoorelease MkDir1-quick-fix-for-unix bin.v2/libs/math/build/darwin-4.2/gentoorelease darwin.compile.c++ bin.v2/libs/program_options/build/darwin-4.2/gentoorelease/cmdline.o cc1plus: error: unrecognized command line option "-Wno-long-double" "i686-apple-darwin9-g++" -ftemplate-depth-128 -march=prescott -finline-functions -Wno-inline -Wall -dynamic -Wno-long-double -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/program_options/build/darwin-4.2/gentoorelease/cmdline.o" "libs/program_options/src/cmdline.cpp" ...failed darwin.compile.c++ bin.v2/libs/program_options/build/darwin-4.2/gentoorelease/cmdline.o... ...on 100th target... darwin.compile.c++ bin.v2/libs/math/build/darwin-4.2/gentoorelease/acosh.o cc1plus: error: unrecognized command line option "-Wno-long-double" darwin.compile.c++ bin.v2/libs/python/build/darwin-4.2/gentoorelease/numeric.o cc1plus: error: unrecognized command line option "-Wno-long-double" "i686-apple-darwin9-g++" -ftemplate-depth-128 -march=prescott -finline-functions -Wno-inline -Wall -dynamic -Wno-long-double -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/Users/hongqn/Gentoo/usr/include/python2.6" -c -o "bin.v2/libs/python/build/darwin-4.2/gentoorelease/numeric.o" "libs/python/src/numeric.cpp" ...failed darwin.compile.c++ bin.v2/libs/python/build/darwin-4.2/gentoorelease/numeric.o... "i686-apple-darwin9-g++" -ftemplate-depth-128 -march=prescott -finline-functions -Wno-inline -Wall -dynamic -Wno-long-double -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/math/build/darwin-4.2/gentoorelease/acosh.o" "libs/math/build/../src/tr1/acosh.cpp" ...failed darwin.compile.c++ bin.v2/libs/math/build/darwin-4.2/gentoorelease/acosh.o... ...failed updating 1 target... ...updated 14 targets... * ERROR: dev-libs/boost-1.37.0-r1 failed: * building boost failed * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:3192: ${BJAM} ${NUMJOBS} -q gentoorelease ${OPTIONS} threading=${mythreading} link=shared,static runtime-link=${myruntime} || die "building boost failed"; * * If you need support, post the topmost build error, and the call stack if relevant. Expected Results: it should ok $ emerge --info Portage 2.2.00.13621-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.7.0 i386) ================================================================= System uname: Darwin-9.7.0-i386-32bit Timestamp of tree: Sun, 17 May 2009 06:32:19 +0000 distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 4.0_p17-r1 dev-lang/python: 2.5.4-r2, 2.6.2 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2-r00.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-march=prescott" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=prescott" DISTDIR="/Users/hongqn/Gentoo/usr/portage/distfiles" EPREFIX="/Users/hongqn/Gentoo" FEATURES="collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/Users/hongqn/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/hongqn/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Users/hongqn/Gentoo/var/tmp" PORTDIR="/Users/hongqn/Gentoo/usr/portage" PORTDIR_OVERLAY="/Users/hongqn/Gentoo/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua bash-completion coreaudio cracklib midi mmx mmxext ncurses nls objc objc++ prefix python readline sse sse2 ssl unicode vim-syntax x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
hehe, you're just ahead of me. It seems to be boost-build, but it contains code that should avoid this. So I fear the problem is much nastier.
I think I fixed this particular problem.