From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15880 invoked from network); 18 Nov 2004 20:34:21 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 18 Nov 2004 20:34:22 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CUsyz-0003qT-OX for arch-gentoo-dev@lists.gentoo.org; Thu, 18 Nov 2004 20:34:21 +0000 Received: (qmail 25644 invoked by uid 89); 18 Nov 2004 20:34:17 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 22297 invoked from network); 18 Nov 2004 20:34:16 +0000 Message-ID: <419D074E.6010802@gentoo.org> Date: Thu, 18 Nov 2004 20:34:22 +0000 From: Robert Moss User-Agent: Mozilla Thunderbird 0.9 (X11/20041116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org References: <20041118194529.3ff36a8a@snowdrop.home> In-Reply-To: <20041118194529.3ff36a8a@snowdrop.home> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig68E821812FE47963958D8509" Subject: Re: [gentoo-dev] Common make.conf screwups? X-Archives-Salt: 04841009-8983-48e7-9748-70653b224d86 X-Archives-Hash: 11730d645d502920b0250b5e10bb3926 --------------enig68E821812FE47963958D8509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit A couple of CFLAGS that were never stable in any version of gcc: -freduce-all-givs -mfpmath=sse,387 The first flag will break things such as gcc, glibc, the kernel, binutils, bash and other nontrivial packages with every version of gcc I've ever tried (which is most of them). The flag has been denoted an experiment gone wrong and is no longer in CVS HEAD. The latter flag doesn't work properly and generates bad (sometimes segfaulting) code wherever SSE-related inline assembly is involved, and is slower than either -mfpmath=sse or -mfpmath=387 in 100% of cases according to those upstream. But yeah, -freduce-all-givs is a far, FAR more dangerous global flag than -ffast-math, which can in theory give you a working (if not supported) system when set globally. Also, perhaps highlight -fPIC in those cases where it shouldn't be used? Is that possible? Ehm. I don't mean that. Is that feasible? :-P Rob Ciaran McCreesh wrote: > I've got some better vim syntax highlighting rules for make.conf lined > up to go into the next app-vim/gentoo-syntax. One of the things that > this lets me do is highlighting of (some kinds of) mistakes. What're the > most common screwups that people see? My current list is: > > * CFLAGS: -0[123s] instead of -O[123s], -ffast-math globally > > * USE: +foo flags > > * ACCEPT_KEYWORDS: random duff entries (syntax is easy enough for me to > validate the whole thing) > > * CHOST: there're certain settings that will cause glibc to fall over > and die that people who are used to debian/sparc will sometimes use > > * MAKEOPTS: I'm kinda tempted to highlight "-j N" (where n is integer) > --------------enig68E821812FE47963958D8509 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iEYEARECAAYFAkGdB1EACgkQq/c/2ZoPH0Tk6ACgofmkUYrqLpL+Vq3TRcNlGAAS PTQAn2pKXN83hpsAKiHVCqyUkekO2qSQ =1OYg -----END PGP SIGNATURE----- --------------enig68E821812FE47963958D8509--