Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70330 - building groff on i686 with distcc on amd64 fails
Summary: building groff on i686 with distcc on amd64 fails
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 00:53 UTC by Rutger Hendriks
Modified: 2004-12-14 14:54 UTC (History)
0 users

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 Rutger Hendriks 2004-11-07 00:53:57 UTC
My setup:
amd64 machine using multilib has distccd running
pentium3 machine has distcc in FEATURES and distributes to amd64 host

I tried building mplayer without changing anything else about setup and that failed because amd64 machine was compiling in 64bit mode. So I added -m32 to CFLAGS on pentium3. Then mplayer compiled like a charm and also ran on the pentium3. This convinced me distcc should work in this setup.

Then I decided to update groff:
[ebuild     U ] sys-apps/groff-1.19.1-r2 [1.19.1-r1] +X -debug 0 kB

but that failed at some point. When I look at the emerge output I see that the CFLAGS I defined are not used there, which then results in the amd64 machine compiling for 64bit, which ofcourse the pentium3 doesn't like when linking.

# emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.5
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -m32 -mtune=pentium3 -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /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/lib/mozilla/defaults/pref /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="-O3 -m32 -mtune=pentium3 -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox"
GENTOO_MIRRORS="ftp://pvr ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://pvr/gentoo-portage"
USE="S3TC X aac aalib acpi acpi4linux alsa apm arts asterisk audiofile avi berkdb bitmap-fonts cdr chroot crypt cups dga divx4linux dv dvb dvd dvdr dvdread encode f77 faad fbcon fbdev ffmpeg fftw fla flac foomaticdb gd gdbmggi gif gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib imlib2 irmc jabber java javascript joystick jpeg kde lcd lcms ldap libcaca libg++ libwww lirc live lzo mad mbox mikmod mmx mng motif mozcalendar mozdomi mozilla mozp3p mozxmlterm mpeg mpi msn mysql nas ncurses net network nls nowin nptl nvidia oav offensive oggvorbis opengl opie oss pam pda pdflib perl pic plotutils png python qt quicktime readline real rtc samba sdk sdl slang speex spell sse ssl svga tcltk tetex tga theora tiff transcode truetype usb v4l v4l2 videos wifi wmf x86 xml2 xmms xosd xprint xrandr xv xvid zlib zvbi video_cards_nvidia linguas_nl linguas_en_GB"

*************

relevant part of emerge output:
<snip>
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/doc'
make[2]: Entering directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
make[1]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
X
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:105,
                 from Imakefile.c:35:
/usr/X11R6/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined
In file included from /usr/X11R6/lib/X11/config/site.def:44,
                 from /usr/X11R6/lib/X11/config/Imake.tmpl:46,
                 from Imakefile.c:35:
/usr/X11R6/lib/X11/config/host.def:63: warning: this is the location of the previous definition
gccmakedep  -- -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                  -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"    -- ./xditview.c   ./Dvi.c   ./draw.c   ./font.c   ./lex.c   ./page.c   ./parse.c   ./XFontName.c  ./DviChar.c   ./device.c ./xtotroff.c   ./XFontName.c   ./DviChar.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o xditview.o xditview.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o Dvi.o Dvi.c
Dvi.c: In function `SetValuesHook':
Dvi.c:376: warning: cast from pointer to integer of different size
Dvi.c:376: warning: cast from pointer to integer of different size
Dvi.c:376: warning: cast from pointer to integer of different size
Dvi.c:376: warning: cast from pointer to integer of different size
Dvi.c:376: warning: cast from pointer to integer of different size
Dvi.c:376: warning: cast from pointer to integer of different size
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o draw.o draw.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o font.o font.c
font.c: In function `InstallFont':
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:233: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c:234: warning: cast from pointer to integer of different size
font.c: In function `MapDviNameToXName':
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
font.c:312: warning: cast from pointer to integer of different size
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o lex.o lex.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o page.o page.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o parse.o parse.c
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o XFontName.o XFontName.c
XFontName.c: In function `XCompareFontName':
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:210: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:211: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:212: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:213: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:214: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:215: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:216: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:221: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:223: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
XFontName.c:224: warning: cast from pointer to integer of different size
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o DviChar.o DviChar.c
DviChar.c: In function `DviFindMap':
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c:37: warning: cast from pointer to integer of different size
DviChar.c: In function `DviRegisterMap':
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c:51: warning: cast from pointer to integer of different size
DviChar.c: In function `DviCharIndex':
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
DviChar.c:128: warning: cast from pointer to integer of different size
gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt   -I.  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                        -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o device.o device.c
device.c: In function `device_load':
device.c:133: warning: cast from pointer to integer of different size
device.c:133: warning: cast from pointer to integer of different size
device.c:133: warning: cast from pointer to integer of different size
device.c:133: warning: cast from pointer to integer of different size
device.c:133: warning: cast from pointer to integer of different size
device.c:133: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:135: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:137: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:139: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:141: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:143: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c:145: warning: cast from pointer to integer of different size
device.c: In function `device_find_font':
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c:193: warning: cast from pointer to integer of different size
device.c: In function `load_font':
device.c:222: warning: cast from pointer to integer of different size
device.c:222: warning: cast from pointer to integer of different size
device.c:222: warning: cast from pointer to integer of different size
device.c:222: warning: cast from pointer to integer of different size
device.c:222: warning: cast from pointer to integer of different size
device.c:222: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c:224: warning: cast from pointer to integer of different size
device.c: In function `device_char_width':
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c:353: warning: cast from pointer to integer of different size
device.c: In function `add_char':
device.c:410: warning: cast from pointer to integer of different size
device.c:410: warning: cast from pointer to integer of different size
device.c:410: warning: cast from pointer to integer of different size
device.c:410: warning: cast from pointer to integer of different size
device.c:410: warning: cast from pointer to integer of different size
device.c:410: warning: cast from pointer to integer of different size
device.c: In function `read_charset_section':
device.c:454: warning: cast from pointer to integer of different size
device.c:454: warning: cast from pointer to integer of different size
device.c:454: warning: cast from pointer to integer of different size
device.c:454: warning: cast from pointer to integer of different size
device.c:454: warning: cast from pointer to integer of different size
device.c:454: warning: cast from pointer to integer of different size
rm -f gxditview
gcc -o gxditview -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/X11R6/lib   xditview.o   Dvi.o   draw.o   font.o   lex.o   page.o   parse.o   XFontName.o   DviChar.o   device.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11     -lm
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `Dvi.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `draw.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `font.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `lex.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `page.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `parse.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `XFontName.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `DviChar.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: i386:x86-64 architecture of input file `device.o' is incompatible with i386 output
distcc[13582] ERROR: compile (null) on localhost failed
make: *** [gxditview] Error 1

!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2004-12-14 14:54:45 UTC
Don't know what to tell you except there are known issues with crosscompiling and unfortunately we can't sort them all out.

Try looking into crossdev for crosscompiling.