Subject: Re: port-i386/5517: IBCS2 compatibility now requires EXEC_ELF32
To: None <jarle@runit.sintef.no>
From: Todd Vierling <tv@NetBSD.ORG>
List: netbsd-bugs
Date: 05/31/1998 18:23:24
On Sun, 31 May 1998 jarle@runit.sintef.no wrote:

: It now seems that any kernel configured with the COMPAT_IBCS2 option must
: also include the EXEC_ELF32 option.  Since the IBCS2 exec file format, as
: far as I know, is COFF, requiring the extra option is slightly
: non-inituitive.

SCO OpenServer 5 binaries are ELF.  That was the reason for the addition.
However, the correct solution to the problem is:

- the ELF specific code and prototypes should be delimited by #if EXEC_ELF32,
- the option should be documented as required for OpenServer bins.

Requiring it for all iBCS2 is not correct (for whomever will fix it).  I
would, if my i386 -current machine weren't out of commission at present.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)