From owner-freebsd-current Thu May 28 05:25:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA02342 for freebsd-current-outgoing; Thu, 28 May 1998 05:25:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (slip139-92-122-88.joh.za.ibm.net [139.92.122.88]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA02332 for ; Thu, 28 May 1998 05:25:08 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.8/8.6.12) id OAA21736; Thu, 28 May 1998 14:15:35 +0200 (SAT) From: Robert Nordier Message-Id: <199805281215.OAA21736@ceia.nordier.com> Subject: Re: Replacing gcc as the system compiler (was Re: Fix for undefined "__error" and discussion of shared object versioning) In-Reply-To: <199805280348.NAA09679@godzilla.zeta.org.au> from Bruce Evans at "May 28, 98 01:48:06 pm" To: bde@zeta.org.au (Bruce Evans), eivind@yes.no (Eivind Eklund) Date: Thu, 28 May 1998 14:15:34 +0200 (SAT) Cc: current@FreeBSD.ORG, rnordier@nordier.com X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > >Have you looked closely at XANDF? I'm seeing two real hurdles (beyond > >inertia) in using this as our main compiler: The use of asm() for some > >macros in the kernel, and the use of linker sets. What do you think > >our chance of working around these are? > > Linker sets are just asm(). Too bad - I'd like another excuse to kill > them. asm() is not sue much in macros, but is used a lot in inline > functions. I see inline functions as the main hurdle. Chances of > replacing them at reasonable cost are low. TenDRA also lacks direct support for __attribute__((packed)) However, there are no padding bits for bit-fields and it is possible to specify -Zp[12] for unaligned packing at a file level. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message