Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42333 - ORBbit compilation fails with an "undefined reference" error
Summary: ORBbit compilation fails with an "undefined reference" error
Status: RESOLVED DUPLICATE of bug 25983
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 00:21 UTC by Daniel Armyr
Modified: 2005-07-17 13:06 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 Daniel Armyr 2004-02-21 00:21:22 UTC
While upgrading ORBit as a part of an emerge -u world, the compilation process repeatedly halts while linking. 

Disabling ccache and distcc resolves this issue.

If using ccache and distcc, the following appears:

gcc -march=athlon-xp -O3 -pipe -funroll-loops -o test-linc test-linc.o -pthread  ../src/.libs/liblinc.a /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
../src/.libs/liblinc.a(linc-connection.o)(.text+0x309): In function `link_connection_initiate':
: undefined reference to `__builtin_va_start'
collect2: ld returned 1 exit status
distcc[10265] ERROR: compile on localhost failed
make[3]: *** [test-linc] Error 1
make[3]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3/linc2/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3/linc2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3'
make: *** [all] Error 2

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

beech:/usr/portage/distfiles;)emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable                                                                                        d]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1                                                                                        /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox ccache distcc"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.linux.no/ htt                                                                                        p://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi acpi4linux apm avi berkdb cdr crypt dga dvd emacs encode                                                                                         esd freetype gdbm gif glut gpm gtk gtk2 imagemagick imap imlib java jpeg libg++                                                                                         libwww mad mikmod mms mozilla mpeg nas ncurses nls offensive oggvorbis opengl o                                                                                        ss pam pdflib perl png python qt quicktime readline sasl sdl slang spell sse ssl                                                                                         tcltk tcpd truetype unicode usb x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1. enable distcc and ccache
2. emerge ORBit
3.
Comment 1 foser (RETIRED) gentoo-dev 2004-02-21 14:08:30 UTC
I do not consider distcc & ccache problems a gnome bug, reassign please.
Comment 2 foser (RETIRED) gentoo-dev 2004-02-22 06:32:25 UTC
Aliz, did you actually read comment #2 ?
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-22 12:50:53 UTC
Please try and re-emerge distcc.
Comment 4 Daniel Armyr 2004-02-22 14:26:38 UTC
***Emerged latest distcc:

gcc -march=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer -o test-linc test-linc.o -pthread  ../src/.libs/liblinc.a /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
../src/.libs/liblinc.a(linc-connection.o)(.text+0x30a): In function `link_connection_initiate':
: undefined reference to `__builtin_va_start'
collect2: ld returned 1 exit status
distcc[31213] ERROR: compile on localhost failed
make[3]: *** [test-linc] Error 1
make[3]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3/linc2/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3/linc2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ORBit2-2.8.3/work/ORBit2-2.8.3'
make: *** [all] Error 2

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

***Info about client computer:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled      ]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1      /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.linux.no/ htt      p://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi acpi4linux apm avi berkdb cdr crypt dga dvd emacs encode       esd freetype gdbm gif glut gpm gtk gtk2 imagemagick imap imlib java jpeg libg++       libwww mad mikmod mms mozilla mpeg nas ncurses nls offensive oggvorbis opengl o      ss pam pdflib perl png python qt quicktime readline sasl sdl slang spell sse ssl       tcltk tcpd truetype unicode usb x86 xml2 xmms xv zlib"


***Info about server computer:
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD-K7(tm) Processor
Gentoo Base System version 1.4.3.10
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Comment 5 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-22 23:18:49 UTC
.
Comment 6 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-22 23:19:02 UTC

*** This bug has been marked as a duplicate of 25983 ***