<?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 linking really large applications in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-really-large-applications/m-p/3689942#M794825</link>
    <description>Sorry if this is the wrong category to post to, didn't see any that screamed "software development."  I'm working on HPUX 11i, and am unable to link my application when I build it with debug information.  My linker ident says:&lt;BR /&gt;/usr/ccs/bin/ld:&lt;BR /&gt; $Revision: 92453-07 linker linker ctr0.o B.11.16.01 030316 $&lt;BR /&gt; $Revision: 1.85 $&lt;BR /&gt;&lt;BR /&gt;The libraries/objects I'm trying to link are primarily built with g++.&lt;BR /&gt;&lt;BR /&gt;The error I get is:&lt;BR /&gt;/usr/ccs/bin/ld: Cann't mmap 12 bytes&lt;BR /&gt;/usr/ccs/bin/ld: Not enough space&lt;BR /&gt;&lt;BR /&gt;It always says 12 bytes, and the odd spelling of "Cann't" is not mine.&lt;BR /&gt;&lt;BR /&gt;I've changed my TMPDIR and TEMPDIR to a directory that has multiple GB of free space, increased maxdsiz to 0xC000000 and maxssiz to 0xC000000, and tried running it with no other apps running besides daemons.&lt;BR /&gt;&lt;BR /&gt;I ran with -t and -v sent to the linker and the last things it printed before dying were:&lt;BR /&gt;Loading /usr/lib/milli.a(div_const.o):&lt;BR /&gt;Searching library /usr/lib/milli.a&lt;BR /&gt;&lt;BR /&gt;Any kernel params or linker options or patches you might have would be most appreciated.&lt;BR /&gt;&lt;BR /&gt;Tom Matelich</description>
    <pubDate>Mon, 12 Dec 2005 16:26:26 GMT</pubDate>
    <dc:creator>Thomas Matelich</dc:creator>
    <dc:date>2005-12-12T16:26:26Z</dc:date>
    <item>
      <title>linking really large applications</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-really-large-applications/m-p/3689942#M794825</link>
      <description>Sorry if this is the wrong category to post to, didn't see any that screamed "software development."  I'm working on HPUX 11i, and am unable to link my application when I build it with debug information.  My linker ident says:&lt;BR /&gt;/usr/ccs/bin/ld:&lt;BR /&gt; $Revision: 92453-07 linker linker ctr0.o B.11.16.01 030316 $&lt;BR /&gt; $Revision: 1.85 $&lt;BR /&gt;&lt;BR /&gt;The libraries/objects I'm trying to link are primarily built with g++.&lt;BR /&gt;&lt;BR /&gt;The error I get is:&lt;BR /&gt;/usr/ccs/bin/ld: Cann't mmap 12 bytes&lt;BR /&gt;/usr/ccs/bin/ld: Not enough space&lt;BR /&gt;&lt;BR /&gt;It always says 12 bytes, and the odd spelling of "Cann't" is not mine.&lt;BR /&gt;&lt;BR /&gt;I've changed my TMPDIR and TEMPDIR to a directory that has multiple GB of free space, increased maxdsiz to 0xC000000 and maxssiz to 0xC000000, and tried running it with no other apps running besides daemons.&lt;BR /&gt;&lt;BR /&gt;I ran with -t and -v sent to the linker and the last things it printed before dying were:&lt;BR /&gt;Loading /usr/lib/milli.a(div_const.o):&lt;BR /&gt;Searching library /usr/lib/milli.a&lt;BR /&gt;&lt;BR /&gt;Any kernel params or linker options or patches you might have would be most appreciated.&lt;BR /&gt;&lt;BR /&gt;Tom Matelich</description>
      <pubDate>Mon, 12 Dec 2005 16:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-really-large-applications/m-p/3689942#M794825</guid>
      <dc:creator>Thomas Matelich</dc:creator>
      <dc:date>2005-12-12T16:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: linking really large applications</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-really-large-applications/m-p/3689943#M794826</link>
      <description>You are running a rather old version of ld. You should also rollback the size of maxssiz to 64MB or so because both the data and stack come from the same quadrant in 32-bit land so large stacks (even if not used) reduce the available heap for dynamic allocation. Mmap cal also be limited by swapspace.&lt;BR /&gt;&lt;BR /&gt;By best advice is to add -Wl,+nommap to your CC makefile line so that the linker does not use mmap. This will result in slower links but mmap should no longer be a problem.</description>
      <pubDate>Mon, 12 Dec 2005 16:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-really-large-applications/m-p/3689943#M794826</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-12T16:56:10Z</dc:date>
    </item>
  </channel>
</rss>

