<?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: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050741#M93705</link>
    <description>&amp;gt;All tools present under /opt/aCC.03.30&lt;BR /&gt;&lt;BR /&gt;I take it you have the WHOLE directory tree (or symlinks) for /usr/include/, /usr/lib/ and /usr/ccs/ under /opt/aCC.03.30/usr/?&lt;BR /&gt;&lt;BR /&gt;You'll also have to have your libs and includes there and set TARGETROOT.&lt;BR /&gt;&lt;BR /&gt;You should add -v to ld to see where it goes wrong.  (Any reason you are using ld directly to build a shlib, instead of a driver?)</description>
    <pubDate>Mon, 04 Jun 2007 04:35:15 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-06-04T04:35:15Z</dc:date>
    <item>
      <title>ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050738#M93702</link>
      <description>ld command exit with status 1 when SDKROOT set for 64 bit support in aCC 3.30 and not display any error message.&lt;BR /&gt;&lt;BR /&gt;env | grep SDKROOT&lt;BR /&gt;SDKROOT=/opt/aCC.03.30&lt;BR /&gt;[77] % ld -b +s -o libicui18n.sl.18.1 ucnv_cnv.o&lt;BR /&gt;[78] % echo $status&lt;BR /&gt;1&lt;BR /&gt;Any idea about this kind of issue ?&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 01:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050738#M93702</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T01:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050739#M93703</link>
      <description>To set up a SDK you must have ALL of the tools under /opt/aCC.03.30/:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2548,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2548,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you just want to use floating installation for aC++, you can just invoke:&lt;BR /&gt;/opt/aCC.03.30/opt/aCC/bin/aCC</description>
      <pubDate>Mon, 04 Jun 2007 04:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050739#M93703</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T04:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050740#M93704</link>
      <description>All tools present under /opt/aCC.03.30&lt;BR /&gt;&lt;BR /&gt;# cd /opt/aCC.03.30&lt;BR /&gt;# ls&lt;BR /&gt;opt  usr&lt;BR /&gt;# cd opt&lt;BR /&gt;# ls&lt;BR /&gt;aCC        ansic      langtools&lt;BR /&gt;# cd a&lt;BR /&gt;# cd aCC&lt;BR /&gt;# ls&lt;BR /&gt;bin          include      include_std  lbin         lib&lt;BR /&gt;# pwd&lt;BR /&gt;/opt/aCC.03.30/opt/aCC&lt;BR /&gt;# cd /opt/aCC.03.30/usr&lt;BR /&gt;# ls&lt;BR /&gt;ccs      include  lib&lt;BR /&gt;# cd ccs&lt;BR /&gt;# ls&lt;BR /&gt;bin       lbin      lbin_bak  lib&lt;BR /&gt;&lt;BR /&gt;Is it correct or not ?&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050740#M93704</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T04:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050741#M93705</link>
      <description>&amp;gt;All tools present under /opt/aCC.03.30&lt;BR /&gt;&lt;BR /&gt;I take it you have the WHOLE directory tree (or symlinks) for /usr/include/, /usr/lib/ and /usr/ccs/ under /opt/aCC.03.30/usr/?&lt;BR /&gt;&lt;BR /&gt;You'll also have to have your libs and includes there and set TARGETROOT.&lt;BR /&gt;&lt;BR /&gt;You should add -v to ld to see where it goes wrong.  (Any reason you are using ld directly to build a shlib, instead of a driver?)</description>
      <pubDate>Mon, 04 Jun 2007 04:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050741#M93705</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T04:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050742#M93706</link>
      <description>TARGETROOT is already set.&lt;BR /&gt;I tried with ld -a option, but no luck.&lt;BR /&gt;I think it cannot invoke the ld command itself.&lt;BR /&gt;The same sttings works fine for 32 bit.&lt;BR /&gt;&lt;BR /&gt;The problem is that the ld cannot redirect to &lt;BR /&gt;/opt/aCC.03.30/usr/ccs/lbin/ld64.&lt;BR /&gt;&lt;BR /&gt;Any Idea about how can I explicitly call ld64 through ld coomand.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 04:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050742#M93706</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T04:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050743#M93707</link>
      <description>&amp;gt;I tried with ld -a option, but no luck.&lt;BR /&gt;&lt;BR /&gt;Why -a?  What happens with -v or -t?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The problem is that the ld cannot redirect to /opt/aCC.03.30/usr/ccs/lbin/ld64.&lt;BR /&gt;&lt;BR /&gt;That should happen automatically if ucnv_cnv.o is a 64 bit ELF file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Any idea about how can I explicitly call ld64 through ld command.&lt;BR /&gt;&lt;BR /&gt;That is a contradiction in term.  :-)  To explicitly invoke ld64, you must do it yourself.  As I said before try invoking the driver to create your shlib:&lt;BR /&gt;$ cc +DD64 -b -Wl,+s -o libicui18n.sl.18.1 ucnv_cnv.o&lt;BR /&gt;&lt;BR /&gt;Have you set NLSPATH, to the wrong place?</description>
      <pubDate>Mon, 04 Jun 2007 04:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050743#M93707</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T04:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050744#M93708</link>
      <description>[56] % cc +DD64 -b -Wl,+s -o libicui18n.sl.18.1 ucnv_cnv.o&lt;BR /&gt;[57] % echo $status&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;this driver usage is also not working.&lt;BR /&gt;&lt;BR /&gt;[54] % ld -v -b +s -o libicuuc.sl.18.1 ucnv_cnv.o&lt;BR /&gt;[55] % echo $status&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;even -v option doesn,t give any message&lt;BR /&gt;&lt;BR /&gt;The foolowing is the exicution of a 32 bit objct file&lt;BR /&gt;&lt;BR /&gt;[64] % ld -v -b +s -o libicuuc.sl.18.1 ucnvscsu.o&lt;BR /&gt;/opt/aCC.03.30/usr/ccs/lbin/ld32 -v -b +s -o libicuuc.sl.18.1 ucnvscsu.o&lt;BR /&gt;LPATH is : /opt/aCC.03.30/opt/langtools/lib:/opt/aCC.03.30/usr/lib:/opt/aCC.03.30/usr/ccs/lib&lt;BR /&gt;Loading ucnvscsu.o:&lt;BR /&gt;/opt/aCC.03.30/usr/ccs/lbin/ld32: (Warning) At least one PA 2.0 object file (ucnvscsu.o) was detected. The linked output may not run on a PA 1.x system.&lt;BR /&gt;Searching library /usr/lib/milli.a:&lt;BR /&gt;  Selecting dyncallU.o to resolve $$dyncall&lt;BR /&gt;    referenced from ucnvscsu.o&lt;BR /&gt;Loading /usr/lib/milli.a(dyncallU.o):&lt;BR /&gt;Searching library /usr/lib/milli.a:&lt;BR /&gt;/opt/aCC.03.30/usr/ccs/lbin/ld32: Unsatisfied symbols:&lt;BR /&gt;   memcpy (first referenced in ) (code)&lt;BR /&gt;   free (first referenced in ) (code)&lt;BR /&gt;   ucnv_updateCallbackOffsets (first referenced in ) (code)&lt;BR /&gt;   ucnv_getNextUCharFromToUImpl (first referenced in ) (code)&lt;BR /&gt;   malloc (first referenced in ) (code)&lt;BR /&gt;   ucnv_cbFromUWriteBytes (first referenced in ) (code)&lt;BR /&gt;[65] % echo $status&lt;BR /&gt;0&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050744#M93708</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T05:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050745#M93709</link>
      <description>I see no evidence of SDK support until A.03.37.</description>
      <pubDate>Mon, 04 Jun 2007 05:22:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050745#M93709</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T05:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050746#M93710</link>
      <description>Thank you very much for your valid informations&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050746#M93710</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T05:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050747#M93711</link>
      <description>I have three installation of aCC. aCC 3.70, aCC 3.57 and aCC 3.30.&lt;BR /&gt;&lt;BR /&gt;aCC 3.70 as my default installation.&lt;BR /&gt;&lt;BR /&gt;If SDKROOT doesn't support, then how can I use aCC 3.30 installation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 05:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050747#M93711</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-04T05:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050748#M93712</link>
      <description>&amp;gt;If SDKROOT doesn't support, then how can I use aCC 3.30 installation?&lt;BR /&gt;&lt;BR /&gt;The problem is in ld, not the compiler.  You simply use the latest linker in all cases.  Or a new enough ld that supports SDKROOT.&lt;BR /&gt;&lt;BR /&gt;And A.03.30 does support floating installation.&lt;BR /&gt;&lt;BR /&gt;You might want to use "tusc -fp -o tusc.out ld ..." to help you figure out why ld is getting an error but not printing any messages.</description>
      <pubDate>Mon, 04 Jun 2007 18:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050748#M93712</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T18:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050749#M93713</link>
      <description>Attached here with the output of 'tusc -fp -o tusc.out ld -b +s -o libicuuc.sl.18.1 uresdata.o' for both aCC 3.30 64 bit and aCC 3.57 64 bit.&lt;BR /&gt;&lt;BR /&gt;In aCC 3.57 it works fine, but in aCC 3.30 it recursivly call some commands and exit.&lt;BR /&gt;&lt;BR /&gt;Could you please compare this two outputs ?&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 01:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050749#M93713</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-05T01:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050750#M93714</link>
      <description>&amp;gt;but in aCC 3.30 it recursively call some commands and exit.&lt;BR /&gt;&lt;BR /&gt;As I said, the ld you have in /opt/aCC.03.30 doesn't support SDKROOT.  You'll have to stop using SDKROOT with that version.  Or you'll have to copy a newer ld into that path.&lt;BR /&gt;&lt;BR /&gt;After all, ld should be upward compatible.&lt;BR /&gt;&lt;BR /&gt;Looking at tusc shows it going from /usr/ccs/bin/ld to /opt/aCC.03.30/usr/ccs/bin/ld to /usr/ccs/lbin/ld64 to /opt/aCC.03.30/usr/ccs/bin/ld ...</description>
      <pubDate>Tue, 05 Jun 2007 03:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050750#M93714</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-05T03:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050751#M93715</link>
      <description>You haven't assigned any points yet.  Please read the following:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You should also close this thread if you don't have any more questions.</description>
      <pubDate>Sat, 23 Jun 2007 00:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050751#M93715</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-23T00:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050752#M93716</link>
      <description>None of my answers were useful to you?  You don't want to be struck off do you?  ;-)&lt;BR /&gt;&lt;BR /&gt;You can always reopen it to assign points:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;</description>
      <pubDate>Wed, 27 Jun 2007 01:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050752#M93716</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-27T01:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050753#M93717</link>
      <description>Sorry !  Actually your informations are truely valid for me.&lt;BR /&gt;&lt;BR /&gt;I assigned the points also.</description>
      <pubDate>Wed, 27 Jun 2007 03:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050753#M93717</guid>
      <dc:creator>Chanthu Nair</dc:creator>
      <dc:date>2007-06-27T03:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: ld doesn't work with 64bit support in aCC 3.30 when SDKROOT set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050754#M93718</link>
      <description>Thanks!&lt;BR /&gt;If you want to reach a perfect assignment score you can assign 0 points for the two responses telling you how the forums work.</description>
      <pubDate>Wed, 27 Jun 2007 04:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ld-doesn-t-work-with-64bit-support-in-acc-3-30-when-sdkroot-set/m-p/5050754#M93718</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-27T04:12:18Z</dc:date>
    </item>
  </channel>
</rss>

