<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic calling allow_unaligned_data_access() problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/calling-allow-unaligned-data-access-problem/m-p/4153798#M90665</link>
    <description>experts:&lt;BR /&gt;I want to build helloworld on ia64 hp server rx1620(b.11.23 ia64).&lt;BR /&gt;compiler is aCC:&lt;BR /&gt;aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]&lt;BR /&gt;code is：&lt;BR /&gt;//helloworld.cpp&lt;BR /&gt;#include &lt;IOSTREAM&gt;&lt;BR /&gt;using namespace std;&lt;BR /&gt;extern "C" void allow_unaligned_data_access();&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;  string str = "testing";&lt;BR /&gt;  allow_unaligned_data_access();&lt;BR /&gt;  cout&amp;lt;&lt;STR&gt;&lt;/STR&gt;&lt;BR /&gt;  return 0;&lt;BR /&gt;}&lt;BR /&gt;compile：&lt;BR /&gt;aCC -o t helloworld.cpp -L/usr/lib -lhppa&lt;BR /&gt;I have got message:Mismatched ABI (not an ELF file) for -lhppa&lt;BR /&gt;libhppa.sl is a system lib，and the file type of libhppa.sl is:&lt;BR /&gt;file /usr/lib/libhppa.sl&lt;BR /&gt;output：s800 shared library -not stripped&lt;BR /&gt;question: why i can't link with libhppa.sl?&lt;/IOSTREAM&gt;</description>
    <pubDate>Mon, 03 Mar 2008 02:13:26 GMT</pubDate>
    <dc:creator>c_ogen</dc:creator>
    <dc:date>2008-03-03T02:13:26Z</dc:date>
    <item>
      <title>calling allow_unaligned_data_access() problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/calling-allow-unaligned-data-access-problem/m-p/4153798#M90665</link>
      <description>experts:&lt;BR /&gt;I want to build helloworld on ia64 hp server rx1620(b.11.23 ia64).&lt;BR /&gt;compiler is aCC:&lt;BR /&gt;aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]&lt;BR /&gt;code is：&lt;BR /&gt;//helloworld.cpp&lt;BR /&gt;#include &lt;IOSTREAM&gt;&lt;BR /&gt;using namespace std;&lt;BR /&gt;extern "C" void allow_unaligned_data_access();&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;  string str = "testing";&lt;BR /&gt;  allow_unaligned_data_access();&lt;BR /&gt;  cout&amp;lt;&lt;STR&gt;&lt;/STR&gt;&lt;BR /&gt;  return 0;&lt;BR /&gt;}&lt;BR /&gt;compile：&lt;BR /&gt;aCC -o t helloworld.cpp -L/usr/lib -lhppa&lt;BR /&gt;I have got message:Mismatched ABI (not an ELF file) for -lhppa&lt;BR /&gt;libhppa.sl is a system lib，and the file type of libhppa.sl is:&lt;BR /&gt;file /usr/lib/libhppa.sl&lt;BR /&gt;output：s800 shared library -not stripped&lt;BR /&gt;question: why i can't link with libhppa.sl?&lt;/IOSTREAM&gt;</description>
      <pubDate>Mon, 03 Mar 2008 02:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/calling-allow-unaligned-data-access-problem/m-p/4153798#M90665</guid>
      <dc:creator>c_ogen</dc:creator>
      <dc:date>2008-03-03T02:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling allow_unaligned_data_access() problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/calling-allow-unaligned-data-access-problem/m-p/4153799#M90666</link>
      <description>You need to read the documentation:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/10946/pragmas.htm#pragma-pack-ex4" target="_blank"&gt;http://docs.hp.com/en/10946/pragmas.htm#pragma-pack-ex4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-L/usr/lib -lhppa&lt;BR /&gt;&lt;BR /&gt;Why would you expect a PA-RISC path and lib name to work for IPF?&lt;BR /&gt;You need to use -lunalign.</description>
      <pubDate>Mon, 03 Mar 2008 03:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/calling-allow-unaligned-data-access-problem/m-p/4153799#M90666</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-03T03:36:41Z</dc:date>
    </item>
  </channel>
</rss>

