Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 1995 14:02:53 +0800 (WST)
From:      Peter Wemm <peter@jhome.DIALix.COM>
To:        current@freebsd.org
Subject:   Warning: You need to recompile some stuff after this -current!!
Message-ID:  <Pine.BSF.3.91.951209135219.2156B-100000@jhome.DIALix.COM>

next in thread | raw e-mail | index | archive | help
I've just made some changes to the kernel exec() system to support 
BSD/OS2.0 binaries.

This has moved the location of the ps_strings structure (normally right 
near the very top of the user process stack) and changed the definition 
of the entries a little.

The end result, is that you need to recompile "src/lib/libkvm" after 
updating the kernel source, and recompile or relink "src/bin/ps" (it 
includes a static copy of the old libkvm library).

The 'w' and 'top' commands should not be affected, as they will pick up 
the new libkvm once it's installed.

It is also *very* important that you remember to recompile the linux and 
ibcs2 LKM's if you are using them.  You may get unfortunate results if 
you forget.

Also, if you are running the sendmail-8.7 that was recently imported to 
-current, you will want to recompile that too, as it directly manipulates 
the ps_strings structure to change it's argument lists on the 'ps' 
output.

With a bit of luck, we should now be able to run BSD/OS2.0 binaries.  
Static binaries should work fine.  Their dynamically linked binaries 
would require you to aquire the /usr/lib/shlib.map and /usr/lib/lib*_s 
files from your licensed BSD/OS box, of course..  I've not tested shared 
library binaries, but there is no obvious reason why they would not work 
that I'm aware of.

-Peter




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951209135219.2156B-100000>