Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80500 - quakeforge ebuild outputs broken bins on amd64
Summary: quakeforge ebuild outputs broken bins on amd64
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2005-02-02 12:25 UTC by Luke-Jr
Modified: 2005-05-19 09:06 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2005-02-02 12:25:40 UTC
The binarys produced by the ebuild for quakeforge do not work (menus, console, etc are missing)
If I cd into /var/tmp/portage/quakeforge-0.5.5/work/quakeforge-0.5.5 and recompile it with CFLAGS=-g, it works fine.

Reproducible: Always
Steps to Reproduce:
Comment 1 Richard Benjamin Voigt 2005-02-02 12:46:15 UTC
output from "emerge info"?
Comment 2 Luke-Jr 2005-02-02 13:34:57 UTC
The problems suggested that it's more related to stripping than CFLAGS, but for the sake of stopping the CFLAGS questions, emerge --info:

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-, 2.6.10-gentoo-r2-ljr x86_64)
System uname: 2.6.10-gentoo-r2-ljr x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 20 2004, 13:40:44)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/libtool:   1.5.10-r4
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -fPIC"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -fPIC"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages keeptemp keepwork sandbox"
USE="amd64 X aalib acl acpi aim alsa apache2 arts avi berkdb bitmap-fonts bootsplash bzlib calendar caps cdr cjk crypt cups directfb dvb dvd dvdr encode esd ethereal f77 faad fam fbcon flac font-server foomaticdb fortran ftp gcj gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib inifile ipv6 jabber java jikes joystick jp2 jpeg kde ldap libwww lzw lzw-tiff mad maildir matroska mcal memlimit mikmod motif mozilla mp3 mpeg msn mysql nas ncurses nls nocd nptl oggvorbis opengl oscar oss pam pda pdflib perl php pic png ppds python qt quicktime readline ruby samba scanner sdk sdl session shared slang slp snmp socks5 speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vhosts wmf wxwindows xml xml2 xmms xosd xpm xrandr xsl xv xvid yahoo zlib video_cards_radeon"

Note, I'm relatively sure I've tried this in the past *without* -fPIC in CFLAGS, so even if that causes problems, it doesn't cause this one (though in my experience, it has never had any negative effects)
I've been informed that -ftracer is "sketchy", but it was a suggested x86_64 flag when I installed, and my system has never had any issues using it for everything.
Comment 3 SpanKY gentoo-dev 2005-02-02 16:05:51 UTC
considering it works fine on my x86 but not on my amd64, i'd be inclined to say it's an amd64 specific bug

also, i dont see what setting CFLAGS=-g has to do with stripping ... packages are always stripped unless you have FEATURES=nostrip
Comment 4 Luke-Jr 2005-02-02 16:13:34 UTC
After recompiling, I copied the binaries over to the system manually, skipping Portage's stripping. The only reason I even used CFLAGS=-g was because I was expecting I would need to debug code.
Comment 5 SpanKY gentoo-dev 2005-02-05 21:28:41 UTC

*** This bug has been marked as a duplicate of 62538 ***
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:27 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.