Operating System - HP-UX
1833780 Members
2448 Online
110063 Solutions
New Discussion

backward compatibility from11.11 to 11.00

 
Satya_6
Frequent Advisor

backward compatibility from11.11 to 11.00

Hi,

Actually I am posting this question with a different subject.

Is there any known issue regarding the backward compatibility from 11.11 to 11.00?

I have a X application compiled on 11.11. This application has lot of problems (frequent freeze / crash) when run on a HP-UX 11.00 (at client's place).

I have asked the client to update the m/c with the PHSS_32958 11.00 Xserver patch as suggested by Kent Ostby, meanwhile I just wanted to know if there is any issue with compatibility from 11.11 to 11.00?

9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: backward compatibility from11.11 to 11.00

Usually backward compatibility works in the other direction: an application built on 11.0 will run on 11.11. It is rare for an application built on 11.11 to run on 11.0.


Pete

Pete
Peter Godron
Honored Contributor

Re: backward compatibility from11.11 to 11.00

Satya,
there is always a risk when running software backwardly compatible.
The best solution is to compile on the OS level platform you intend to run the code on.
I never had any problems with this approach.
Carlos Roberto Schimidt
Regular Advisor

Re: backward compatibility from11.11 to 11.00

Hi,

See about if your kernel is 32 or 64 bits:

# getconf KERNEL_BITS
64

If you have a program compile for 64 bits in 11.11 and your 11.00 is 32 bits may have problems:

# file $ORACLE_HOME/bin/tnsping
/oracle/ZMR/920_64/bin/tnsping: ELF-64 executable object file - IA64

For binary compatibility between differents processors compile program acording the old platform.

Schimidt
Arunvijai_4
Honored Contributor

Re: backward compatibility from11.11 to 11.00

Hi Satya,

If you compile your application natively with 11.0 and run on 11.11, there wont be any issues. This is known as "backward compatability". When you compile your app in 11.11 and try to run in 11.0, it is known "forward compatability" in which you can't expect 100% result or what so ever.

It is always prefered to compile your app natively, and run.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
A. Clay Stephenson
Acclaimed Contributor

Re: backward compatibility from11.11 to 11.00

Code compiled on 11.11 that happens to execute on 11.0 runs by accident; code that is compiled on 11.0 that happens to execute on 11.11 runs by design.



If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: backward compatibility from11.11 to 11.00

I've actually seen both circumstances.

I've seen code, written and designed for 11.11 work just fine on 11.00. I agree without testing, it must be by accident.

I have seen some rare instances where code that worked perfectly well on 11.00 didn't run on 11.11.

It must have had something to do with the code or the things that changed.

Still most of the time 11.00 code works well on 11.11 so long as 32/64 bit issues don't come into play.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: backward compatibility from11.11 to 11.00

Bottom line, if you want to run on OS rev N, compile on OS rev <= N, not OS rev > N.
there is no rest for the wicked yet the virtuous have no pillows
Satya_6
Frequent Advisor

Re: backward compatibility from11.11 to 11.00

Thank you very much guys. I guess I have got a good idea about this issue thanks to you guys

satya
Arunvijai_4
Honored Contributor

Re: backward compatibility from11.11 to 11.00

Satya,

You can assign points to the people who answered to your question.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"