Subject: Re: "exec /sbin/init: error 8" at boot
To: None <jkunz@unixag-kl.fh-kl.de>
From: Johan A.van Zanten <johan@giantfoo.org>
List: port-sparc64
Date: 10/15/2005 14:22:26
Jochen Kunz <jkunz@unixag-kl.fh-kl.de> wrote:
> On Fri, 14 Oct 2005 15:39:21 -0500 (CDT)
> "Johan A.van Zanten" <johan@giantfoo.org> wrote:
> 
> > Must be a problem in my build environment.
> Maybe you missed:
> makeoptions     LP64="yes"      # enable 64-bit logic in kernel Makefile

Thank you!

 I'd discovered the LP64 variable in
/usr/src/sys/arch/sparc64/conf/Makefile.sparc64 and set it to yes.  So my
kernel builds are now building a 64-bit kernel.

> options         EXEC_ELF64      # 64-bit NetBSD and SunOS 5 bins

 ... I think this will take care of another problem (unrecognized symbols
in svr4_exec.o) i ran into when compiling with this option enabled:

COMPAT_SVR4     # SunOS 5.x binary compatibility

... which i think must require them.

> See src/sys/arch/sparc64/conf/std.sparc64-64

 Danke schoen! (Sorry, i'm unfamiliar with how to get an umlaut into a US
 emacs buffer with Mew via an OS X11 session...)

 -johan