multimedia/beep-media-player doesn't compile
adamw at FreeBSD.org
Sun Nov 23 21:21:03 PST 2003
>> (11.23.2003 @ 2333 PST): Michael Nottebrock said, in 1.5K: <<
Content-Description: signed data
> On Monday 24 November 2003 02:31, Adam Weinberger wrote:
> > >> (11.23.2003 @ 2019 PST): Paul Murphy said, in 1.6K: <<
> > >>
> > > > Unset CPUTYPE in your make.conf, then compile beep-media-player, it
> > > > should work. Once you're done, you can reset CPUTYPE. Gcc is much more
> > > > sensitive for sloppy code when -march is in effect, that's why it
> > > > bombs out for you.
> > >
> > > Tried it, still no go.
> > >
> > >> end of "Re: multimedia/beep-media-player doesn't compile" from Paul
> > >> Murphy <<
> > The problem is not with CPUTYPE. The problem is that variables are being
> > declared in the middle of functions. The Input/vorbis/ directory never
> > got the fixes for this that the other directories did.
> It WILL work with standard CFLAGS (-O -pipe) and without -march k6 anyway. gcc
> is very forgiving.
>> end of "Re: multimedia/beep-media-player doesn't compile" from Michael Nottebrock <<
You're correct; it DOES build properly when I don't explicitly define
CPUTYPE. However, the fact remains that patching the places where
variables are defined in the middle of a function is preferable to
nullifying -march settings.
vectors.cx >> adam at vectors.cx >> http://www.vectors.cx
magnesium.net << adamw at magnesium.net << http://www.magnesium.net/~adamw
FreeBSD >> adamw at FreeBSD.org >> http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.
More information about the freebsd-ports