public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "t dot artem at mailcity dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15537] New: GCC 3.4.0 release (vanilla, no patches applied) miscompiles splay library
Date: Wed, 19 May 2004 23:17:00 -0000	[thread overview]
Message-ID: <20040519051158.15537.t.artem@mailcity.com> (raw)

**********************************************************************
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


             reply	other threads:[~2004-05-19  5:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 23:17 t dot artem at mailcity dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040519051158.15537.t.artem@mailcity.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).