From owner-freebsd-ports@FreeBSD.ORG Sun Nov 23 21:21:02 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE28816A4CE for ; Sun, 23 Nov 2003 21:21:02 -0800 (PST) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 1149F43FAF for ; Sun, 23 Nov 2003 21:21:02 -0800 (PST) (envelope-from adamw@magnesium.net) Received: (qmail 19233 invoked by uid 1252); 24 Nov 2003 05:21:01 -0000 Date: 24 Nov 2003 00:21:01 -0500 Date: Mon, 24 Nov 2003 00:21:01 -0500 From: Adam Weinberger To: Michael Nottebrock Message-ID: <20031124052101.GO40706@toxic.magnesium.net> References: <20031123095011.3b83370a.pnmurphy@cogeco.ca> <20031123201932.338db14f.pnmurphy@cogeco.ca> <20031124013145.GM40706@toxic.magnesium.net> <200311240533.39481.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311240533.39481.michaelnottebrock@gmx.net> X-Editor: Vim 6.2 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx X-ASL: 6/m/behind you User-Agent: Mutt/1.5.4i cc: Simon Barner cc: Paul Murphy cc: FreeBSD Ports Subject: Re: multimedia/beep-media-player doesn't compile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 05:21:03 -0000 >> (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.