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"
Seems like -march=athlon-xp is the culprit!
*** Bug 122199 has been marked as a duplicate of this bug. ***
you are saying that "-march=athlon-xp -O2 -pipe" bails too? could you paste the error with those flags? thanks
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! :/
Removing -ftracer helped!!!
LOL, it segfaulted on runtime... Why am I not suprised? ;)
never mind Comment #6, it was due to some permissions probably.
what CFLAGS do you now successfully use?
"-O2 -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse -fvisibility-inlines-hidden"
no love with the initial -O3 ?
-O3 is replaced by -O2 by the ebuild, so I donnu how well it performs with -O3.
-march=athlon-xp -O2 -pipe -fomit-framer-pointer -ftracer <--- this exhibits the same error for you?
-fomit-frame-pointer of course
yepp, -ftracer is definetly the culprit in this drama.
fixed ebuild should show in 2 hours, sync and emerge thanks for reporting