>>> Unpacking source... >>> Unpacking libx86-1.1.tar.gz to /var/tmp/portage/dev-libs/libx86-1.1-r1/work * Applying libx86-0.99-ifmask.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1 ... make LIBRARY=static static make[1]: Entering directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' cc -O2 -pipe -march=core2 -c -o x86-common.o x86-common.c cc -O2 -pipe -march=core2 -c -o lrmi.o lrmi.c x86-common.c:1: error: bad value (core2) for -march= switch x86-common.c:1: error: bad value (core2) for -mtune= switch distcc[19374] ERROR: compile x86-common.c on software failed make[1]: *** [x86-common.o] Error 1 make[1]: *** Waiting for unfinished jobs.... lrmi.c:1: error: bad value (core2) for -march= switch lrmi.c:1: error: bad value (core2) for -mtune= switch distcc[19375] ERROR: compile lrmi.c on software.byr.edu.cn failed make[1]: *** [lrmi.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' make: *** [default] Error 2 emerge --info Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1-yegle i686) ================================================================= System uname: Linux-2.6.26-gentoo-r1-yegle-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-glibc2.0 Timestamp of tree: Thu, 11 Sep 2008 04:19:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" ALSA_CARDS="hda-intel" 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" ANT_HOME="/usr/share/ant" 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" ARCH="x86" AUTOCLEAN="yes" BROWSER="firefox" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-O2 -pipe -march=core2" DCCC_PATH="/usr/lib/distcc/bin" DISPLAY=":0.0" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vi" ELIBC="glibc" EMERGE_DEFAULT_OPTS="-av --keep-going" EMERGE_WARNING_DELAY="10" FEATURES="collision-protect distcc distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://openware.byr.edu.cn/pub/mirror/gentoo/gentoo http://gentoo.cs.nctu.edu.tw/gentoo/ http://gentoo.tom.com http://ftp.twaren.net/Linux/Gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org.sixxs.org" GTK_IM_MODULE="scim" HOME="/home/yegle" INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info" INPUT_DEVICES="keyboard mouse synaptics" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDEDIRS="/usr:/usr/local:/usr/kde/3.5" KERNEL="linux" LANG="zh_CN.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LDFLAGS="-Wl,-O1" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LINGUAS="en zh zh_CN" LOGNAME="yegle" LS_COLORS="rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" MAIL="/var/mail/yegle" MAKEOPTS="-j5" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man" NOCOLOR="true" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.3.1:/usr/kde/3.5/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_EXTRA_OPTS="-6" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/sunrise /home/yegle/portage" PWD="/home/yegle" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" QT_IM_MODULE="scim" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.3.1:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" RPMDIR="/usr/portage/rpm" SHELL="/bin/bash" SHLVL="2" SYNC="rsync://gentoo.mirror.ipv6.e-utp.net/gentoo-portage" TERM="xterm" USE="X a52 aac accessibility acpi alsa avahi bash-completion berkdb bluetooth bzip2 cdda cddb cdio cdparanoia cdr cjk cli clickurl cracklib crypt curl custom-optimization dbus dts dvd dvdr dvdread encode exif fbcon ffmpeg flac fontconfig ftp gd gdbm gif git gpm gtk hal iconv immqt-bc ipv6 isdnlog ithreads jabber java javascript jpeg lame laptop libnotify lyrics magic matroska mdnsresponder-compat midi mime mmx mp3 mpeg msn mudflap ncurses network newspr nptl nptlonly nsplugin nvidia ogg opengl openmp pam pch pcre pdf perl pinyin png pppd python qq qt3support qt4 quicktime rar rdesktop readline real realmedia reflection rtsp session skins spl sqlite srt sse sse2 sse3 ssl stream subversion svg symlink sysfs taglib tcpd theora truetype unicode usb v4l2 vim-syntax vlm vorbis win32codecs wmp x264 x86 xcb xorg xosd xulrunner xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="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="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia" USER="yegle" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="nvidia" XAUTHORITY="/home/yegle/.Xauthority" XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" XMODIFIERS="@im=SCIM" _="/usr/bin/emerge" http_proxy="proxy.ipv6.uni-leipzig.de:3128" Reproducible: Always Steps to Reproduce: emerge libx86
Are you sure you have sys-devel/gcc-4.3* running on the distcc server(s) as well? If not, that explains why they don't understand -{march,mtune}=core2 ...
(In reply to comment #1) > Are you sure you have sys-devel/gcc-4.3* running on the distcc server(s) as > well? If not, that explains why they don't understand -{march,mtune}=core2 ... > yes I'm sure.If not ,then I'll file a bug about "error emerge anything with distcc" :-)
(In reply to comment #2) > (In reply to comment #1) > > Are you sure you have sys-devel/gcc-4.3* running on the distcc server(s) as > > well? If not, that explains why they don't understand -{march,mtune}=core2 ... > > > > yes I'm sure.If not ,then I'll file a bug about "error emerge anything with > distcc" :-) And do the /usr/lib/distcc/bin/ symlinks really point to the 4.3 gcc's? It doesn't seem like they do right now, or you wouldn't get these errors. Once you have that fixed, we could ask this package's maintainer to `inherit toolchain-funcs' in the ebuilds and set a proper CC.
> Once you have that fixed, we could ask this package's maintainer to `inherit > toolchain-funcs' in the ebuilds and set a proper CC. I did that (*without* version bump), as in any case it's worth to do that. yegle, please, make checks Jeroen asked you and also try with updated ebuild. this package is without maintainer. Assigning this bug on myself.
(In reply to comment #4) > > Once you have that fixed, we could ask this package's maintainer to `inherit > > toolchain-funcs' in the ebuilds and set a proper CC. > > I did that (*without* version bump), as in any case it's worth to do that. > yegle, please, make checks Jeroen asked you and also try with updated ebuild. > > this package is without maintainer. Assigning this bug on myself. > (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Are you sure you have sys-devel/gcc-4.3* running on the distcc server(s) as > > > well? If not, that explains why they don't understand -{march,mtune}=core2 ... > > > > > > > yes I'm sure.If not ,then I'll file a bug about "error emerge anything with > > distcc" :-) > > And do the /usr/lib/distcc/bin/ symlinks really point to the 4.3 gcc's? It > doesn't seem like they do right now, or you wouldn't get these errors. > > Once you have that fixed, we could ask this package's maintainer to `inherit > toolchain-funcs' in the ebuilds and set a proper CC. > Sorry that I'm not using gentoo on remote server,so there is no /usr/lib/distcc/bin files. I can emerge other softwares successfully,i.e. openoffice and firefox with march=core2 and distcc,and I didn't add localhosts in /etc/distcc/hosts,so I don't think this is caused by incorrect configurations of distcc.
It's weired.I tried to emerge libx86 with distcc today and succeeded.Don't know why but it seems this bug can be closed. >>> Emerging (1 of 1) dev-libs/libx86-1.1-r1 * libx86-1.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libx86-1.1.tar.gz to /var/tmp/portage/dev-libs/libx86-1.1-r1/work * Applying libx86-0.99-ifmask.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1 ... make LIBRARY=static static make[1]: Entering directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' i686-pc-linux-gnu-gcc -O2 -pipe -march=core2 -c -o x86-common.o x86-common.c i686-pc-linux-gnu-gcc -O2 -pipe -march=core2 -c -o lrmi.o lrmi.c ar cru libx86.a x86-common.o lrmi.o make[1]: Leaving directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' make objclean make[1]: Entering directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' make -C x86emu clean make[2]: Entering directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1/x86emu' rm -f *.a *.o *~ make[2]: Leaving directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1/x86emu' rm -f *.o *~ make[1]: Leaving directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' make LIBRARY=shared shared make[1]: Entering directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' i686-pc-linux-gnu-gcc -O2 -pipe -march=core2 -fPIC -c -o x86-common.o x86-common.c i686-pc-linux-gnu-gcc -O2 -pipe -march=core2 -fPIC -c -o lrmi.o lrmi.c i686-pc-linux-gnu-gcc -O2 -pipe -march=core2 -fPIC -Wl,-O1 -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 x86-common.o lrmi.o make[1]: Leaving directory `/var/tmp/portage/dev-libs/libx86-1.1-r1/work/libx86-1.1' >>> Source compiled. >>> Test phase [not enabled]: dev-libs/libx86-1.1-r1 >>> Install libx86-1.1-r1 into /var/tmp/portage/dev-libs/libx86-1.1-r1/image/ category dev-libs install -D libx86.so.1 /var/tmp/portage/dev-libs/libx86-1.1-r1/image//usr/lib/libx86.so.1 install -D libx86.a /var/tmp/portage/dev-libs/libx86-1.1-r1/image//usr/lib/libx86.a ln -sf libx86.so.1 /var/tmp/portage/dev-libs/libx86-1.1-r1/image//usr/lib/libx86.so install -p -m 0644 -D lrmi.h /var/tmp/portage/dev-libs/libx86-1.1-r1/image//usr/include/libx86.h >>> Completed installing libx86-1.1-r1 into /var/tmp/portage/dev-libs/libx86-1.1-r1/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/libx86.so.1 usr/lib/libx86.a removing executable bit: usr/lib/libx86.a >>> Installing dev-libs/libx86-1.1-r1 * checking 4 files for package collisions --- /usr/ --- /usr/lib/ >>> /usr/lib/libx86.a >>> /usr/lib/libx86.so.1 >>> /usr/lib/libx86.so -> libx86.so.1 --- /usr/include/ >>> /usr/include/libx86.h >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. --- replaced obj /usr/lib/libx86.so.1 --- replaced sym /usr/lib/libx86.so --- replaced obj /usr/lib/libx86.a --- replaced dir /usr/lib --- replaced obj /usr/include/libx86.h --- replaced dir /usr/include --- replaced dir /usr >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Possibly it's because now it uses i686-pc-linux-gnu-gcc instead of cc. Enjoy.