First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122192
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Disenchanted (RETIRED) <morfic@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Gothe <nietzsche@lysator.liu.se>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122192 depends on: Show dependency tree
Show dependency graph
Bug 122192 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-08 17:34 0000
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 From Markus Gothe 2006-02-08 17:57:19 0000 -------
Seems like -march=athlon-xp is the culprit!

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-02-09 06:17:33 0000 -------
*** Bug 122199 has been marked as a duplicate of this bug. ***

------- Comment #3 From Disenchanted (RETIRED) 2006-02-09 16:38:26 0000 -------
you are saying that "-march=athlon-xp -O2 -pipe" bails too?

could you paste the error with those flags? thanks

------- Comment #4 From Markus Gothe 2006-02-09 16:50:34 0000 -------
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 From Markus Gothe 2006-02-09 16:55:01 0000 -------
Removing -ftracer helped!!!

------- Comment #6 From Markus Gothe 2006-02-09 17:06:43 0000 -------
LOL, it segfaulted on runtime... Why am I not suprised? ;)

------- Comment #7 From Markus Gothe 2006-02-09 17:11:11 0000 -------
never mind Comment #6, it was due to some permissions probably.

------- Comment #8 From Disenchanted (RETIRED) 2006-02-09 17:34:58 0000 -------
what CFLAGS do you now successfully use?

------- Comment #9 From Markus Gothe 2006-02-09 17:43:56 0000 -------
"-O2 -ffast-math -march=athlon-xp -fomit-frame-pointer -pipe
-mfpmath=sse -fvisibility-inlines-hidden"

------- Comment #10 From Disenchanted (RETIRED) 2006-02-09 18:53:12 0000 -------
no love with the initial -O3 ?

------- Comment #11 From Markus Gothe 2006-02-09 19:01:36 0000 -------
-O3 is replaced by -O2 by the ebuild, so I donnu how well it performs with -O3.

------- Comment #12 From Disenchanted (RETIRED) 2006-02-09 19:40:50 0000 -------
-march=athlon-xp -O2 -pipe -fomit-framer-pointer -ftracer  <--- this exhibits
the same error for you?

------- Comment #13 From Disenchanted (RETIRED) 2006-02-09 19:43:03 0000 -------
-fomit-frame-pointer of course

------- Comment #14 From Markus Gothe 2006-02-09 19:48:28 0000 -------
yepp, -ftracer is definetly the culprit in this drama.

------- Comment #15 From Disenchanted (RETIRED) 2006-02-09 20:05:58 0000 -------
fixed ebuild should show in 2 hours, sync and emerge
thanks for reporting

First Last Prev Next    No search results available      Search page      Enter new bug