Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50609 - coreutils 5.2.0-r2 fails to link against libfetish (gcc 3.3.3-r3, glibc 2.3.3)
Summary: coreutils 5.2.0-r2 fails to link against libfetish (gcc 3.3.3-r3, glibc 2.3.3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 02:05 UTC by Gilberto Ficara
Modified: 2004-05-10 09:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilberto Ficara 2004-05-10 02:05:46 UTC
Coreutils 5.2.0-r2 fails to link against libfetish
(distcc running only on localhost)


Reproducible: Always
Steps to Reproduce:
1. emerge coreutils

Actual Results:  
then mv -f ".deps/setuidgid.Tpo" ".deps/setuidgid.Po"; else rm -f 
".deps/setuidgid.Tpo"; exit 1; fi 
gcc  -O3 -march=athlon -fomit-frame-pointer -pipe   -o 
[  lbracket.o ../lib/libfetish.a  ../lib/libfetish.a 
gcc  -O3 -march=athlon -fomit-frame-pointer -pipe   -o chgrp  chgrp.o 
chown-core.o ../lib/libfetish.a  ../lib/libfetish.a 
../lib/libfetish.a(long-options.o)(.text+0x98): In function 
`parse_long_options': 
: undefined reference to `__builtin_va_start' 
../lib/libfetish.a(version-etc.o)(.text+0x217): In function `version_etc': 
: undefined reference to `__builtin_va_start' 
collect2: ld returned 1 exit status 
../lib/libfetish.a(version-etc.o)(.text+0x217): In function `version_etc': 
: undefined reference to `__builtin_va_start' 
collect2: ld returned 1 exit status 
distcc[5279] ERROR: compile on localhost failed 
make[3]: *** [[] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
distcc[5285] ERROR: compile on localhost failed 
make[3]: *** [chgrp] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0/src' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/coreutils-5.2.0-r2/work/coreutils-5.2.0' 
make: *** [all] Error 2 
 
!!! ERROR: sys-apps/coreutils-5.2.0-r2 failed. 
!!! Function src_compile, Line 117, Exitcode 2 
!!! (no error message) 
 
 

Expected Results:  
should link properly! 
 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 
2.6.5-gentoo) 
================================================================= 
System uname: 2.6.5-gentoo i686 mobile AMD Duron(tm) Processor 
Gentoo Base System version 1.4.10 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X X509 Xaw3d aalib acpi acpi4linux alsa apm arts avi berkdb bonobo 
crypt cups curl directfb encode ethereal expat foomaticdb gdbm gif gpm gtk 
gtk2 gtkhtml imap imlib ipalias ipv6 java javascript jikes jpeg justify kde 
lcms libg++ libwww mad maildir memlimit mikmod mmx mng motif moznoirc 
moznomail mozp3p mozsvg mpeg music ncurses nls objc offensive oggvorbis openal 
opengl oss pam pcap pcmcia pdflib perl png ppds python qt quicktime readline 
samba sdl slang snmp sox spell sqlite sse ssl svga tcpd tiff transcode 
truetype type1 usb videos wmf x86 xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Gilberto Ficara 2004-05-10 09:08:10 UTC
I deleted the .ccache cached objects and now it works smoothly!
Probably there was a problem with older/bugged GCC or something in another DISTCC host, and the wrong object was cached...