Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: Trouble with forward compatibility
Date: 1998/02/23	[thread overview]
Message-ID: <34F136C5.5708212D@brighttiger.com> (raw)
In-Reply-To: 34E9FFF4.11791BDF@iisc.com




Charles M Richmond wrote:

> Jesper Eskilson wrote:
> >
> > Jeff Denham wrote:
> >
> > > What you're doing isn't supported. Sometimes it works, though, and sometimes it
> > > doesn't. If you want to run code on both 3.2X and 4.0, you *must* build on 3.2X.
> > > "Upward" binary compatibility (earlier version to later version) is strongly
> > > supported; "backward" (later to earlier) isn't.
> > >
> > > To support backward compat would seriously inhibit the enhancement of the OS.
> > > Lord knows, supporting upward compatitibity makes it hard enough sometimes!
> >
> > Yes, I get your point, forward compatibility is nothing on which you can
> > count on. However, it would be very helpful if I could get this particular
> > instance to work. Is 4.0 such a major revision compared to 3.2 that any
> > attempts to use 4.0 binaries on a 3.2-machine is doomed to fail? I have
> > customers out there which aren't too happy with a "please upgrade your system"-
> > answer to their bug-reports.
> >
>
> The answer is relatively easy. If you want to compile on 4.0 and to
> have your binaries run on 3.2 then you must compile statically linked
> binaries. Try using the "-non_shared" option to ld.
>
> Charlie
>
> --
> ***********************************************************************
> *  Charles Richmond    Integrated International Systems Corporation   *
> *  cmr@iisc.com        cmr@koibito.iisc.com  cmr@shore.net            *
> *  UNIX Internals, I18N, L10N, X, Realtime Imaging, and  Custom S/W   *
> *  One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431      *
> *  (617) 723 7695    (617) 367 3151        FAX (617) 723 6861         *
> ***********************************************************************

If you're lucky, that will work. But all it takes is a new syscall used by
something you're using in libc.a, and you're out of luck. In this case,
the original poster has already tried the static on v4.0 trick, and it didn't
work.  From a support standpoint, it's no different that trying to run 4.0
call-shared images on 3.2. You want to run on 3.2, you need to build
with 3.2 tools and libraries. Doesn't mean you have to be running
the 3.2 OS. It just means you need to use the 3.2 tools and libraries, including
crt0.o.

__________________________________________________
Jeff Denham (jdenham@brighttiger.com)

Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com

125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax:   (978) 263-5547





  reply	other threads:[~1998-02-23  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-12  5:00 Trouble with forward compatibility Jesper Eskilson
1998-02-13  5:00 ` Jeff Denham
1998-02-16  5:00   ` Jesper Eskilson
1998-02-16  5:00     ` Gerald A. Feldman
1998-02-17  5:00     ` Charles M Richmond
1998-02-23  5:00       ` Jeff Denham [this message]
1998-02-24  5:00         ` John Kohl
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