- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mixing PA-RISC s800 shared libraries
Operating System - HP-UX
1754926
Members
3004
Online
108827
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:33 AM
09-25-2003 03:33 AM
i have a PA-RISC1.1 executable that uses a bunch of shared libraries. Provided all the shared libraries are built for the same architecture (either s800 or PA-RISC1.1) the excutable works. If the shared libraries are a mixture of s800 & PA-RISC1.1 dld.sl fails (complains the s800 library has an invalid version identifier and can't be execed).
0) Is it allowable to mix such shared libraries?
1) How do i build s800 shared libraries? i haven't found anything in the aCC & lib man pages & HTML docs that help.
2) The "+DAarchitecture" flag allows me to specify the PA-RISC architecture. Is s800 just another moniker for some PA-RISC architecture?
The details are:
- Using aCC (v B3910B A.03.15).
- C flags are: -z +DAportable and a few others related to optimisation, include paths, etc.
- Built on a HP-UX 11 machine (B.11.0 U9000/800).
Thanks
0) Is it allowable to mix such shared libraries?
1) How do i build s800 shared libraries? i haven't found anything in the aCC & lib man pages & HTML docs that help.
2) The "+DAarchitecture" flag allows me to specify the PA-RISC architecture. Is s800 just another moniker for some PA-RISC architecture?
The details are:
- Using aCC (v B3910B A.03.15).
- C flags are: -z +DAportable and a few others related to optimisation, include paths, etc.
- Built on a HP-UX 11 machine (B.11.0 U9000/800).
Thanks
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 10:03 AM
09-25-2003 10:03 AM
Solution
Basically, you are going to have to choose if you want to zig or zag --- you can't do both.
The s700 refers to worksstations and s800 refers to servers; prior to 11.x there were significant differences in the OS but now the two have been merged. The problem is that there are 32-bit versions of PA-RISC chips (anything below PA-8XXX) and 64-bit. The 64-bit chips will run either but the 32-bit PA-7XXX will only run 32-bit code.
The other problem is that you can instruct the compiler to produce 32-bit code (which will run on PA-7XXX chips) BUT to use the PA-2.0 instruction set --- which has a few extra instructions.
You also have a choice in the +DD compiler flag which sets the size of the int, long, and pointer variables.
The point is that every module must use the same options in order to link sucessfully and your most portable choice is +DAportable. It sacrifices a bit of performance for portability.
The s700 refers to worksstations and s800 refers to servers; prior to 11.x there were significant differences in the OS but now the two have been merged. The problem is that there are 32-bit versions of PA-RISC chips (anything below PA-8XXX) and 64-bit. The 64-bit chips will run either but the 32-bit PA-7XXX will only run 32-bit code.
The other problem is that you can instruct the compiler to produce 32-bit code (which will run on PA-7XXX chips) BUT to use the PA-2.0 instruction set --- which has a few extra instructions.
You also have a choice in the +DD compiler flag which sets the size of the int, long, and pointer variables.
The point is that every module must use the same options in order to link sucessfully and your most portable choice is +DAportable. It sacrifices a bit of performance for portability.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP