Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: 4.0 binaries run on 3.2d?
Date: 1996/09/25	[thread overview]
Message-ID: <32491F8A.6231@zko.dec.com> (raw)
In-Reply-To: 3247E94E.41C6@zk3.dec.com


Joe Mario wrote:
> 
> Curt Smith wrote:
> >
> > Is there any experiences with backward compatibility of
> > executables linked on DUX 4.0 running or NOT running on 3.2d-2?
> 
> Although backward compatibility isn't guaranteed, we have run some
> V4.0 images on V4.2x with success.  If you're going to try it,
> at least make sure your V4.0 images are linked non_shared to improve
> the chances of it working.

The validity of Joe's advice depends very much upon what libraries you
use. While it may be true that some casual users of libc will have a
"better chance" of bridging the unsupported gap from 4.0 BACK to 3.2x by
building static, the situation for other libraries is substantially
different.

For example, it might conceivably be possible that an application using
threads, built on 4.0 using the "legacy" (cma or DCE threads) interfaces
using the shared libraries MIGHT run on an earlier version (though
certainly not guaranteed, tested, or in any remote sense supportable).
But I can absolutely guarantee that a threaded application built
non-shared on 4.0 would have NO CHANCE (zero, zip, nada) of running on
earlier versions. (Even hypothesizing that this were possible, which
it's not since 4.0 doesn't include a static threads library.) The kernel
interfaces used by the threads code on 4.0 are radically different from
those on 3.2x, and all new.

This is likely also true of any code using librt (realtime), and
probably some of libc as well -- a lot of new kernel capabilities were
added for 4.0, and a lot of existing interfaces were changed to support
POSIX 1003.1b, 1003.1c, and UNIX95 (spec1170).

/---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\
| Digital Equipment Corporation           110 Spit Brook Rd ZKO2-3/Q18 |
| 603.881.2218, FAX 603.881.0120                  Nashua NH 03062-2698 |
\-----------------[ Better Living Through Concurrency ]----------------/



      reply	other threads:[~1996-09-25  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-17  4:00 4.0 binaries run on 3.2d? Curt Smith
1996-09-24  4:00 ` Joe Mario
1996-09-25  4:00   ` Dave Butenhof [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox