[Flac-dev] problem compiling with gcc 3?

Matt Zimmerman mdz at debian.org
Tue Dec 4 19:05:03 PST 2001


On Tue, Dec 04, 2001 at 04:08:28PM -0800, Josh Coalson wrote:

> there is a bug report that the resulting flac binary, when compiled with
> gcc3, is bad:
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=488702&group_id=13478&atid=113478
> 
> I don't have a system to try this out on right away; can anyone verify or
> elaborate on that?

The bug submitter is using 3.0.1; I have 3.0.2 here (Debian's 3.0.2-4).  I
can encode and decode a test WAV file with no problems.  "make check" runs
successfully for a long time before blowing up, but it breaks with both the
gcc2- and gcc3-compiled versions.  The error looks like this:

gcc 2.95.4:
noise: encode...decode...compare...cmp: EOF on noise.cmp
ERROR during compare of noise
FAIL: ./test_streams.sh
===================
1 of 2 tests failed
===================

gcc 3.0.2:
noise: encode...decode...compare...noise.raw noise.cmp differ: char 660729,
line 2573
ERROR during compare of noise
FAIL: ./test_streams.sh
===================
1 of 2 tests failed
===================

I assume these are two slightly different failure conditions due to the
randomness of the noise, correct?

In fact, now that I try it, I get a similar error with 1.0.1, gcc 2.95.4:

sine16-16: encode...decode...compare...cmp: EOF on sine16-16.cmp
ERROR during compare of sine16-16
FAIL: ./test_streams.sh
===================
1 of 2 tests failed
===================

Perhaps this is at least partially a problem with the self-tests themselves?

I don't get segfaults with the asm optimizations anymore (yay).  I haven't
tried 3DNOW yet.

-- 
 - mdz




More information about the Flac-dev mailing list