Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39924 - games-fps/doomlegacy fails build on AMD64
Summary: games-fps/doomlegacy fails build on AMD64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-30 16:53 UTC by Tamran Lengyel
Modified: 2004-08-30 20:37 UTC (History)
1 user (show)

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 Tamran Lengyel 2004-01-30 16:53:36 UTC
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make: *** [dll] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/doomlegacy-1.41-r1/work/legacy_141_src/linux_x/musserv'

!!! ERROR: games-fps/doomlegacy-1.41-r1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! build failed


Reproducible: Always
Steps to Reproduce:
1.emerge doomlegacy
2.
3.

Actual Results:  
nothing worth noting
Comment 1 Tamran Lengyel 2004-01-30 22:30:14 UTC
Oops, I accidentally listed IA64, but that was a typo.  I have amd64.

My apologies.
Comment 2 Jason Huebel (RETIRED) gentoo-dev 2004-02-27 21:52:10 UTC
Please provide output of "emerge info"
Comment 3 Tamran Lengyel 2004-03-20 11:34:00 UTC
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.5-rc1-bh1)
=================================================================
System uname: 2.6.5-rc1-bh1 x86_64 5
Gentoo Base System version 1.4.3.13p1
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/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/c
onfig/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.tds.ne
t/gentoo http://mirror.tucdemonic.org/gentoo/ http://cudlug.cudenver.edu/gentoo/
"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa amd64 apache2 apm avi berkdb bonobo cdr crypt cups de
dicated doc encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6 jpe
g libg++ libwww mikmod motif mpeg mpi msn multilib mysql ncurses nls odbc oggvor
bis opengl oss pam pdflib perl plotutils png python qt quicktime readline sdl sl
ang spell ssl tcpd tetex tiff truetype usb xml2 xmms xv yahoo zlib"
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-20 12:23:26 UTC
Any chance you could post a LOT more of the compilation error?
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-04-01 10:34:24 UTC
ok, I got around to testing this myself and it appears to be an -fPIC bug. here is the actual error message:

/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../objs/r_opengl.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
../objs/r_opengl.o: could not read symbols: Bad value

also, an earlier make job receives an earlier error about the same file.

there are further errors here that look... interesting:

/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `linux/soundsrv.o' is incompatible with i386:x86-64 output
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `linux/sounds.o' is incompatible with i386:x86-64 output

it seems that the build depends on pre-existing i386 binaries... a major no-no on amd64.
Comment 6 Travis Tilley (RETIRED) gentoo-dev 2004-07-13 16:17:02 UTC
no keyword, no patch... marking invalid
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2004-07-26 12:59:15 UTC
This problem should be fixed on AMD64 as well by the patch supplied in bug 58334.  Please test and let me know.

Thanks
Comment 8 SpanKY gentoo-dev 2004-08-30 20:37:22 UTC
the `linux/sounds.o' crap was fixed a while back, you can safely ignore that