<?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: signal 11 when linking c++ binary in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518542#M701263</link>
    <description>By all means apply any compiler/linker patches. If the problem persists, I would try compiling by turning off all optimization. I've occasionally seen the optimizer produce unstable code. &lt;BR /&gt;&lt;BR /&gt;This is one of those problems that should be reported to HP.</description>
    <pubDate>Wed, 06 Apr 2005 19:03:06 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-04-06T19:03:06Z</dc:date>
    <item>
      <title>signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518536#M701257</link>
      <description>when linking a C++ binary, getting the following error: &lt;BR /&gt;&lt;BR /&gt;ucomp : &lt;BR /&gt;   Error : Unexpected signal 11 received.  See signal(2) or contact HP if you did not intentionally send this signal. (6987)&lt;BR /&gt;&lt;BR /&gt;any ideas or how to resolve this ? &lt;BR /&gt;doing the build on HP 11.11 system.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 05 Apr 2005 17:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518536#M701257</guid>
      <dc:creator>Nagarajan Ragunathan</dc:creator>
      <dc:date>2005-04-05T17:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518537#M701258</link>
      <description>Signal 11 (SIGSEGV) is a segmentation violation. It could be a bug in the linker ld OR you may simply need to increase maxdsiz and/or maxssiz. Increase maxssiz to something around 64MB (and that is generous) and maxdsiz to somewhere between 256MB and 1GB. I would also look for and install and ld/as/cc related patches.</description>
      <pubDate>Tue, 05 Apr 2005 18:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518537#M701258</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-05T18:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518538#M701259</link>
      <description>&lt;BR /&gt;I have the following values set.&lt;BR /&gt;maxdsiz            0xb0000000  -  0XB0000000                 &lt;BR /&gt;maxdsiz_64bit     0x400000000  -  0X400000000 &lt;BR /&gt;maxssiz             0x8000000  -  0X8000000                  &lt;BR /&gt;maxssiz_64bit      0x10000000  -  0X10000000&lt;BR /&gt;&lt;BR /&gt;any specific ld patch to be checked ? &lt;BR /&gt;I will also search to see any patch related to this.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 05 Apr 2005 18:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518538#M701259</guid>
      <dc:creator>Nagarajan Ragunathan</dc:creator>
      <dc:date>2005-04-05T18:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518539#M701260</link>
      <description>Please check the version of Auxiliary-Opt.LANG-AUX fileset&lt;BR /&gt;&lt;BR /&gt;# swlist -l fileset | grep Auxiliary-Opt.LANG-AUX&lt;BR /&gt;&lt;BR /&gt;If the version is 11.11.06 install the following patches.&lt;BR /&gt;&lt;BR /&gt;Patch Name: PHSS_28594&lt;BR /&gt;Patch Description: s700_800 11.X +O4/PBO Compiler B.11.11.06 cumulative patch&lt;BR /&gt;&lt;BR /&gt;Patch Name: PHSS_28706&lt;BR /&gt;Patch Description: s700_800 11.X ANSI C compiler B.11.11.06 cumulative patch&lt;BR /&gt;&lt;BR /&gt;From patch notes&lt;BR /&gt;&lt;BR /&gt;JAGae35670 : AR0902 ucomp generates error in ld -r phase (6987)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 01:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518539#M701260</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-04-06T01:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518540#M701261</link>
      <description>&lt;BR /&gt;I have 11.11.08 version. &lt;BR /&gt;&lt;BR /&gt;$ swlist -l fileset | grep Auxiliary-Opt.LANG-AUX&lt;BR /&gt;  Auxiliary-Opt.LANG-AUX                B.11.11.08     Advanced Optimization Tools &lt;BR /&gt;&lt;BR /&gt;June 2003 bundle is installed. &lt;BR /&gt;can I still apply these patches &lt;BR /&gt;are there patches on top of 11.11.08 ?</description>
      <pubDate>Wed, 06 Apr 2005 12:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518540#M701261</guid>
      <dc:creator>Nagarajan Ragunathan</dc:creator>
      <dc:date>2005-04-06T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518541#M701262</link>
      <description>Patches for version B.11.11.08 are&lt;BR /&gt;&lt;BR /&gt;PHSS_29484&lt;BR /&gt;PHSS_29485&lt;BR /&gt;&lt;BR /&gt;I can't see any notes in these patches specific to your problem; install them anyway.&lt;BR /&gt;&lt;BR /&gt;Also it's a good idea to install latest linker patch.&lt;BR /&gt;&lt;BR /&gt;PHSS_30970&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 18:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518541#M701262</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-04-06T18:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518542#M701263</link>
      <description>By all means apply any compiler/linker patches. If the problem persists, I would try compiling by turning off all optimization. I've occasionally seen the optimizer produce unstable code. &lt;BR /&gt;&lt;BR /&gt;This is one of those problems that should be reported to HP.</description>
      <pubDate>Wed, 06 Apr 2005 19:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518542#M701263</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-06T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518543#M701264</link>
      <description>&lt;BR /&gt;I could link it by turning off the optimization. Thanks. &lt;BR /&gt;&lt;BR /&gt;But when executing it, getting the following error:&lt;BR /&gt;aCC runtime: Error 22 from shl_findsym(/usr/lib/libCsup_v2.2,_shlInit)&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2005 16:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518543#M701264</guid>
      <dc:creator>Nagarajan Ragunathan</dc:creator>
      <dc:date>2005-04-11T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518544#M701265</link>
      <description>I doubt this has anything to do with your linker problems. It's now time to compile everything with the -g flag, don't strip the code; execute it and let it dump core. You then use gdb to examine a stack trace.</description>
      <pubDate>Mon, 11 Apr 2005 17:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518544#M701265</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-11T17:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518545#M701266</link>
      <description>It's also  a good idea to do a man shl_findsym and see what conditions can set errno = EINVAL (22). This is debugging 101.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2005 17:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518545#M701266</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-11T17:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: signal 11 when linking c++ binary</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518546#M701267</link>
      <description>I already did the debugging to figure what is happening here.  &lt;BR /&gt;gdb stack shows &lt;BR /&gt;#0  0xc020a110 in kill+0x10 () from /usr/lib/libc.2&lt;BR /&gt;#1  0xc01a500c in raise+0x24 () from /usr/lib/libc.2&lt;BR /&gt;#2  0xc01e53f0 in abort_C+0x160 () from /usr/lib/libc.2&lt;BR /&gt;#3  0xc01e544c in abort+0x1c () from /usr/lib/libc.2&lt;BR /&gt;#4  0xc16e5154 in __shlinit+0x1e0 () from /usr/lib/libCsup_v2.2&lt;BR /&gt;#5  0xc16e7584 in _main+0x194 () from /usr/lib/libCsup_v2.2&lt;BR /&gt;&lt;BR /&gt;I have tried -g, -AA options. &lt;BR /&gt;I have set SHLIB_PATH and LD_LIBRARY_PATH correctly. /usr/lib/libCsup_v2.2 did not have world read permissions and I have set it also( this is another problem)&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2005 18:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/signal-11-when-linking-c-binary/m-p/3518546#M701267</guid>
      <dc:creator>Nagarajan Ragunathan</dc:creator>
      <dc:date>2005-04-11T18:13:59Z</dc:date>
    </item>
  </channel>
</rss>

