Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58334 - emerge doomlegacy-1.42 crashes on ppc.
Summary: emerge doomlegacy-1.42 crashes on ppc.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High blocker (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 14:08 UTC by Michael Kiermaier
Modified: 2004-08-19 14:36 UTC (History)
0 users

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


Attachments
Little fix for the ebuild to allow doomlegacy to compile on non x86 (doomlegacy-1.42-r1.patch,40 bytes, patch)
2004-07-26 12:24 UTC, Joe Jezak (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kiermaier 2004-07-25 14:08:47 UTC
Every time I try to to compile doomlegacy-1.42 on an G3 iBook 800 MHz I get this error:

make[1]: Entering directory `/var/tmp/portage/doomlegacy-1.42/work/doomlegacy_142_src/linux_x/sndserv'
gcc -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -Wall -DNORMALUNIX -DLINUX -c linux.c -o linux/linux.o
musserver.c: In function `main':
musserver.c:189: warning: implicit declaration of function `strlen'
musserver.c:196: warning: implicit declaration of function `strcmp'
musserver.c:330: warning: suggest explicit braces to avoid ambiguous `else'
gcc -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -Wall -DNORMALUNIX -DLINUX  \
linux/soundsrv.o \
linux/sounds.o \
linux/linux.o -o linux/llsndserv -lm
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld: linux/soundsrv.o: Relocations in generic ELF (EM: 3)
linux/soundsrv.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [linux/llsndserv] Error 1
make[1]: Leaving directory `/var/tmp/portage/doomlegacy-1.42/work/doomlegacy_142_src/linux_x/sndserv'
make: *** [sndserv] Error 2
make: *** Waiting for unfinished jobs....
gcc -I. -Wall -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c readwad.c -o linux/readwad.o
gcc -I. -Wall -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c playmus.c -o linux/playmus.o
gcc -I. -Wall -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c sequencer.c -o linux/sequencer.o
gcc -I. -Wall -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt  \
linux/musserver.o \
linux/readwad.o \
linux/playmus.o \
linux/sequencer.o -o linux/musserver
make[1]: Leaving directory `/var/tmp/portage/doomlegacy-1.42/work/doomlegacy_142_src/linux_x/musserv'

!!! ERROR: games-fps/doomlegacy-1.42 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! build failed


doomlegacy-1.41-r1 compiled fine.


# emerge info
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.2_rc1-benh1)
=================================================================
System uname: 2.6.2_rc1-benh1 ppc 750FX
Gentoo Base System version 1.5.1
distcc 2.16 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts audiofile berkdb caps crypt cups doc dvd encode flac foomaticdb gdbm gif gnome-libs gphoto2 gpm gtk2 guile icq imlib innodb jack jack-tmpfs java jpeg kde ladcca lcms libwww mad maildir mitshm monkey motif mozilla mpeg mysql ncurses nls offensive oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sasl sdl slang speex spell ssl tcltk tcpd tetex tiff truetype usb video_cards_radeon wmf xml xml2 xmms xv zlib"
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2004-07-26 12:07:28 UTC
This occurs because there are objects compiled for x86 included in the source tarball.

I've included a patched ebuild.
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2004-07-26 12:24:24 UTC
Created attachment 36213 [details, diff]
Little fix for the ebuild to allow doomlegacy to compile on non x86

The downloaded source included some already compiled components.  This fix
removes the last of the object files.
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 14:36:09 UTC
fixed in cvs