<?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: Abort executing Ansi-C compiled program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073551#M307963</link>
    <description>&amp;gt;I use footprints to scan the binary file, and i found out "-mt" set to false.&lt;BR /&gt;&lt;BR /&gt;If the binary only has C source, it probably doesn't matter.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I can't find this value into other object (like libraries etc)  Could be the problem?  Can i set it to true?&lt;BR /&gt;&lt;BR /&gt;If the libs were compiled with a much older aC++ compiler, the -mt flag wasn't saved.&lt;BR /&gt;Yes, it could be a problem.&lt;BR /&gt;The only way to set it to "true" is recompile the source in those libs.</description>
    <pubDate>Fri, 21 Sep 2007 05:24:30 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-09-21T05:24:30Z</dc:date>
    <item>
      <title>Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073546#M307958</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am working on HPUX IA server with 11.23 OS.&lt;BR /&gt;I got this error executing ansi-c (Version 6.15) compiled program:&lt;BR /&gt;&lt;BR /&gt;aCC runtime: Use of "-mt" must be consistent during both compilation and linking.&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;&lt;BR /&gt;I have already installed all the required patch for ansi-c version 6.15:&lt;BR /&gt;&lt;BR /&gt;PHSS_36343 &lt;BR /&gt;PHSS_36342&lt;BR /&gt;PHSS_36345 &lt;BR /&gt;PHSS_36344&lt;BR /&gt;PHSS_36347&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Fabrizio</description>
      <pubDate>Thu, 20 Sep 2007 09:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073546#M307958</guid>
      <dc:creator>Fabrizio Maggioni_2</dc:creator>
      <dc:date>2007-09-20T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073547#M307959</link>
      <description>After installing the patches, did you recompile all the object files (including those in libraries) to make sure that -mt was used (or not used) the same everywhere?</description>
      <pubDate>Thu, 20 Sep 2007 10:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073547#M307959</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-20T10:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073548#M307960</link>
      <description>Yes.</description>
      <pubDate>Thu, 20 Sep 2007 10:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073548#M307960</guid>
      <dc:creator>Fabrizio Maggioni_2</dc:creator>
      <dc:date>2007-09-20T10:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073549#M307961</link>
      <description>You're confused.  You are running a aC++ application.  (One of your shlibs is aC++.)&lt;BR /&gt;&lt;BR /&gt;As Clay said, when you link with libpthread, you must compile ALL aC++ sources with -mt.  This includes third party sources and shlibs, etc.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Fabrizio: Yes.&lt;BR /&gt;&lt;BR /&gt;You must have forgot some lib?&lt;BR /&gt;&lt;BR /&gt;Can you use gdb to get a stack trace to see what shlibs you are using:&lt;BR /&gt;$ gdb executable core&lt;BR /&gt;(gdb) bt&lt;BR /&gt;(gdb) q&lt;BR /&gt;&lt;BR /&gt;You can use footprints(1) to scan your objects, binaries, shlibs to see if they were compiled with -mt.</description>
      <pubDate>Fri, 21 Sep 2007 01:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073549#M307961</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-21T01:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073550#M307962</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use footprints to scan the binary file, and i found out "-mt" set to false.I can't find this value into other object (like libraries etc )&lt;BR /&gt;Could be the problem?Can i set it to true?&lt;BR /&gt;&lt;BR /&gt;Only a note, i am not an expert developer ;), i am trying to debug and solve the problem on behalf of develop team.Otherwise they will solve it next week..&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;Fabrizio&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2007 04:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073550#M307962</guid>
      <dc:creator>Fabrizio Maggioni_2</dc:creator>
      <dc:date>2007-09-21T04:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Abort executing Ansi-C compiled program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073551#M307963</link>
      <description>&amp;gt;I use footprints to scan the binary file, and i found out "-mt" set to false.&lt;BR /&gt;&lt;BR /&gt;If the binary only has C source, it probably doesn't matter.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I can't find this value into other object (like libraries etc)  Could be the problem?  Can i set it to true?&lt;BR /&gt;&lt;BR /&gt;If the libs were compiled with a much older aC++ compiler, the -mt flag wasn't saved.&lt;BR /&gt;Yes, it could be a problem.&lt;BR /&gt;The only way to set it to "true" is recompile the source in those libs.</description>
      <pubDate>Fri, 21 Sep 2007 05:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/abort-executing-ansi-c-compiled-program/m-p/4073551#M307963</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-21T05:24:30Z</dc:date>
    </item>
  </channel>
</rss>

