Subject: Re: port-m68k/37631: m68k libc broken
To: None <,,>
From: Martin Husemann <>
List: netbsd-bugs
Date: 12/28/2007 16:50:02
The following reply was made to PR port-m68k/37631; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: port-m68k/37631: m68k libc broken
Date: Fri, 28 Dec 2007 17:45:51 +0100

 On Fri, Dec 28, 2007 at 03:50:01PM +0000, ITOH Yasufumi wrote:
 >  This should be in libc to avoid adding clock cycles to unrelated
 >  system calls.
 >  See shmat(2) stub.
 I agree, but that is not how it is done right now - and that it didn't
 work for me was just a side effect of me not having COMPAT_AOUT_M68K
 What my change does is just remove the (bogus) dependency on that option.
 All GENERIC kernels already duplicate rval[0] to a0.
 So how about this: I commit the patch (with syscall_fancy added) for now
 and then start collecting a table of missing stubs in the m68k libc.
 Once we have added all missing stubs, we'll make the a0 copy #ifdef COMPAT_50?