Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122192 - mupen64-glide64 should sort out flags
Summary: mupen64-glide64 should sort out flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
: 122199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-08 17:34 UTC by Markus Gothe
Modified: 2006-02-09 20:05 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 Markus Gothe 2006-02-08 17:34:29 UTC
CXXFLAGS="-O3" CFLAGS="-O3" emerge mupen64-glide64 works fine.

g++ -O2 -ftracer -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse -fvisibility-inlines-hidden -DGL_GLEXT_PROTOTYPES `sdl-config --cflags` `pkg-config --cflags gtk+-2.0 glib-2.0` -D_GTK2 -Iwrapper/ -O2 -ftracer -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse  -c -o rdp.o rdp.cpp
ucode06.h:611: warning: non-local variable '<anonymous struct> mat_2d' uses anonymous type
{standard input}: Assembler messages:
{standard input}:7854: Warning: indirect call without `*'
{standard input}:13746: Warning: indirect call without `*'
{standard input}:13752: Warning: indirect call without `*'
{standard input}:13815: Error: symbol `dxt_test' is already defined
{standard input}:13821: Error: symbol `dxt_s_test' is already defined
{standard input}:13829: Warning: indirect call without `*'
{standard input}:13832: Error: symbol `end_dxt_test' is already defined
{standard input}:13835: Warning: indirect call without `*'
make: *** [rdp.o] Error 1

leary ~ # emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-ck1 i686)
=================================================================
System uname: 2.6.15-ck1 i686 AMD Duron(TM)
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ALSA_CARDS="emu10k1"
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
AW_COMMON="/opt/aw"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-O3 -ftracer -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O3 -ftracer -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse -fvisibility-inlines-hidden"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.6/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://ftp.du.se/pub/os/gentoo"
GLIBC_SSP_CHECKED="1"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="leary"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JDK_HOME="/opt/blackdown-jdk-1.4.2.03"
KDEDIRS="/usr"
KERNEL="linux"
LANG="en_US.ISO-8859-15"
LC_ALL="en_US.ISO-8859-15"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en"
LIRC_OPTS="--with-driver=pctv --with-x"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/man::/opt/blackdown-jdk-1.4.2.03/man:/usr/qt/3/doc/man"
MAYA_LOCATION="/opt/aw/maya"
MAYA_SHADER_LIBRARY_PATH="/opt/aw/maya/shaderLibrary/shaders"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.0.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/opt/aw/maya/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="9175"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="3dnow 3dnowext X Xaw3d aac alsa apache2 asm bash-completion berkdb bitmap-fonts bzip2 cdr crypt ctype curl directfb dlloader dvd dvdr dvdread encode exif expat ffmpeg firefox foomaticdb fortran gcj gd gdbm gnome gpm gs gstreamer gtk gtk2 icq idn imap imlib jabber java javascript jpeg lcms libg++ lirc live lm_sensors matroska memlimit mikmod mmx mmxext motif mozsvg mp3 mpeg msn musicbrainz mysql ncurses network nfs nls nodrm nptl nsplugin nvidia offensive ogg oggvorbis opengl oscar pam pcre pdf pdflib perl php plotutils png posix python qt quicktime readline real sdl sockets spell sse ssl svg svga sysfs sysvipc theora threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis wifi win32codecs x86 xml xml2 xmms xscreensaver xsl xv xvid xvmc zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_v4l"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="nvidia v4l"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthyT1Lq3"
_="/usr/bin/emerge"
Comment 1 Markus Gothe 2006-02-08 17:57:19 UTC
Seems like -march=athlon-xp is the culprit!
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-02-09 06:17:33 UTC
*** Bug 122199 has been marked as a duplicate of this bug. ***
Comment 3 Disenchanted (RETIRED) gentoo-dev 2006-02-09 16:38:26 UTC
you are saying that "-march=athlon-xp -O2 -pipe" bails too?

could you paste the error with those flags? thanks
Comment 4 Markus Gothe 2006-02-09 16:50:34 UTC
Hmm, weird I was wrong... There must be the combination itself... 
CFLAGS = CXXFLAGS = "-ftracer -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse -fvisibility-inlines-hidden" compiled nice. Adding -O2 broke it! :/
Comment 5 Markus Gothe 2006-02-09 16:55:01 UTC
Removing -ftracer helped!!!
Comment 6 Markus Gothe 2006-02-09 17:06:43 UTC
LOL, it segfaulted on runtime... Why am I not suprised? ;)
Comment 7 Markus Gothe 2006-02-09 17:11:11 UTC
never mind Comment #6, it was due to some permissions probably.
Comment 8 Disenchanted (RETIRED) gentoo-dev 2006-02-09 17:34:58 UTC
what CFLAGS do you now successfully use?
Comment 9 Markus Gothe 2006-02-09 17:43:56 UTC
"-O2 -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe
-mfpmath=sse -fvisibility-inlines-hidden"
Comment 10 Disenchanted (RETIRED) gentoo-dev 2006-02-09 18:53:12 UTC
no love with the initial -O3 ?
Comment 11 Markus Gothe 2006-02-09 19:01:36 UTC
-O3 is replaced by -O2 by the ebuild, so I donnu how well it performs with -O3.
Comment 12 Disenchanted (RETIRED) gentoo-dev 2006-02-09 19:40:50 UTC
-march=athlon-xp -O2 -pipe -fomit-framer-pointer -ftracer  <--- this exhibits the same error for you?

Comment 13 Disenchanted (RETIRED) gentoo-dev 2006-02-09 19:43:03 UTC
-fomit-frame-pointer of course
Comment 14 Markus Gothe 2006-02-09 19:48:28 UTC
yepp, -ftracer is definetly the culprit in this drama.
Comment 15 Disenchanted (RETIRED) gentoo-dev 2006-02-09 20:05:58 UTC
fixed ebuild should show in 2 hours, sync and emerge
thanks for reporting