- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unaligned data access SUPPORT on Integrity
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
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
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
04-05-2010 08:04 AM
04-05-2010 08:04 AM
Unaligned data access SUPPORT in Itanium
I am porting a HP PARISC code that uses allow_unaligned_data_access();" to Itanium (see attached code) . The code works well on Itanium when linked with libunwind(on PARSIC it used libhppa) . However I have a few clarification
Obviously , If I comment out the line "allow_unaligned_data_access();" , I get a bus error . However when I use the it works fine.
In HPPARISC , I have the variable "extern int unaligned_access_count" that keeps the count of such calls ( use libhppa ) , is there somethign similar for Itanium (using libunalign)as well.
Also when i build the program using the command "/opt/aCC/bin/aCC -Ae +e +Z +Olit=none -Wc,-func_descriptors,pseudo -o test unalignedaccess.c -lunalign" , I see the following unsatisified symbol errors , why is it so ??
/users/yadvecha> /opt/aCC/bin/aCC -Ae +e +Z +Olit=none -Wc,-func_descriptors,pseudo -o test unalignedaccess.c -lunalign
ld: (Warning) Unsatisfied symbol "__uc_get_rsebs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_cfm" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_frs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_set_rsebs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_grs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_set_frs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_set_grs" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_um" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_ar" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_cr" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_set_um" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_get_ip" in file /usr/lib/hpux32/libunalign.so
ld: (Warning) Unsatisfied symbol "__uc_set_ip" in file /usr/lib/hpux32/libunalign.so
13 warnings.
?
- Tags:
- unaligned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2010 11:07 AM - edited 08-21-2011 03:48 PM
04-05-2010 11:07 AM - edited 08-21-2011 03:48 PM
Re: Unaligned data access SUPPORT on Integrity
>I have the variable "unaligned_access_count" that keeps the count of such calls, is there something similar for libunalign as well.
No, libunalign really does nothing, it's all in the kernel.
>when I build the program using the command
aCC -Ae +e +Z +Olit=none -Wc,-func_descriptors,pseudo -o test -lunalign
Why are you using "aCC -e" instead of cc?
Why are you using +Olit=none, you should take the default.
Why are you using -func_descriptors,pseudo, this is only for porting Mainsoft.
Note: Naming the executable "test" isn't a good idea since it is a shell builtin.
>I see the following unsatisfied symbol errors?
You need to add -luca to your link line. Perhaps a newer version of libunalign will include that dependent shlib? What HP-UX version are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2010 06:52 PM
04-05-2010 06:52 PM
Re: Unaligned data access SUPPORT in Itanium
-luca worked for me .
System/Compiler details
aCC -V
aCC: HP C/aC++ B3910B A.06.15 [May 16 2007]
uname -a
HP-UX HBPTCD28 B.11.23 U ia64 2231872757 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2010 07:57 PM - edited 08-21-2011 03:47 PM
04-05-2010 07:57 PM - edited 08-21-2011 03:47 PM
Re: Unaligned data access SUPPORT on Integrity
>aCC: A.06.15 [May 16 2007]
The latest version is A.06.25, released last month. (And now A.06.26.)
I don't see any patches for libunalign and -luca.