Hi,

>>>>> On Mon, 20 Jan 2003 20:48:56 -0500 (EST)
>>>>> Andrew Gallatin <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]  [EMAIL PROTECTED]  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to