<?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 Re: aCC compilation problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494188#M805083</link>
    <description>Not having access to your code or being a very good programmer doesn't help ..... but the following may help / be relevant ? &lt;BR /&gt;&lt;BR /&gt;If initializing an array with the address of a static array, the following error may occur when building shared libraries:&lt;BR /&gt;   static char a1[16];&lt;BR /&gt;   void dummy() {&lt;BR /&gt;   char *a[] = { a1 };&lt;BR /&gt;   }&lt;BR /&gt;ld: Invalid loader fixup for symbol "BS$small"&lt;BR /&gt;&lt;BR /&gt;Cause Text&lt;BR /&gt;&lt;BR /&gt;Addresses can not be put in the constant area when compiling with +z.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So ......&lt;BR /&gt;&lt;BR /&gt;Make the array static.&lt;BR /&gt;Or compile the file using the +T +z option.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Feb 2001 15:05:22 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2001-02-15T15:05:22Z</dc:date>
    <item>
      <title>aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494187#M805082</link>
      <description>This is the error I am getting while compiling the inStackDemo.C with aCC compiler. The compilation works fine with CC.&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Invalid fixup: 0x72 in file intStackDemo.o&lt;BR /&gt;&lt;BR /&gt;I do not know if the problem is to do with my code or the compiler because CC works fine.&lt;BR /&gt;&lt;BR /&gt;Pls help me on this issue.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Aji&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2001 14:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494187#M805082</guid>
      <dc:creator>R. Manickavel</dc:creator>
      <dc:date>2001-02-15T14:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494188#M805083</link>
      <description>Not having access to your code or being a very good programmer doesn't help ..... but the following may help / be relevant ? &lt;BR /&gt;&lt;BR /&gt;If initializing an array with the address of a static array, the following error may occur when building shared libraries:&lt;BR /&gt;   static char a1[16];&lt;BR /&gt;   void dummy() {&lt;BR /&gt;   char *a[] = { a1 };&lt;BR /&gt;   }&lt;BR /&gt;ld: Invalid loader fixup for symbol "BS$small"&lt;BR /&gt;&lt;BR /&gt;Cause Text&lt;BR /&gt;&lt;BR /&gt;Addresses can not be put in the constant area when compiling with +z.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So ......&lt;BR /&gt;&lt;BR /&gt;Make the array static.&lt;BR /&gt;Or compile the file using the +T +z option.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2001 15:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494188#M805083</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-02-15T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494189#M805084</link>
      <description>Aji,&lt;BR /&gt;&lt;BR /&gt;Also make sure that you have the latest ld patches.  The invalid fixup error means that aCC did something that ld doesn't recognize.&lt;BR /&gt;&lt;BR /&gt;11.0  - PHSS_22478&lt;BR /&gt;10.20 - PHSS_21110&lt;BR /&gt;&lt;BR /&gt;-sam</description>
      <pubDate>Thu, 15 Feb 2001 17:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-compilation-problem/m-p/2494189#M805084</guid>
      <dc:creator>Sam Nicholls</dc:creator>
      <dc:date>2001-02-15T17:51:04Z</dc:date>
    </item>
  </channel>
</rss>

