From owner-freebsd-current Wed Dec 9 17:33:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00240 for freebsd-current-outgoing; Wed, 9 Dec 1998 17:33:43 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (kenya-158.ppp.hooked.net [206.169.227.158]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA00215 for ; Wed, 9 Dec 1998 17:33:40 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.9.1/8.8.8) with ESMTP id RAA77852; Wed, 9 Dec 1998 17:36:29 -0800 (PST) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Wed, 9 Dec 1998 17:36:28 -0800 (PST) From: Alex Zepeda X-Sender: garbanzo@zippy.dyn.ml.org To: "Jordan K. Hubbard" cc: Christopher Masto , John Polstra , current@FreeBSD.ORG Subject: Re: buildworld and PAM and login and stuff In-Reply-To: <27787.913252932@zippy.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 9 Dec 1998, Jordan K. Hubbard wrote: > > If there are nonstandard options that cause the build to fail in the > > middle, perhaps they should be documented or even detected. I believe > > How? There is a huge array of possible ways in which to hang yourself > here and I'm almost certain it would be impossible to enumerate, let > along detect, them all. Just playing devil's advocate: > How do you detect that someone has passed in bogus CFLAGS Try out the compiler / CFLAGS combo and see what happens (with a small test program of course) >, for example? Or set the optimization too high? Assuming gcc is being used, what about having awk feed each argument of CFLAGS to a grep O|grep -v O2? A regexp might be more suited... > All of those things can cause the build to fail and are only examples > of some of the less subtle ways of doing it. If you really wanted to I'm sure you could come up with some way to check all of this, but doesn't your sock drawer need cleaning? ;) - alex | "Contrary to popular belief, penguins are not the salvation of modern | | technology. Neither do they throw parties for the urban proletariat." | | Powered by FreeBSD http://www.freebsd.org/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message