Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209455 - dev-libs/glib-2.14.6 fails to emerge with distcc
Summary: dev-libs/glib-2.14.6 fails to emerge with distcc
Status: RESOLVED DUPLICATE of bug 286175
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 20:13 UTC by michael@smith-li.com
Modified: 2009-12-16 23:50 UTC (History)
2 users (show)

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


Attachments
glib-2.14.6_build.log (build.log,82.84 KB, text/plain)
2008-02-09 20:14 UTC, michael@smith-li.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael@smith-li.com 2008-02-09 20:13:26 UTC
When trying to emerge recent versions of glib I noticed that it always fails with distcc turned on, and succeeds otherwise:

...
powerpc-unknown-linux-gnu-gcc -O2 -mcpu=750 -mtune=750 -pipe -Wall -o .libs/glib-genmarshal glib-genmarshal.o  ../glib/.libs/libglib-2.0.so
../glib/.libs/libglib-2.0.so: undefined reference to `__floatundidf'
collect2: ld returned 1 exit status
distcc[18368] ERROR: compile (null) on localhost failed
make[2]: *** [glib-genmarshal] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. Enable distcc and set MAKEOPTS="-s -j4"
2. Emerge glib
3. Grab popcorn

Actual Results:  
(I'll attach the more complete build log in Comment #1)
...
powerpc-unknown-linux-gnu-gcc -O2 -mcpu=750 -mtune=750 -pipe -Wall -o .libs/glib-genmarshal glib-genmarshal.o  ../glib/.libs/libglib-2.0.so
../glib/.libs/libglib-2.0.so: undefined reference to `__floatundidf'
collect2: ld returned 1 exit status
distcc[18368] ERROR: compile (null) on localhost failed
make[2]: *** [glib-genmarshal] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Expected Results:  
glib should emerge successfully, taking advantage of parallel make whenever possible :)

The distcc "localhost" target box:

michael@white ~ $ emerge --info
Portage 2.1.3.19 (default-linux/ppc/ppc32/2007.0/desktop/G3, gcc-4.1.1, glibc-2.6.1-r0, 2.6.19-gentoo-r5 ppc)
=================================================================
System uname: 2.6.19-gentoo-r5 ppc 740/750
Timestamp of tree: Sat, 09 Feb 2008 05:46:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=750 -mtune=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=750 -mtune=750 -pipe"
DISTDIR="/usr/local/portage/distfiles/"
FEATURES="buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LINGUAS="en"
MAKEOPTS="-s -j4"
PKGDIR="/usr/local/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb bitmap-fonts cairo cjk cli cracklib crypt cups dbus dri encode fam firefox fortran gif gpm gstreamer hal iconv isdnlog java jpeg kerberos mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppc pppd python quicktime readline reflection sdl session spell spl ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

The distcc helper box:

michael@black ~ $ qlist -CIv cross-powerpc
cross-powerpc-unknown-linux-gnu/binutils-2.18-r1
cross-powerpc-unknown-linux-gnu/gcc-4.1.2
cross-powerpc-unknown-linux-gnu/glibc-2.6.1
cross-powerpc-unknown-linux-gnu/linux-headers-2.6.23-r3
michael@black ~ $ emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Sat, 09 Feb 2008 05:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/                 http://gentoo.osuosl.org/                 http://gentoo.mirrors.pair.com/                 http://gentoo.chem.wisc.edu/gentoo/                 http://mirror.datapipe.net/gentoo/"
LANG="en_US"
LINGUAS="en_US en zh_CN zh ja_JP ja"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode evo fam firefox flac foomaticdb fortran gdbm gif glitz gpm gstreamer hal iconv isdnlog java java5 jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap mad midi mikmod mmx mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" INPUT_DEVICES="keyboard mouse acecad" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en zh_CN zh ja_JP ja" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 michael@smith-li.com 2008-02-09 20:14:42 UTC
Created attachment 143055 [details]
glib-2.14.6_build.log

Here is the full build log:
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 20:35:12 UTC
Not only glib... Bug 200283
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-21 02:19:33 UTC
Do all distccd servers in /etc/distcc/hosts have same gcc verssion?
and could you try following?

# DISTCC_HOSTS="localhost" emerge -1 glib
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2009-12-16 23:50:39 UTC
2.14.6 was removed from portage tree.


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