<?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: collect2: ld returned 1 exit status in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403039#M681968</link>
    <description>its something like this, we are going to support our product for pa-risc. But we have a itanium processor. so is the reason i have installed the gcc for pa-risc. When i used the ld file that is present with the itanium the actual error was &lt;BR /&gt;&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgcc, found /pa-risc-gcc332/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/libgcc.a&lt;BR /&gt;Fatal error.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;then i have replace the ld file with that of the pa-risc ld file. then i am facing the mentioned problem. The thing is it doesnt give any clue other than "collect2: ld returned 1 exit status". &lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
    <pubDate>Fri, 17 Apr 2009 11:15:31 GMT</pubDate>
    <dc:creator>cool dude_1</dc:creator>
    <dc:date>2009-04-17T11:15:31Z</dc:date>
    <item>
      <title>collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403036#M681965</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;we have a itanium processer and i have installed the gcc 3.3.2 for pa-risc processor. I have installed the gcc into a temp folder. Now i want to compile a sample c program&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;main ()&lt;BR /&gt;{&lt;BR /&gt;printf ("Test prog C");&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;When i do that i am getting the following error.&lt;BR /&gt;&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;any help is appreciated.&lt;/STDIO.H&gt;</description>
      <pubDate>Fri, 17 Apr 2009 10:38:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403036#M681965</guid>
      <dc:creator>cool dude_1</dc:creator>
      <dc:date>2009-04-17T10:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403037#M681966</link>
      <description>&amp;gt;we have a Itanium processor and I have installed the gcc 3.3.2 for PA-RISC processor.&lt;BR /&gt;&lt;BR /&gt;Why?  You should be using the gcc for Itanium.</description>
      <pubDate>Fri, 17 Apr 2009 10:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403037#M681966</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T10:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403038#M681967</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please download and install gcc binaries for itanium architecture.&lt;BR /&gt;&lt;BR /&gt;I doubt if gcc for PA-RISC will on itanium machine.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 17 Apr 2009 11:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403038#M681967</guid>
      <dc:creator>Pnaidu</dc:creator>
      <dc:date>2009-04-17T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403039#M681968</link>
      <description>its something like this, we are going to support our product for pa-risc. But we have a itanium processor. so is the reason i have installed the gcc for pa-risc. When i used the ld file that is present with the itanium the actual error was &lt;BR /&gt;&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgcc, found /pa-risc-gcc332/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/libgcc.a&lt;BR /&gt;Fatal error.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;then i have replace the ld file with that of the pa-risc ld file. then i am facing the mentioned problem. The thing is it doesnt give any clue other than "collect2: ld returned 1 exit status". &lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Fri, 17 Apr 2009 11:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403039#M681968</guid>
      <dc:creator>cool dude_1</dc:creator>
      <dc:date>2009-04-17T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403040#M681969</link>
      <description>Install the ACXX  from HPUX CD if you wan to use gcc for IA please only use  itanium specific . if you want to run PA RISC executables in Itanium , use Aries .</description>
      <pubDate>Fri, 17 Apr 2009 11:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403040#M681969</guid>
      <dc:creator>inukoti</dc:creator>
      <dc:date>2009-04-17T11:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403041#M681970</link>
      <description>Thanks for the quick reply inukoti, but i have some doubts&lt;BR /&gt;&lt;BR /&gt;"Install the ACXX from HPUX CD if you wan to use gcc for IA please only use itanium specific . if you want to run PA RISC executables in Itanium , use Aries"&lt;BR /&gt;&lt;BR /&gt;what do you mean by "IA" and can you please give some more information about this Aries like where can i get that and what actually does that do (i mean just a bit more information). &lt;BR /&gt;&lt;BR /&gt;Does that mean i can use the gcc for the pa-risc on itanium also? if not what can i do further?</description>
      <pubDate>Fri, 17 Apr 2009 11:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403041#M681970</guid>
      <dc:creator>cool dude_1</dc:creator>
      <dc:date>2009-04-17T11:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403042#M681971</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;Aries is a binary translator for PA-RISC applications on Itanium. Detailed information about ARIES: &lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=0208713ba4f02110713ba4f02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=0208713ba4f02110713ba4f02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In the context of Aries, you could also have a look at XPADE which allows you to cross-develop PA-RISC applications on Itanium: &lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=babe0bfb7d779110VgnVCM100000275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=babe0bfb7d779110VgnVCM100000275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Andi</description>
      <pubDate>Fri, 17 Apr 2009 13:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403042#M681971</guid>
      <dc:creator>Andre-Marcel Hellmund</dc:creator>
      <dc:date>2009-04-17T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403043#M681972</link>
      <description>&amp;gt;we are going to support our product for PA.  When I used the ld file that is present with the Integrity the actual error was&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgcc&lt;BR /&gt;&lt;BR /&gt;&amp;gt;then I replaced the ld file with that of the PA ld file.&lt;BR /&gt;&amp;gt;it doesn't give any clue other than "collect2: ld returned 1 exit status".&lt;BR /&gt;&lt;BR /&gt;You can't just do that.  You must use:&lt;BR /&gt;SDKROOT=/usr/ccs/bin gcc ...&lt;BR /&gt;&lt;BR /&gt;Or tell gcc to replace your IPF ld by a wrapper ld that does:&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;export SDKROOT=/usr/ccs/bin&lt;BR /&gt;exec $SDKROOT/usr/ccs/bin/ld "$@"&lt;BR /&gt;&lt;BR /&gt;&amp;gt;inukoti: Install the ACXX from HP-UX CD if you wan to use gcc for IA&lt;BR /&gt;&lt;BR /&gt;I'm not sure of the connection?  GNU isn't aC++.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Andi: you could also have a look at XPADE&lt;BR /&gt;&lt;BR /&gt;This requires a aC++ license and isn't GNU.</description>
      <pubDate>Sat, 18 Apr 2009 03:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403043#M681972</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-18T03:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: collect2: ld returned 1 exit status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403044#M681973</link>
      <description>Oops typos above:&lt;BR /&gt;You can't just do that. You must use:&lt;BR /&gt;SDKROOT=/usr/ccs/pa gcc ...&lt;BR /&gt;&lt;BR /&gt;Or tell gcc to replace your IPF ld by a wrapper ld that does:&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;export SDKROOT=/usr/ccs/pa&lt;BR /&gt;exec $SDKROOT/usr/ccs/bin/ld "$@"</description>
      <pubDate>Sat, 18 Apr 2009 04:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collect2-ld-returned-1-exit-status/m-p/4403044#M681973</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-18T04:32:53Z</dc:date>
    </item>
  </channel>
</rss>

