- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- C pointer problem on IA64 but not on pa-risc
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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-23-2005 03:33 PM
09-23-2005 03:33 PM
We're moving an app from a D370 PA-Risc machine running HP-UX 10.20 to an ia64 machine with HP-UX 11iv2. I know the answer to my problem is documented somewhere - I can't find it.
The attached sample program runs fine on the d370 machine. Moving the executable onto the ia64 runs fine. However, when recompiled on the ia64 box, I get a memory dump at the point indicated in the source.
I'm sure it must have something to do with 64bit vs. 32bit, but can't find it. Any help would be greatly appreciated!
(The attached code is actually a striped-down version of a larger program.)
Thanks!
mike
Solved! Go to Solution.
- Tags:
- +DD64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2005 01:14 AM
09-24-2005 01:14 AM
Re: C pointer problem on IA64 but not on pa-risc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2005 05:16 AM
09-24-2005 05:16 AM
Re: C pointer problem on IA64 but not on pa-risc
- Tags:
- malloc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 04:48 AM
09-26-2005 04:48 AM
Re: C pointer problem on IA64 but not on pa-risc
If you are migrating to 64-bit, there are some migration compilation options in the compiler you may want to enable. IIRC it is the +M option, but best double check the cc manpage on that one.
However, unless you are explicitly stating +DD64, the default compilation mode for IA64 remains 64-bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 05:35 AM
09-26-2005 05:35 AM
SolutionIf you had even bothered to run your 10.20 code through lint, it would have told you that a potential problem exists.
- Tags:
- lint