Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 17:32:48 +0900
From:      Hajimu UMEMOTO <ume@mahoroba.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Hajimu UMEMOTO <ume@mahoroba.org>, David Malone <dwmalone@maths.tcd.ie>, current@FreeBSD.org, emulation@FreeBSD.org
Subject:   Re: [CFR] IPv6 support for Linux sym
Message-ID:  <ygey95ej427.wl%ume@mahoroba.org>
In-Reply-To: <15916.42760.152912.977008@grasshopper.cs.duke.edu>
References:  <ygelm1hm96h.wl%ume@mahoroba.org> <20030119195957.GA54865@walton.maths.tcd.ie> <ygebs2cp4b2.wl%ume@mahoroba.org> <15916.42760.152912.977008@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 20 Jan 2003 20:48:56 -0500 (EST)
>>>>> Andrew Gallatin <gallatin@cs.duke.edu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygey95ej427.wl%ume>