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

Bug 87443

Summary: Bison 2.0 doesn't compile using distcc
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] UnspecifiedAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge log

Description Petteri Räty (RETIRED) gentoo-dev 2005-03-31 10:53:24 UTC
parse-gram.o(.text+0x146a): In function `gram_parse':
: undefined reference to `__builtin_stpcpy'
parse-gram.o(.text+0x1476): In function `gram_parse':
: undefined reference to `__builtin_stpcpy'
parse-gram.o(.text+0x1e23): In function `gram_parse':
: undefined reference to `__builtin_stpcpy'
parse-gram.o(.text+0x1e36): In function `gram_parse':
: undefined reference to `__builtin_stpcpy'
collect2: ld returned 1 exit status
distcc[26235] ERROR: compile (null) on localhost failed
make[3]: *** [bison] Error 1
make[3]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0'
make: *** [all] Error 2

Compiling without distcc works fine. 

Reproducible: Always
Steps to Reproduce:
from ~x86:
1.FEATURES="distcc" emerge --oneshot bison
2.FEATURES="-distcc" emerge --oneshot bison




pena portage # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.11-nitro2 i686)
=================================================================
System uname: 2.6.11-nitro2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 20 2005, 13:53:24)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/src/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distcc distlocks fixpackages noauto
sandbox sfperms"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://aria/portage"
USE="x86 X aac acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts
bzip2 bzlib cdb cdparanoia cdr crypt cups curl divx4linux dts dvd dvdr dvdread
emboss encode esd fam fbcon flac foomaticdb freetype gif gnome gstreamer gtk
gtk2 hal imagemagick jack java jpeg kde kdeenablefinal kdexdeltas libg++ libwww
lzo mad makecheck mikmod mjpeg mmx mmx2 mozilla mp3 mpeg ncurses network nls
nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib png python qt quicktime
readline real rtc ruby slang slp sse sse2 ssl tcpd theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales xml xml2 xv xvid zlib
video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-03-31 10:54:50 UTC
Created attachment 54948 [details]
emerge log

Logs with and without distcc.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-04-01 06:47:30 UTC
There was a problem with one of the programs in my distcc group. It didn't have the same gcc version in use. Sorry about the trouble. 
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-04-01 06:48:09 UTC
I meant computers of course.