Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89201

Summary: net-fs/shfs-0.35-r1 compile fails with distcc
Product: Gentoo Linux Reporter: Ryan Bair <RyanDBair>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan Bair 2005-04-15 10:16:42 UTC
While compiling with distcc version 2.18.3 on both machines.  The machines were a pentium2 with a pentium4 helping the build out.

Reproducible: Always
Steps to Reproduce:
1. Emerge shfs-0.35-r1 with distcc enabled AND another host
2. 
3.

Actual Results:  
Very soon in the build the following errors were read out:
cc1: error: invalid option 'tune=pentium2'
cc1: error: unrecognized option '-fno-unit-at-a-time'
distcc[1513] ERROR: compile
/var/tmp/portage/shfs-0.35-r1/work/shfs-0.35/shfs/Linux-2.6/dcache.c on
192.168.1.101 failed

Expected Results:  
Successful build

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-hardened-r1 i686)
=================================================================
System uname: 2.6.11-hardened-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr  6 2005, 10:49:21)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium2 -mmmx -fomit-frame-pointer -pipe -fforce-mem
-fforce-addr -mfpmath=387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium2 -mmmx -fomit-frame-pointer -pipe -fforce-mem
-fforce-addr -mfpmath=387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://130.207.108.134/pub/gentoo ftp://130.207.108.135/pub/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups dba dvd
dvdread emboss encode fastcgi foomaticdb fortran gd gdbm gif gpm gtk gtk2
imlib jpeg kde libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql
ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png python qt quicktime
readline real ruby samba sdl server spell ssl svga tcltk tcpd threads tiff
truetype truetype-fonts type1-fonts usb vorbis wmf xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Eddie Parker 2005-11-10 08:48:47 UTC
Damn, and here it is:

http://lists.samba.org/archive/distcc/2005q4/003179.html
Comment 2 Eddie Parker 2005-11-10 08:49:35 UTC
Ack! Please ignore my comment. THis was meant for another bug. <blush>
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 17:27:49 UTC
Nothing going on here for two years; make sure you are *not* mixing incompatible gcc versions via distcc. If you still have issues w/ current stable gcc and distcc, reopen.