* Binary compatibility between OS revisions
@ 1996-09-25 4:00 James Bonfield
1996-10-03 4:00 ` Craig Neth
0 siblings, 1 reply; 4+ messages in thread
From: James Bonfield @ 1996-09-25 4:00 UTC (permalink / raw)
In order to ship our software to people we need to compile the binaries on a
number of different platforms. In the past Digital Unix has been the best of
the bunch, with lowly Solaris causing the most headaches.
As we only have one system of each type, and don't really wish to dual boot
unless we really have to, we want to distribute a single version of a DU
binary, a single version of a Solaris binary, etc.
So, the big question is, what's the official stance of which binaries are
compatible with which OS releases? How does dynamic (probably best) versus
static linking change this?
Some specific examples are: we currently compile under OSF/1 V3.0. We really
ought to upgrade to 3.2C at the least, if not 4.0. However can 4.0 binaries be
ran under 3.0 and 3.2? Can 3.0 binaries be run under 4.0? (Past record show
this to be likely - I'm even still running OSF/1 BL9 and ultrix converted
binaries now.)
Any information most welcome,
Cheers,
James
--
James Bonfield (jkb@mrc-lmb.cam.ac.uk) Tel: 01223 402499 Fax: 01223 412282
Medical Research Council - Laboratory of Molecular Biology,
Hills Road, Cambridge, CB2 2QH, England.
Also see Staden Package WWW site at http://www.mrc-lmb.cam.ac.uk/pubseq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Binary compatibility between OS revisions
1996-09-25 4:00 Binary compatibility between OS revisions James Bonfield
@ 1996-10-03 4:00 ` Craig Neth
1996-10-11 4:00 ` Mark C Favas - SysAd
0 siblings, 1 reply; 4+ messages in thread
From: Craig Neth @ 1996-10-03 4:00 UTC (permalink / raw)
To: James Bonfield
James Bonfield wrote:
>
\b> So, the big question is, what's the official stance of which binaries
are
> compatible with which OS releases? How does dynamic (probably best) versus
> static linking change this?
The 'official stance' is that we guarantee upwards compatibility of user
mode
applications. I.E. if you built it on an older OS release, it should
run on
*any* newer OS release. If it doesn't, it's a bug and we will fix it.
> Some specific examples are: we currently compile under OSF/1 V3.0. We really
> ought to upgrade to 3.2C at the least, if not 4.0. However can 4.0 binaries be
> ran under 3.0 and 3.2?
Officially, you can't move things backwards. Sometimes it works if you
link -non_shared, but it isn't guaranteed to, and there are definitely
cases
where it doesn't work. (For example, in V4.0, the pathconf() function
changed
from a library routine to a syscall. Old kernels don't have that
syscall,
so programs that use pathconf() and compiled on V4.0 won't work on
V3.x).
>Can 3.0 binaries be run under 4.0? (Past record show
> this to be likely - I'm even still running OSF/1 BL9 and ultrix converted
> binaries now.)
See above.
--
--------------------------------------------------------------------------------
Craig Neth ! neth@zk3.dec.com
Digital Equipment Corporation !
110 Spit Brook Road ZKO3-3/Y25 !
Nashua, NH 03062 ! Opinions expressed herein are my
own.
================================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Binary compatibility between OS revisions
1996-10-03 4:00 ` Craig Neth
@ 1996-10-11 4:00 ` Mark C Favas - SysAd
1996-10-11 4:00 ` Mike Iglesias
0 siblings, 1 reply; 4+ messages in thread
From: Mark C Favas - SysAd @ 1996-10-11 4:00 UTC (permalink / raw)
Craig Neth <neth@zk3.dec.com> writes:
>The 'official stance' is that we guarantee upwards compatibility of user
>mode
>applications. I.E. if you built it on an older OS release, it should
>run on
>*any* newer OS release. If it doesn't, it's a bug and we will fix it.
>
>--------------------------------------------------------------------------------
>Craig Neth ! neth@zk3.dec.com
>Digital Equipment Corporation !
>110 Spit Brook Road ZKO3-3/Y25 !
>Nashua, NH 03062 ! Opinions expressed herein are my
>own.
>================================================================================
One case of NON-upwards compatability I've come across involves Netscape
Navigator Gold, Version 3.0 (Version 3.0-96241, to be specific, but the
problem occurs with all Version 3's I've tried, including the betas). Netscape
runs fine on a Digital Unix V4.0 (Rev 386) system except when it comes to run
Java applets, where it silently fails (no core dump either). Bringing up the
Java console window brings up the basic window, but without horizontal or
vertical scrollbars, or any text or buttons. The same binary runs properly on
a DU 3.2 system, either displaying there or displaying on the 4.0 system.
--
Email - mark@chem.uwa.edu.au ,-_|\ Mark C Favas
Phone - +61 9 380 3482 / \ Department of Chemistry
Fax - +61 9 380 1005 ---> *_,-._/ The University of Western Australia
v Nedlands
Loc - 31.97 S, 115.81 E Western Australia 6009
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Binary compatibility between OS revisions
1996-10-11 4:00 ` Mark C Favas - SysAd
@ 1996-10-11 4:00 ` Mike Iglesias
0 siblings, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1996-10-11 4:00 UTC (permalink / raw)
In article <mark.845006846@declan>,
Mark C Favas - SysAd <mark@chem.uwa.edu.au> wrote:
>One case of NON-upwards compatability I've come across involves Netscape
>Navigator Gold, Version 3.0 (Version 3.0-96241, to be specific, but the
>problem occurs with all Version 3's I've tried, including the betas). Netscape
>runs fine on a Digital Unix V4.0 (Rev 386) system except when it comes to run
>Java applets, where it silently fails (no core dump either). Bringing up the
>Java console window brings up the basic window, but without horizontal or
>vertical scrollbars, or any text or buttons. The same binary runs properly on
>a DU 3.2 system, either displaying there or displaying on the 4.0 system.
This happens because Netscape is trying to do something behind the
back of the X code, and that code changed when DU 4.0 went to X11R6.
The note below details what the "problem" is and how to get around it.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
================================================================================
We've discovered that the Java problem is the result of Navigator's
reliance on some internal implementation details of the X Toolkit
library (libXt) that changed between X11R5 and X11R6.
X11R5, which is included with Digital Unix v3.2C, provided a libXt
that utilizes the C-RTL routine select() for handling IO between
the client and the X server. Navigator depends upon being able
to intercept this call so that it can switch between the various
threads it maintains.
With X11R6, which is included with Digital Unix v4.0, vendors can
optionally compile libXt to use the C-RTL call poll() instead of
select() for client/server IO. The default for Digital Unix
and all other operating systems that support the poll() call
is to build libXt with this option turned on, since using
poll() instead of select() can enhance performance significantly.
Unfortunately, Netscape has not yet modified Navigator to work
properly with a libXt that uses poll() instead of select(),
with the result that secondary threads (like those used to run
Java applets and the Java console) never execute.
We are currently working with Netscape to get them to fix this
bug, which will affect most other Unix vendors as well when
they move to X11R6 and ship a libXt built in the recommended
way. Meanwhile, the workaround mentioned can be used.
==============================================================================i
Solution
--------
1) As root, create directories
/usr/3.2D and then /usr/3.2D/shlib
2) Copy Digital 3.2D UNIX files
/usr/shlib/libX11.so
/usr/shlib/libXext.so
/usr/shlib/libXm.so
/usr/shlib/libXmu.so
/usr/shlib/libXt.so
into /usr/3,2D/shlib
DO NOT replace the 4.0 libraries with these!
Change group and ownership to bin
ie. chown bin:bin *.*
3) Exit as root and set the environmental variable
LD_LIBRARY_PATH to point to these new shared
libraries
ie. LD_LIBRARY_PATH=/usr/3.2d/shlib
Netscape can now load secondary threads to run
java applets etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-10-11 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-25 4:00 Binary compatibility between OS revisions James Bonfield
1996-10-03 4:00 ` Craig Neth
1996-10-11 4:00 ` Mark C Favas - SysAd
1996-10-11 4:00 ` Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox