From owner-cvs-src@FreeBSD.ORG Fri Jun 13 16:31:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C69C37B404; Fri, 13 Jun 2003 16:31:04 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F6A43FCB; Fri, 13 Jun 2003 16:31:02 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 4FDB566BE5; Fri, 13 Jun 2003 16:31:02 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 3E16FB75; Fri, 13 Jun 2003 16:31:02 -0700 (PDT) Date: Fri, 13 Jun 2003 16:31:02 -0700 From: Kris Kennaway To: Dag-Erling Smorgrav Message-ID: <20030613233102.GA81695@rot13.obsecurity.org> References: <200306132154.h5DLsL4t018474@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Peter Wemm Subject: Re: cvs commit: src/share/mk bsd.sys.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 23:31:04 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 14, 2003 at 12:39:33AM +0200, Dag-Erling Smorgrav wrote: > Peter Wemm writes: > > Log: > > We cannot use c99 on amd64 either due to lack of alloca(). libc:strp= time() > > uses alloca() and alloca is impossible to implement as a callable fun= ction > > on amd64. It has to be a compiler builtin. Note that the bigger pro= blem > > is that libc is not c99 clean internally. >=20 > #define alloca(sz) __builtin_alloca(sz) That's kind of a nasty hack, since it's gcc-specific and partly undoes the effect of c99 mode. One of the differences between gnu99 and c99 is that the latter does not use the gcc builtin functions. If you actually want to use the builtins, you shouldn't be asking for c99 mode to begin with. > and please remove CSTD?=3Dc99 from bsd.sys.mk, it was never intended to > be used that way. Yes please. Kris --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+6l61Wry0BWjoQKURAlCAAKCKDQujen7C50qflwI5mNW4w+vr5gCdHzvT VEF5lMAqmfC16JM+20zUTpY= =Y0kl -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--