public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15537] New: GCC 3.4.0 release (vanilla, no patches applied) miscompiles splay library
@ 2004-05-19 23:17 t dot artem at mailcity dot com
  2004-05-19 23:26 ` [Bug c++/15537] " t dot artem at mailcity dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: t dot artem at mailcity dot com @ 2004-05-19 23:17 UTC (permalink / raw)
  To: gcc-bugs

**********************************************************************
Backgroung and bug information:
Splay library is used for decoding Mpeg I Layer 1,2,3 audio
streams. The bug can be heard when you are listening to
particular mp3 files (not every) using noatun, kaboodle, or 
any other application using shared libmpeg-0.3.0.so KDE 3.2.2
library. (The easiest way to do so is to `artsplay file.mp3`).
The problem occurs as a constant sound distortion that is
cleary heard when listening to vocal without background
instruments.

**********************************************************************
Technical information:
GCC 3.4.0 release (vanilla, no patches applied) miscompiles 
splay library found in kdemultimedia-3.2.2 package under 
mpeglib/lib/splay path. C++ and C FLAGS used for compilation
are "-march=pentium2 -O2" and the ones set by KDE multimedia
package configure script. GCC 3.3.3 compiles this library
correctly.

These are the sizes of the objects compiled by different GCC
versions:

-rw-r--r--    1 root     root       155532 May 18 18:22 libsplay.o.333
-rw-r--r--    1 root     root       165628 May 18 18:46 libsplay.o.340

I also attach (C++) PreProcessor results

-rw-r--r--    1 root     root       278256 May 18 18:51 source.cpp.333
-rw-r--r--    1 root     root       272603 May 18 18:47 source.cpp.340

**********************************************************************
KDE Multimedia library was configured this way:

export CFLAGS="-march=pentium2 -O2"
export CXXFLAGS="-march=pentium2 -O2"

./configure --prefix=/opt/kde3 --with-gnu-ld --enable-final --disable-debug \
--with-xinerama --with-xine-prefix=/usr/local --with-esd-prefix=/usr \
--with-alsa-prefix=/usr  --with-alsa  --with-arts-alsa

**********************************************************************

The splay library was compiled this way:

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde3/include -I/usr/lib/qt3/include \
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor \
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align \
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG \
-DNO_DEBUG -O2 -march=pentium2 -O2 -Wformat-security -Wmissing-format-attribute \
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST \
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT source.cpp -o libsplay.o

**********************************************************************
I'm running Fedore Core 1 x86 i386 compatible distributive with

1) Glibc 2.3.2 library
2) Binutils 2.15.90.0.3 (taken from Fedore Core 2)
3) Vanilla QT 3.2.2 library
4) Vanilla kernels 2.4.26 (GCC 2.95) and 2.6.6 (GCC 3.4.0)

GCC 3.3.3, 3.4.0 (both vanilla) were compiled (by themselves) this way:

./configure --enable-shared --enable-threads=posix --disable-checking \
--with-system-zlib --enable-__cxa_atexit --enable-multilib --with-gnu-as \
--with-gnu-ld --enable-languages="c,c++" --without-x --prefix=/opt/gcc3 \
--enable-long-long

**********************************************************************
I have a 600Mhz Pentium 3EB processor and Sound Blaster Live audio PC
using both Open Sound System and ALSA kernel sound modules.

With respect, Artem Tashkinov

-- 
           Summary: GCC 3.4.0 release (vanilla, no patches applied)
                    miscompiles splay library
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: t dot artem at mailcity dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15537


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-11-27 19:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 23:17 [Bug c++/15537] New: GCC 3.4.0 release (vanilla, no patches applied) miscompiles splay library t dot artem at mailcity dot com
2004-05-19 23:26 ` [Bug c++/15537] " t dot artem at mailcity dot com
2004-05-19 23:34 ` t dot artem at mailcity dot com
2004-05-19 23:36 ` t dot artem at mailcity dot com
2004-05-20  1:11 ` pinskia at gcc dot gnu dot org
2004-05-20  1:18 ` [Bug c++/15537] [3.4/3.5? Regression] " pinskia at gcc dot gnu dot org
2004-05-20  2:34 ` t dot artem at mailcity dot com
2004-05-20  4:54 ` t dot artem at mailcity dot com
2004-05-20  5:09 ` pinskia at gcc dot gnu dot org
2004-05-29 22:37 ` mmitchel at gcc dot gnu dot org
2004-06-02  4:27 ` t dot artem at mailcity dot com
2004-08-12  7:55 ` [Bug rtl-optimization/15537] " pinskia at gcc dot gnu dot org
2004-11-27 19:50 ` [Bug rtl-optimization/15537] [3.4/4.0? " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).