Robert Swindells | 16 Feb 2012 15:05
Picon

Linux emulation


I get a build failure if COMPAT_LINUX is specified without the following
patch.

I guess it should probably be pulled up to netbsd-6.

Robert Swindells

Index: linux_exec_powerpc.c
===================================================================
RCS file: /cvsroot/src/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c,v
retrieving revision 1.23
diff -u -r1.23 linux_exec_powerpc.c
--- linux_exec_powerpc.c        3 Feb 2012 20:11:53 -0000       1.23
+++ linux_exec_powerpc.c        16 Feb 2012 14:09:13 -0000
 <at>  <at>  -62,12 +62,9  <at>  <at> 
  * Alpha and PowerPC specific linux copyargs function.
  */
 int
-ELFNAME2(linux,copyargs)(l, pack, arginfo, stackp, argp)
-       struct lwp *l;
-       struct exec_package *pack;
-       struct ps_strings *arginfo;
-       char **stackp;
-       void *argp;
+ELFNAME2(linux,copyargs)(struct lwp *l, struct exec_package *pack,
+                        struct ps_strings *arginfo, char **stackp,
+                        void *argp)
 {
        size_t len;
(Continue reading)

Frank Wille | 16 Feb 2012 16:42
Picon

Re: Linux emulation

On Thu, 16 Feb 2012 14:05:25 +0000 (GMT)
Robert Swindells <rjs <at> fdy2.co.uk> wrote:

> I get a build failure if COMPAT_LINUX is specified without the
> following patch.
> 
> I guess it should probably be pulled up to netbsd-6.

Yes, please do.

--

-- 
Frank Wille


Gmane