I noticed more of this trouble while recompiling other
applications with GCC 3.0.3.

The optimization option "-funroll-loops" seems to be the
primary factor.  While "-O2 -funroll-loops" or
"-O3 -funroll-loops" fails with LAME, I've found another
application where even "-O -funroll-loops" causes the
executable to bomb with a segmentation fault.  However,
"-funroll-loops" taken alone without "-O", "-O2", or "-O3"
never failed.

Meanwhile, reverting to GCC version 3.0.2 seems to
eliminate this particular problem in every case.

(To compile LAME 3.91 with GCC 3.0.3, before running 
./configure just replace -O3 with -O on the
"OPTIMIZATION=" line under "gcc defaults".)

Kind regards,

- John


Chris Oxenreider wrote:
> I did the following:
> 
> CC=gcc-3.0.3 CFLAGS=-01 ./confgiure
> 
> Then edit Makefile.unix and make sure the CC_OPTS is -01
> 
> This seems to have worked.  I am no longer getting any errors when
> compressingn .wav files to .mp3 using the '-h' option.
> 
> Note: Unless you change the CFLAGE/CC_OPTS to be '-O1', you will get
> this error.
>
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to