Operating System - HP-UX
1834564 Members
4092 Online
110069 Solutions
New Discussion

Re: running PA-RISC2.0 shared executable on a 9000/859/K220

 
Al DeSimone_3
Occasional Contributor

running PA-RISC2.0 shared executable on a 9000/859/K220

I am trying to execute a binary whose file type is PA-RISC2.0 shared executable dynamically linked. If I try to execute the file on a K200, I get an "Execute permission denied", but if I try to run it on a 9000/800/K360, it works just fine. I originally thought the issue was because the binary was created for a 64bit version of the kernel, but cleary I am wrong because both the K220 and K360 are both running HP-UX 11.11 32bit build. Any ideas?

Thanks
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: running PA-RISC2.0 shared executable on a 9000/859/K220

Hi,

Correct your K200 has a PA-RISC 1.1 and your K360 has a PA-RISC 2.0 processor.

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: running PA-RISC2.0 shared executable on a 9000/859/K220

On both systems, getconf KERNEL_BITS

Are they the same??
There is no substitute to HARDWORK
A. Clay Stephenson
Acclaimed Contributor

Re: running PA-RISC2.0 shared executable on a 9000/859/K220

The problem is that a Kx20 runs a PA7200 and a Kx60 runs a PA8000. The PA7200 uses the PA-RISC1.1 instruction set which is a subset of the PA-RISC 2.0 instruction set. You need to compile as +DAportable so that you code will execute on both.
If it ain't broke, I can fix that.