* Re: 4.0 binaries run on 3.2d?
1996-09-24 4:00 ` Joe Mario
@ 1996-09-25 4:00 ` Dave Butenhof
0 siblings, 0 replies; 3+ messages in thread
From: Dave Butenhof @ 1996-09-25 4:00 UTC (permalink / raw)
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 ]----------------/
^ permalink raw reply [flat|nested] 3+ messages in thread