Problem appears if cflags contains "--", double dash. /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -I../../src/include -O2 -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=128 -mtune=pentium4 -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe -s -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-O1 -Wl,--as-needed -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -lfl mkdir .libs i686-pc-linux-gnu-gcc -I../../src/include -O2 -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=128 -mtune=pentium4 -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe -s -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-O1 -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -Wl,--as-needed -lfl make[3]: *** No rule to make target `/usr/include/l2-cache-size=128', needed by `default.nl'. Stop. make[3]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.5.0/work/linux-atm-2.5.0/src/qgen' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.5.0/work/linux-atm-2.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.5.0/work/linux-atm-2.5.0' make: *** [all] Error 2 emake failed Reproducible: Always emerge --info FEATURES variable contains unknown value(s): XXkeepwork, Xdistcc Portage 2.1.9.25 (hardened/linux/x86, gcc-4.5.2, glibc-2.11.2-r3, 2.6.35-hardened-r5 i686) ================================================================= System uname: Linux-2.6.35-hardened-r5-i686-Intel-R-_Celeron-R-_CPU_2.40GHz-with-gentoo-1.12.14 Timestamp of tree: Wed, 12 Jan 2011 14:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r9 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=128 -mtune=pentium4 -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe -s" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=128 -mtune=pentium4 -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe -s" DISTDIR="/usr/portage/distfiles" FEATURES="XXkeepwork Xdistcc assume-digests binpkg-logs ccache collision-protect distlocks fail-clean fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl en" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--compress-level=0 -O" 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="/usr/portage/local /usr/local/portage/miro" SYNC="rsync://192.168.2.6/gentoo-portage" USE="acl acpi activefilter apache2 ares async automount bash-completion bzip2 caps chroot clamav clamd clamdtop cli contentcache cracklib crypt ctype cxx dri dsn erandom exiscan exiscan-acl extras fam ftp gif gmp gnutls gocr graphite gzip hardened iconv idn imap innodb iproute2 ipv6 jpeg json justify kqemu logrotate logwatch lzo maildir memlimit mhash mime mmap mmx mmxext modules mouse mudflap ncurses network-cron nls nntp nptl nptlonly ocrad openmp openssl pam pcre pic png posix pppd profile readline recode reiserfs session smp snmp spell sse sse2 ssl suhosin svg sysfs syslog threads threadsafe tiff tools unicode unzip urandom vhosts vim-pager vim-syntax x86 xattr xmlreader zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="sis" XTABLES_ADDONS="geoip ipp2p psd tarpit" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 259693 [details] build.log
Ah, yes. Many packages are known to fail with CFLAGS like '--param l2-cache-size=128'.
Great, distcc "doesn't like" march=native. New flag in gcc-4.5 - "-flto" makes march=native not working ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42445 ). So i replace native with --param cache... And this is problematic too. Ech :)
net-analyzer/ntop fails too, should i fill another bug?
I believe it should be fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e64d3ebf9edf0f02cc271faa9c3eaedeb6d280d