Hi, I am having the following setup: boxA is an opteron with distcc, native amd64 boxB is an athlon with distcc, native 32bit On boxC, I get the following error: abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size abbrev.c:60: warning: cast from pointer to integer of different size gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -O -c -o strdefs.o strdefs.c gcc -Wl,-z,now -o man2html man2html.o cgibase.o abbrev.o strdefs.o collect2: ld terminated with signal 11 [Segmentation fault] /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `man2html.o' is incompatible with i386 output /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `cgibase.o' is incompatible with i386 output /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `abbrev.o' is incompatible with i386 output /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `strdefs.o' is incompatible with i386 output distcc[10183] ERROR: compile (null) on localhost failed make[1]: *** [man2html] Error 1 make[1]: Leaving directory `/var/tmp/portage/man-1.5m-r2/work/man-1.5m2/man2html' make: *** [manhtml] Error 2 !!! ERROR: sys-apps/man-1.5m-r2 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! emake failed My CFLAGS="-m32 -march=athlon -O2 -pipe" I had the error with other packages, so I added -m32 to CFLAGS, which fixed it for most packages. I think that there are unclean Makefiles in sys-apps/man-1.5m-r2 that don't honour CFLAGS. Johnny Reproducible: Always Steps to Reproduce: 1.emerge sys-apps/man with a distcc host that is a native amd64 2. 3. Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-m32 -march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-m32 -march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="http://adelie.polymtl.ca/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://triton/gentoo-portage" USE="X aalib acl acpi alsa apache2 apm arts atm audiofile avi berkdb bitmap-fonts caps cdparanoia cdr crypt cscope cupscurl dga directfb dvd dvdr encode esd fam fbcon firebird flac flexresp foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 guile imap imlib immqt immqt-bc inetd innodb ipv6 jack jack-tmpfs java jikes jpeg jpeg2k junit justify kde kerberos ldap libcaca libg++ libwww mad maildir mbox memlimit mikmod mmap mmx motif mpeg mysql nas ncurses nls oav obdc odbc oggvorbis opengl oss pam pcsc-lite pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay pic png pnp postgres povray ppds prelude python qt quicktime readline ruby samba sasl scanner sdl slang slp smartcard snmp snortsam socks5 speex spell sqlite ssl svga tcltk tcpd tetex tiff truetype unicode usb wifi wmf x86 xinerama xml2 xmms xprint xscreensaver xv zlib"
yar, man2html seems to have a misbehaving Makefile/CFLAGS fixed in cvs, thanks