From owner-freebsd-emulation Tue Jan 21 0:33:14 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E5E837B401; Tue, 21 Jan 2003 00:33:13 -0800 (PST) Received: from cheer.mahoroba.org (flets19-241.kamome.or.jp [218.45.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16ED243F1E; Tue, 21 Jan 2003 00:33:06 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from mille.mahoroba.org (IDENT:Q3jSvopwcBc1CaQdiBpvI29BbVfKbM8esRU0fX0wQMuelaBUPEIRAV5/rB/cXKYK@mille.mahoroba.org [IPv6:2001:200:301:0:202:2dff:fe0a:6bee]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h0L8WmRv017245 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 21 Jan 2003 17:32:48 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 21 Jan 2003 17:32:48 +0900 Message-ID: From: Hajimu UMEMOTO To: Andrew Gallatin Cc: Hajimu UMEMOTO , David Malone , current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym In-Reply-To: <15916.42760.152912.977008@grasshopper.cs.duke.edu> References: <20030119195957.GA54865@walton.maths.tcd.ie> <15916.42760.152912.977008@grasshopper.cs.duke.edu> User-Agent: xcite1.38> Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.7-STABLE MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.3 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT version=2.43 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, >>>>> On Mon, 20 Jan 2003 20:48:56 -0500 (EST) >>>>> Andrew Gallatin said: gallatin> The ifdefs are there because the linux hack^W OS uses a different gallatin> syscall table on each platform, with a different ABI (eg, the same gallatin> syscall may take 3 args on x86 and 2 on alpha). They basically never gallatin> cleaned up after bootstrapping themselves from OSF/1. gallatin> The #ifndef alpha code is not compiled because it will never be gallatin> referred to on the alpha.. The osf1 compat code is a much better gallatin> match for the linux networking syscalls, so that's what's used. On gallatin> alpha, the linux compat module depends on the osf1 compat module.. Umm, I see. Thank you for clarification. gallatin> Naively, I'm uncertain why you're having compilation problems on gallatin> alpha, since the code is just ifdef'ed out there anyway ;) My previous patch had two problems on alpha: - sys/alpha/linux/linux.h did not define LINUX_AF_INET6. - linux_connect() called linux_sa_get(). linux_sa_get() calls linux_to_bsd_domain(). But, linux_to_bsd_domain() was not compiled in on alpha. I believe that these problems were gone in my current patch. Maybe, you saw new one. :) Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message