Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27222

Summary: gnome-base/control-center fails to compile with distcc and ccache
Product: Gentoo Linux Reporter: steveb <steeeeeveee>
Component: [OLD] GNOMEAssignee: Lisa Seelye (RETIRED) <lisa>
Status: RESOLVED WORKSFORME    
Severity: normal CC: gnome
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description steveb 2003-08-24 07:29:59 UTC
compiling gnome-base/control-center-2.2.2 with distcc and ccache fails. without 
distcc and ccache the compilation works without any problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-08-24 07:46:15 UTC
please provide your emerge info as well as details of how the compile fails, thanks. if this is valid for distcc we should probably cc lisa@gentoo.org as well.
Comment 2 foser (RETIRED) gentoo-dev 2003-08-24 07:53:13 UTC
yeah these are useful bugreports. First of all dont assign stuff directly to us unless you are certain it is our problem. Second gives us some output or just anything to work with. Paste your 'emerge info' and all that. 

If you don't know how to properly file bugs, use the 'guided format'.

reassigning to lisa cause it happens with distcc only.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-08-24 08:22:21 UTC
Paste emerge info and distcc version.
Comment 4 steveb 2003-08-24 19:43:13 UTC
ahhh.... I changed the CFLAGS and CXXFLAGS so many times today! To be honest, I can only guess what I had active at that time. Right now I am bootstraping again with the following setup:

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ck6 i686 AMD Athlon(tm) MP 2000+
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="oss foomaticdb mad 3dnow aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd ethereal evo fbcon gb gd gdbm ggi gif gnome gphoto2 gpm gtk gtkhtml guile icc icc-pgo imap imlib java jikes jpeg junit kde kerberos krb4 lcms ldap libg++ libwww mikmod mmx motif mozilla mpeg nas ncurses nls oav oggvorbis opengl pam pda pdflib perl pic png python qt qtmt quicktime readline samba scanner sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf X x86 xml2 xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon-mp -mcpu=athlon-mp -fomit-frame-pointer"
CXXFLAGS="-O3 -pipe -march=athlon-mp -mcpu=athlon-mp -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j12"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache distcc buildpkg userpriv"


I think I had this as CFLAGS and CXXFLAGS at that time when I had the error:
-march=athlon-mp -O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays


distcc version did not change sind that time:
# distcc --version
distcc[15678] (dcc_trace_version) distcc 2.9 i686-pc-linux-gnu; built Aug 24 2003 15:29:48
distcc[15678] (dcc_recursion_safeguard) safeguard level=0
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
  built Aug 24 2003 15:29:48
distcc[15678] (dcc_cleanup_tempfiles) deleted 0 temporary files

Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2003-08-25 10:28:14 UTC
Try less radical cflag optimization.
Comment 6 steveb 2003-08-25 12:07:09 UTC
Hi Lisa,

as you see on my post: I am doing it ;)

I only wanted to take the time and test very very insane settings and see how far I get.

And I got very far. The complete bootstrap, stage 2 to stage 3 and all the packages up to xfree86 went WITHOUT any problem.

But everything after xfree86 (qt, kde, gnome, etc) does NOT work!

Anyway... this was just an test and I am now rebuilding the system from zero with only -O3 -pipe and the -march setting.

cheers

SteveB
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2003-09-06 08:51:47 UTC
If it now works.. I'll close this since I was able to compile this just fine.