From owner-freebsd-current Tue Apr 6 6:29:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with SMTP id 92D6B1516E for ; Tue, 6 Apr 1999 06:29:33 -0700 (PDT) (envelope-from loverso@sitara.net) Received: from sitara.net (jamaica.sitaranetworks.com [199.103.141.147]) by apollo.sitaranetworks.com (8.9.1a/8.9.1) with ESMTP id JAA12276; Tue, 6 Apr 1999 09:27:28 -0400 (EDT) Message-ID: <370A0B4D.2A710364@sitara.net> Date: Tue, 06 Apr 1999 09:25:33 -0400 From: "John R. LoVerso" Reply-To: loverso@sitaranetworks.com Organization: Sitara Networks, http://surf.to/loverso/ X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon , current@FreeBSD.ORG Subject: Re: EGCS breaks what(1) References: <199904060156.SAA84557@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 'what' is broken. C does not impose any sort of address ordering > restriction on globals or autos that are declared next to each other. Right, except that 'what' isn't broken. It is vers.c (and conf/newvers.sh) that is broken, believing that the two variables will be allocating in contiguous memory. Changing newvers.sh to generate char sccs[] = "@(" "#)" "FreeBSD ..."; char version = "FreeBSD ..."; will make "what" on the kernel work again, at the expense of about 100 duplicated bytes. The real question is whether the extreme alignment and padding used by EGCS can be turned off, especially for 486s. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message