Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103493 - distcc fails while making a LiveCD with catalyst with error: can't find a register in class `BREG' while reloading `asm'
Summary: distcc fails while making a LiveCD with catalyst with error: can't find a reg...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 11:59 UTC by georg.lippold
Modified: 2005-12-11 20:47 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 georg.lippold 2005-08-23 11:59:12 UTC
e the same problem both with xorg-x11 and gcc while building a livecd-stage1
with catalyst and distcc. I have updated _ALL_ packages on both systems to the
newest versions (stable) and my 
livecd/use is:

livecd/use:
        ldap
        -X
        livecd
        fbcon
        kde
        gtk2
        gnome
        qt
        bonobo

Only the systems the compiler works on have "hardened", "pic" and "pie" in their
USE-flags. But in my opinion that should not matter for compiling a package for
a different system, does it?

Reproducible: Always
Steps to Reproduce:
see http://www.tzi.de/~lippold/HOWTO-OpenCA-Gentoo-BootCD.txt
Actual Results:  
Compiling both gcc and xorg-x11 fails with distcc, although locally it works.

Here the output when compiling xorg-x11:

distcc[32570] ERROR: compile /var/tmp/ccache/linux_vm86.tmp.georg.32560.i on 192.1
68.0.101 failed
linux_vm86.c: In function `vm86_rep':
linux_vm86.c:281: error: can't find a register in class `BREG' while reloading `as
m'
distcc[32560] ERROR: compile linux_vm86.c on 192.168.0.101 failed
make[9]: *** [linux_vm86.o] Error 1
make[9]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver/hw/xfree86/os-support/linux/int10/vm86'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver/hw/xfree86/os-support/linux/int10'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver/hw/xfree86/os-support/linux'
make[6]: *** [linux] Error 2
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver/hw/xfree86/os-support'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/Xs
erver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r2 failed.
!!! Function build, Line 971, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


Traceback (most recent call last):
  File "modules/livecd_stage1_target.py", line 21, in run_local
    cmd("/bin/bash "+self.settings["sharedir"]+\
  File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd
    raise CatalystError,myexc
CatalystError: <unprintable instance object>
None

!!! catalyst: LiveCD stage1 build aborting due to error.


Expected Results:  
It should have compiled both packages with distcc

emerge info on host running catalyst:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O3 -pipe"
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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distcc distlocks fixpackages sandbox sfperms
strict userpriv"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo
http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2 -l 3.0"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 aac acpi aim alsa apache2 async avi
bash-completion bidi bitmap-fonts bzlib cdparanoia cdr crypt cscope curl dga dio
divx4linux dlloader dts dv dvb dvd dvdr dvdread edl eds emboss encode fam fbcon
flac fortran gcj gd gif gimp gpm gstreamer gtk gtk2 gtkhtml hardened icq idea
imagemagick imap imlib ipv6 java javamail javascript jbig jce jdepend jp2 jpeg
junit ldap libcaca libg++ live lzo lzw lzw-tiff mad matroska memlimit mime mmx
mmxext mozcalendar mozp3p mozplaintext mozsvg mp3 mpeg mpeg4 mplayer msn mythtv
nas ncurses netcdf network nis nls nntp nvidia offensive ogg oggvorbis opengl
oscar oss pam parse-clocks passfile pdflib pic pie plotutils png posix postgres
pthreads python quicktime readline real rtc samba sasl sdl session shared
sharedmem silc smime sockets speex ssl svg sysvipc tcpd tetex tga theora tiff
truetype truetype-fonts type1-fonts unicode unsupported_8bit usb v4l v4l2 vorbis
wmf wxwindows xanim xine xinerama xml xml2 xmms xpm xv xvid xvmc yahoo yv12 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

emerge info on host running distccd:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US@euro"
LC_ALL="en_US.iso885915@ISO-8859-15"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi aim alsa apm arts avi bash-completion berkdb
bitmap-fonts bluetooth bzlib cdr crypt cscope cups dga divx4linux dlloader dmx
dv dvb dvd dvdread eds emboss encode esd exif fam ffmpeg flac font-server
foomaticdb fortran ftp gcj gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile
hal hardened howl i8x0 icq imagemagick imap imlib ipv6 jabber java jpeg junit
kde ldap libg++ libwww live lm_sensors mad mbox memlimit mhash mikmod mime mmap
mmx mmxext mono motif mp3 mpeg mpi mppe-mppc msn ncurses nis nls nptl offensive
ogg oggvorbis opengl oscar oss pam pcmcia pdflib perl pic pie png pnp portaudio
posix postgres ppds python qt quicktime readline real samba sasl scanner sdl
slang sockets sox spell sse sse2 ssl svg svga sysfs tcpd tetex tga theora
threads tiff truetype truetype-fonts trusted type1-fonts unicode
unsupported_8bit usb v4l vcd vorbis wifi win32codecs wmf wxwindows xanim xface
xine xinerama xml2 xmms xmvc xosd xpm xv xvid yahoo zeo zlib video_cards_i915
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

This seems to be a bug with distcc since Bug 50127, Bug 53841 state the same
problems. There, gcc-3.3.3 is said to solve the problem, but obviously, it
arised again. I was not able to reopen the bugs.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 20:47:46 UTC
This still a problem with the newest versions of GCC?