Subject: Re: audio problems with -current/GCC4?
To: John D. Baker <jdbaker@mylinuxisp.com>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 07/09/2006 09:07:18
On Sat, 8 Jul 2006 23:25:56 -0500 (CDT)
"John D. Baker" <jdbaker@mylinuxisp.com> wrote:

> Cross-posted to each list because it seems relevant in each case...
> 
> I've been tracking i386-current for some time and have been successfully
> using 3.99.21 built with GCC4 since shortly after it was imported into
> the tree.
> 
> Most, if not all of my packages, however, were built with GCC3.3.3 that
> had been the standard compiler.  They all played very happily together.
> 
> When pkgsrc tagged the pkgsrc-2006Q2 branch, I decided I would blow away
> all my packages on one particular machine, update pkgsrc on that tag and
> build everything from scratch.  As far a building goes, I've only barely
> started, but only had one glitch that I've worked around and filed a PR
> against.
> 
> Then I re-built audio/xmms.  The build itself went without error.  Un-
> fortunately, when I try to play any MP3 audio file or stream with it, all
> I get is noise.  It otherwise appears to be operating normally.
> 
> Since the previous incarnation of xmms was built with GCC3.3.3 and worked
> great with my GCC4-built kernel/userland, perhaps there is some problem
> with GCC4-built audio applications?  I haven't had a chance to try any
> others yet, but I did expect xmms to 'just work'.  (I need to collect
> some samples to try with the base userland 'audioplay' tool...)
> 
> Has anyone else had problems with audio on i386 when switching from
> GCC3.3.3 to GCC4.1.2 to build packages?

Yes, I had same problem with bmp (pkgsrc/audio/bmp) and GCC4.
But the problem dissapeared when I built it without -march.