- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Problems with BUS_ADRALN - Invalid address alignme...
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
Discussions
Discussions
Forums
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
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-20-2006 11:11 PM - last edited on тАО03-29-2013 12:02 AM by Cathy_xu
тАО09-20-2006 11:11 PM - last edited on тАО03-29-2013 12:02 AM by Cathy_xu
Problems with BUS_ADRALN - Invalid address alignment on Itanium
With Itanium and HP-UX 11.23 I cant execute a programm compiled with
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
Options:
+DD32 -Ae -Wl,+s -z -g
I always get:
BUS_ADRALN - Invalid address alignment
ret_value->lfd_wert.string= &string_tab[eintrag_ptr->eintrags_wert.index_string];
On 7 other plattform this program and code is running for years without problems and changing, including PA-Risc HPUX 11.11B and HPUX 10.20. I don't understand why it doesn't run.
Any ideas?
Moved from HP-UX Technical Documentation to HP-UX > languages
- Tags:
- unaligned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 11:42 PM
тАО09-20-2006 11:42 PM
Re: Problems with BUS_ADRALN - Invalid address alignment on Itanium
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 12:33 AM
тАО09-21-2006 12:33 AM
Re: Problems with BUS_ADRALN - Invalid address alignment on Itanium
unsigned char *string_tab;
index_string is a long value:
typedef long Index;
Index index_string;
I don't unterstand that this code is running for years without changing on different plattforms, even on Sun Solaris, which compiler is very ambitious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 04:06 AM
тАО09-21-2006 04:06 AM
Re: Problems with BUS_ADRALN - Invalid address alignment on Itanium
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:21 PM
тАО09-21-2006 02:21 PM
Re: Problems with BUS_ADRALN - Invalid address alignment on Itanium
disas $pc-16*8 $pc+16
info reg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 03:44 AM
тАО09-22-2006 03:44 AM
Re: Problems with BUS_ADRALN - Invalid address alignment on Itanium
old:
struct Eintrag {
unsigned char eintrags_art;
union Eintrags_wert {
unsigned short eintrags_laenge;
new:
struct Eintrag {
unsigned char eintrags_art;
union Eintrags_wert {
long eintrags_laenge;
the same trouble we had with old Sinix Unix a long time before.
But thx for your suggestions and help.