Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build error macpp with COMPAT_LINUX defined



No takers?

I had a brief look at linux_sys_rt_sigreturn(), but it's not clear to me whether I should pass the input parameter (struct lwp *l) or curlwp to fpu_discard().
I guess curlwp. What's "l" for, anyway?

regards,
chris



On 04/26/17 18:18, Christian Groessler wrote:
Hi,

-current from today, I'm getting


--- kern-TWINPPC.MP ---
/data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c: In function 'linux_sys_rt_sigreturn': /data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c:324:2: error: too few arguments to function 'fpu_discard'
  fpu_discard();
  ^
In file included from ./machine/fpu.h:3:0,
from /data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c:69:
./powerpc/fpu.h:107:1: note: declared here
 fpu_discard(lwp_t *l)
 ^
/data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c: In function 'linux_sys_sigreturn': /data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c:418:2: error: too few arguments to function 'fpu_discard'
  fpu_discard();
  ^
In file included from ./machine/fpu.h:3:0,
from /data/home/chris/tmp/netbsd/src/sys/compat/linux/arch/powerpc/linux_machdep.c:69:
./powerpc/fpu.h:107:1: note: declared here
 fpu_discard(lwp_t *l)
 ^


regards,
chris




Home | Main Index | Thread Index | Old Index