Subject: Re: CVS commit: syssrc/sys/arch/mac68k/conf
To: Frederick Bruckman <fredb@immanent.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 02/05/2002 18:43:32
On Tue, Feb 05, 2002 at 07:44:43PM -0600, Frederick Bruckman wrote:

 > > do ELF executables not work on mac68k a.out kernels?  if they do, then
 > > leaving this option in for now is worth while.
 > 
 > Apparently not. Something about alignment being different.

Actually, most executables will work fine.  Only some programs (most
notably, ones that use things that are translated by the m68k_aout
compat module) will fail.

 > >    - - Comment out `options COMPAT_SUNOS'. This hasn't been reported to work
 > >        for a long time, so it's not very useful in GENERIC.
 > >
 > > do you mean it has been reported to not work, or there have been no
 > > reports of it being broken?  the latter would suggest removing it is
 > > a bad idea and the former would suggest it needs fixing..
 > 
 > It was broken the last time I tried it, with netscape 3 and some Sun
 > OS libraries someone put up for download. It may work for somebody. I
 > just don't think anyone's actually using it. A more useful default
 > might to enable COMPAT_SVR4 and COMPAT_LINUX. I did get a so-called
 > linux executable, which "file" said was SVR4, to run under ELF.  (The
 > kernel doesn't even build with those options under a.out -- there's an
 > open PR.)

Uh, since when did Netscape publish a binary for SunOS-m68k?!

COMPAT_SUNOS for m68k is for SunOS-m68k binaries (that ran on the Sun3),
not for SPARC binaries.

It is VERY unlikely that COMPAT_SUNOS is broken; the code hasn't changed
for years.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>