Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 00:21:01 -0500
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: multimedia/beep-media-player doesn't compile
Message-ID:  <20031124052101.GO40706@toxic.magnesium.net>
In-Reply-To: <200311240533.39481.michaelnottebrock@gmx.net>
References:  <20031123095011.3b83370a.pnmurphy@cogeco.ca> <20031123201932.338db14f.pnmurphy@cogeco.ca> <20031124013145.GM40706@toxic.magnesium.net> <200311240533.39481.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (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.

# Adam


--
Adam Weinberger
vectors.cx	>>  adam@vectors.cx	>>  http://www.vectors.cx
magnesium.net	<<  adamw@magnesium.net	<<  http://www.magnesium.net/~adamw
FreeBSD		>>  adamw@FreeBSD.org	>>  http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031124052101.GO40706>