=app-cdr/cdw-0.6.0 fails to build due to missing linkage against libm. See attached build.log for details. Reproducible: Always Steps to Reproduce: 1. # emerge =app-cdr/cdw-0.6.0 Actual Results: cdw fails to build Expected Results: cdw builds smoothly Portage 2.2.0_alpha3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-gvaemor x86_64) ================================================================= System uname: Linux-2.6.35-gvaemor-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 05 Nov 2010 20:00:23 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1 dev-util/cmake: 2.8.3::asolokha-overlay sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) Repositories: gentoo sunrise asolokha-overlay multimedia wirelay ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -mcx16 -msahf -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -mcx16 -msahf -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/asolokha-overlay /var/lib/layman/multimedia /var/lib/layman/wirelay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 mmx mmxext nptl nptlonly sse sse2 ssse3 threads unicode" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 253347 [details] Build log
Created attachment 253349 [details, diff] Fix for files/cdw-0.6.0-asneeded.patch files/cdw-0.6.0-asneeded.patch should be extended in this way.
you have ricer flags. try using reasonable CFLAGS. builds fine for me on stable x86.
bugzilla
difference in linking between amd64 and x86. Fixed up in portage. thanks for the bug report.