Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28275 - gnome-base/libgtop-2.0.5 fails to compile
Summary: gnome-base/libgtop-2.0.5 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
: 28278 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-09 10:15 UTC by Aniruddha Shankar
Modified: 2003-09-14 21:57 UTC (History)
1 user (show)

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 Aniruddha Shankar 2003-09-09 10:15:53 UTC
gcc -march=pentium3 -O3 -pipe -o .libs/libgtop_daemon2 gnuserv.o slave.o main.o
             io.o version.o  -L/usr/X11R6/lib -L/usr/lib
../../lib/.libs/libgtop-2.0.so /var             
tmp/portage/libgtop-2.0.5/work/libgtop-2.0.5/sysdeps/common/.libs/libgtop_commo
             -2.0.so
/var/tmp/portage/libgtop-2.0.5/work/libgtop-2.0.5/sysdeps/linux/.libs/l        
     bgtop_sysdeps-2.0.so ../../sysdeps/linux/.libs/libgtop_sysdeps-2.0.so
../../sys              eps/common/.libs/libgtop_common-2.0.so
/usr/lib/libglib-2.0.so ../../support/.l              bs/libgnomesupport-2.0.so
-lXau
gnuserv.o(.text+0x1dd): In function `main':
: undefined reference to `__builtin_va_start'
gnuserv.o(.text+0x25b): In function `main':
: undefined reference to `__builtin_va_start'
gnuserv.o(.text+0x2fd): In function `main':
: undefined reference to `__builtin_va_start'
gnuserv.o(.text+0x379): In function `main':
: undefined reference to `__builtin_va_start'
gnuserv.o(.text+0x425): In function `main':
: undefined reference to `__builtin_va_start'
gnuserv.o(.text+0x4a1): more undefined references to `__builtin_va_start' follo
collect2: ld returned 1 exit status
distcc[20896] ERROR: compile on localhost failed
make[3]: *** [libgtop_daemon2] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgtop-2.0.5/work/libgtop-2.0.5/s
             c/daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgtop-2.0.5/work/libgtop-2.0.5/s
             c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgtop-2.0.5/work/libgtop-2.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/libgtop-2.0.5 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1. Try to emerge libgtop
2.
3.

Actual Results:  
compile fail

Expected Results:  
compile success

> emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(TM) CPU                1100MHz
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs buildpkg ccache distcc"
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/
http://gentoo.chem.wisc.edu/gentoo/ http://ds.thn.htu.se/linux/gentoo
http://gentoo.seren.com/gentoo http://gentoo.inode.at/
http://www.fhh.opensource-mirror.de/gentoo.org/ http://darkstar.ist.utl.pt/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mail.sarai.kit/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib alsa gdbm berkdb slang readline arts aalib svga tcltk java mysql X sdl gpm
tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl
mozilla ldap apache2 curl dga gtk2 gtkhtml i8x0 imap lcms mozaccess
mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm offensive samba sse
tiff type1 wmf xml mbox"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-09-09 10:52:56 UTC
can you try not using distcc and let us know if that works?
Comment 2 Aniruddha Shankar 2003-09-09 13:05:52 UTC
Compile succeeds when distcc is removed from FEATURES in /etc/make.conf. Thanks, Alastair.

Comment 3 SpanKY gentoo-dev 2003-09-09 20:28:08 UTC
are you distcc-ing across different setups ?
like is distcc running on a gcc3 and a gcc3 host ?

Bug 25983 may be related
Comment 4 SpanKY gentoo-dev 2003-09-09 20:29:13 UTC
*** Bug 28278 has been marked as a duplicate of this bug. ***
Comment 5 Aniruddha Shankar 2003-09-09 23:16:29 UTC
I'm distcc'ing across 2 Gentoo machines... localhost and a remote. While localhost's running ~x86, the remote one is x86 

Local: distcc 2.10-r2 / gcc-3.3.1-r1
Remote : distcc-2.9 / gcc-3.2.3-r1
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-09-10 00:30:30 UTC
adding lisa cc re distcc. (how's that for some acronyms)
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2003-09-10 08:51:19 UTC
distcc has funky behavior when you use mismatched gcc versions (such as 3.2.3 and 3.3.1, though 3.2.1 and 3.2.2 are good).

Try putting 3.3.1 on all hosts and trying again.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2003-09-14 21:57:55 UTC
Sorry but there is just too much hassle with mismatched distcc and gcc versions to deal with.  Put the same versions of everything on all hosts.

In the mean time, check out Bug 25983.