Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94207 - ladspa-cmt malfunctions when using -O2 or -O3 compiler flags
Summary: ladspa-cmt malfunctions when using -O2 or -O3 compiler flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-27 11:19 UTC by Reuben Martin
Modified: 2005-10-31 08:59 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 Reuben Martin 2005-05-27 11:19:39 UTC
The freeverb part of the cmt plugin will not function correctly when the plugin
is build with optimization flags -O2 or -O3. (I'm not sure about the other parts
of the plugin, since freeverb was the only part I was interested in) -O1 works fine.

I'm not sure if this is specific to compiler versions. I'm using
gcc-3.4.3.20050110-r2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kito (RETIRED) gentoo-dev 2005-05-27 16:16:40 UTC
hmm, I didn't see this on ppc or macos, any other x86 people having this problem? Please post your 
emerge info
Comment 2 Reuben Martin 2005-07-25 16:26:02 UTC
Ugh. I'm sorry I didn't reply earlier. I somehow missed the email response and
came across it today cleaning out my old email. Some things have changed since
then, like the compiler version.

Note that none of the compiler flags from my emerge info are relevant. I chased
down the offending option by building this by hand to test the build flags one
at a time. Therefore I can be pretty sure that flags like -ffast-math or
-mfpmath=sse,387 are not the problem.

emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.6.13
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse,387 -ffast-math
-fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse,387 -ffast-math
-fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -W1,--sort-common -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 a52 aac aalib acl acpi alsa apache2 apm arts
audiofile avi berkdb bitmap-fonts blender-game bmp bonobo bootsplash bzip2
calendar cap caps cdparanoia cdr chroot crypt css cups curl dba dbase dbm dbus
dbx dga dio directfb dts dv dvd dvdr dvdread edl eds emboss encode esd evms2 evo
exif fam fame fbcon festival ffmpeg fftw firefox flac flash flatfile fluidsynth
fmod font-server foomaticdb fortran freetype ftp gcj gd gdbm gif gimp gnome
gphoto2 gpm gstreamer gtk gtk2 guile hal howl ieee1394 imagemagick imap imlib
imlib2 ipv6 jabber jack jack-tmpfs java jikes jpeg junit kde kdeenablefinal
kdepim kerberos krb4 ladspa latex lcms ldap libg++ libwww lzo lzw mad maildir
matroska matrox mcal md5sum mikmod mime mjpeg mmap mmx mmx2 mng mono motif
mozcalendar mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer mysql nas ncurses network
nls nntp no-old-linux no_wxgtk1 nptl nptlonly nvidia odbc ofx ogg oggvorbis
openal openexr opengl openssh openssl oss pam pda pdf pdflib perl plotutils
plugin png portaudio posix postgres povray ppds print python qt quicktime
readline real rtc sasl scanner sdl sharedmem slang slp smime sndfile sockets
socks5 sox speex spell sse ssl stream svg svga tcltk tcpd tetex tga theora
threads tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode
usb utf8 vcd vcdimager vnc vorbis win32codecs wmf wxwindows xanim xfs xine
xinerama xml xml2 xmms xosd xpm xprint xv xvid xvmc yv12 zeroconf zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-31 08:59:45 UTC
Please use saner cflags and ldflags.