Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180137 - sys-boot/grub - distcc compile produces corrupted binaries
Summary: sys-boot/grub - distcc compile produces corrupted binaries
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 19:20 UTC by Vittorio
Modified: 2008-11-05 22:36 UTC (History)
0 users

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


Attachments
the output of grub-install when compiled with distcc (error.grub,179 bytes, text/plain)
2007-06-02 00:41 UTC, Vittorio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vittorio 2007-05-28 19:20:58 UTC
I compiled grub with the "distcc" feature selected. The processe went and got to the end without errors, however if I type grub-install it doen't install grub in the mbr but it just output weird stuff. You have to unmerge grub and reemerge it without the "distcc" option in your make.conf

Reproducible: Always

Steps to Reproduce:
1. compile grub with distcc enabled (and installed)
2. type grub-install

Actual Results:  
outputs strange symbols (@@@ ... $) untill you ctrl-c it

Expected Results:  
it should install grub in the mbr of (hd0)

if you remove the distcc option and compile grub again it works as expected
my CFLAGS -O3 -march=pentium3 -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -mno-3dnow -fomit-frame-pointer -pipe -minline-all-stringops"
Comment 1 SpanKY gentoo-dev 2007-05-29 17:22:11 UTC
post `emerge --info` of all machines in your node
Comment 2 Vittorio 2007-06-02 00:41:37 UTC
Created attachment 120915 [details]
the output of grub-install when compiled with distcc

The content of the file is reproduced several times, until you stop it with ctrl-c. If you remove distcc from the features, grub-install works fine (and gives this output
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/hda
)
Comment 3 Vittorio 2007-06-02 00:43:41 UTC
(In reply to comment #1)
> post `emerge --info` of all machines in your node
> 

Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 01 Jun 2007 23:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -mno-3dnow -fomit-frame-pointer -pipe -minline-all-stringops"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -mno-3dnow -fomit-frame-pointer -pipe -minline-all-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.prz.rzeszow.pl/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.inode.at/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.gentoo.no/ ftp://mirrors.evolva.ro/gentoo/ http://gentoo.gg3.net/ "
LINGUAS="it"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="2 X acpi adns alsa audiofile avahi bash-completion bcmath bitmap-fonts blas bzip2 caps cdinstall cdparanoia cdr cli ctype cups dbus dbx dio directfb dri dvd dvdread fbcon firefox flac flatfile fortran ftp gdbm gif gpm gstreamer gtk gtk2 hal iconv isdnlog java javascript jbig jpeg jpeg2k junit kdeenablefinal libcaca libg++ libwww mad matroska memlimit mhash midi mime mmap mmx mono motif mp3 mpeg msn mudflap ncurses neXt new-login nls nocd nptl nptl-only nptlonly nsplugin ogg openal opengl openmp oscar pcntl pcre pdf perl pic png portaudio posix ppds pppd python quicktime readline reflection samba sdl session sharedmem shorten slp sndfile snmp sockets speex spell sse ssl startup-notification svg svga symlink szip tcl tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usdb vcd videos vim-syntax vorbis win32codecs x86 xine xinerama xinetd xml xmlrpc xorg xosd xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-05 22:36:57 UTC
Please retest, and make sure you're using the latest ~arch distcc that gengor fixed up a few days ago.