From owner-freebsd-sparc Wed Dec 2 22:49:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA07674 for freebsd-sparc-outgoing; Wed, 2 Dec 1998 22:49:14 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA07667 for ; Wed, 2 Dec 1998 22:49:10 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id RAA12594; Thu, 3 Dec 1998 17:55:56 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199812030655.RAA12594@cimlogic.com.au> Subject: Re: Libutils on Sparc64/Sparc32 In-Reply-To: from "Matthew N. Dodd" at "Dec 3, 98 01:42:08 am" To: winter@jurai.net (Matthew N. Dodd) Date: Thu, 3 Dec 1998 17:55:56 +1100 (EST) Cc: jb@cimlogic.com.au, bright@hotjobs.com, cnielsen@pobox.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew N. Dodd wrote: > On Thu, 3 Dec 1998, John Birrell wrote: > > This is probably the result of the different structure sizes expected > > by some NetBSD syscalls (like stat). > > Compiled with __NETBSD_SYSCALLS? Yes, if the syscalls changed after the alpha code was snapshotted. The problem with keeping NETBSD_SYSCALLS around is that NetBSD provides backward compatibility for their stuff by fudging the defines in the headers. When we compile the NETBSD_SYSCALLS into FreeBSD's libc, we can only handle one translation and that has to match the particular kernel you've chosen. > I'm fairly sure I'm seeing a problem with my fabbed up include/machine/* > which was more or less copied direct from NetBSD/sparc and banged into > compiling stuff. (first pass shotgun debugging if you will.) OK, I'll take your word for it. 8-) -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message