From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d8cc83c6488ddf7f X-Google-Attributes: gidfee84,public From: Dave Butenhof Subject: Re: 4.0 binaries run on 3.2d? Date: 1996/09/25 Message-ID: <32491F8A.6231@zko.dec.com>#1/1 X-Deja-AN: 185254976 references: <51mc0i$2q9@metro.atlanta.com> <3247E94E.41C6@zk3.dec.com> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0Gold (X11; I; OSF1 V4.0 alpha) 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 ]----------------/