<?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: Compaq C V6.5 on VMS 7.3-2 compiler crash in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517234#M5267</link>
    <description>Antonio&lt;BR /&gt;&lt;BR /&gt;Thanks. We do need to use /standard=vax but it makes no difference to the compiler crashing. Have also tried many different combinations of /accept and /arch. The problem is intermittent, we have modules it will compile about 50% of the attempts we try with exactly the same switches or no switches, which makes us believe it may be a compiler or possibly a VMS set-up problem.&lt;BR /&gt;&lt;BR /&gt;John Carrette</description>
    <pubDate>Tue, 05 Apr 2005 12:19:54 GMT</pubDate>
    <dc:creator>John Carrette</dc:creator>
    <dc:date>2005-04-05T12:19:54Z</dc:date>
    <item>
      <title>Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517228#M5261</link>
      <description>We've recently installed Compaq C V6.5 on VMS V7.3-2. We have an intermittent problem compiling C files, some modules always crash the compiler, some will compile about 50% of the time so we don't think it's the programs, also if we introduce a syntax error then the compiler reports the error every time, i.e. doesn't crash, it's only "clean" code where the error occurs. We have made all the checks we can think of, any help much appreciated. The error is as follows:&lt;BR /&gt;&lt;BR /&gt;$ cc testprog&lt;BR /&gt;Assertion failure:  Compiler internal error - please submit problem report&lt;BR /&gt;%GEM-F-ASSERTION, Compiler internal error - please submit problem report&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC      &lt;BR /&gt; DECC$COMPILER  GEM_DB  GEM_DB_ABORT_FAST&lt;BR /&gt;                                          736 00000000000000CC 00000000006ED6CC&lt;BR /&gt; DECC$COMPILER  GEM_CD_CALL_ALPHA_VMS  GEM_CD_BIND_ADDRESS_MODE&lt;BR /&gt;                                         1539 0000000000000F44 00000000008DD694&lt;BR /&gt; DECC$COMPILER  GEM_CD_ALPHA  GEM_CD_LOAD_ADDRESS&lt;BR /&gt;                                         2043 000000000000155C 00000000008E2F2C&lt;BR /&gt; DECC$COMPILER  GEM_CD  CD_INTERP        7750 0000000000007524 00000000008EBE04&lt;BR /&gt; DECC$COMPILER  GEM_CD  GEM_CD           1575 000000000000013C 00000000008E4A1C&lt;BR /&gt; DECC$COMPILER  GEM_CG  GEM_CG            820 0000000000000414 00000000008EFB84&lt;BR /&gt; DECC$COMPILER  GEM_CO  GEM_CO_COMPILE_ROUTINE&lt;BR /&gt;                                         5898 0000000000008548 00000000006DAB18&lt;BR /&gt; DECC$COMPILER  GEM_CO  GEM_CO_COMPILE_MODULE&lt;BR /&gt;                                         3600 0000000000000D30 00000000006D3300&lt;BR /&gt; DECC$COMPILER  COMPILE  gemc_be_master&lt;BR /&gt;                                        84816 0000000000000E88 00000000001BE898&lt;BR /&gt; DECC$COMPILER  COMPILE  gem_xx_compile&lt;BR /&gt;                                        84039 0000000000000000 0000000000000000&lt;BR /&gt; DECC$COMPILER  GEM_CP_VMS  GEM_CP_MAIN&lt;BR /&gt;                                         2603 00000000000018CC 00000000006BA1AC&lt;BR /&gt;                                            0 FFFFFFFF8025FE94 FFFFFFFF8025FE94&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2005 09:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517228#M5261</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-04T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517229#M5262</link>
      <description>John,&lt;BR /&gt;Have you tried compiling /NOOPTIMIZE ?&lt;BR /&gt;Sometimes the C compiler gets confused. I also have a few sources that make it crash; /NOOPTIMIZE did the trick.&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2005 09:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517229#M5262</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-04-04T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517230#M5263</link>
      <description>V6.5 is ot the most recent version so when you submit a problem report hp may ask you to upgrade. &lt;BR /&gt;&lt;BR /&gt;Check process quotas - increasing them may help to workaround the bug.</description>
      <pubDate>Mon, 04 Apr 2005 09:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517230#M5263</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-04-04T09:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517231#M5264</link>
      <description>Thanks for the reply but forgit to mention that quite a few command line switches, including /noopt, have been tried. Some of our modules will actually compile sometimes, at other times they won't!</description>
      <pubDate>Mon, 04 Apr 2005 09:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517231#M5264</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-04T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517232#M5265</link>
      <description>Thanks for the reply. We have increased many quotas but to no avail. The intermittent nature of this does point to a problem like that but I'm afraid I can't find it, I wondered if anyone has a similar problem ?</description>
      <pubDate>Mon, 04 Apr 2005 09:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517232#M5265</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-04T09:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517233#M5266</link>
      <description>John,&lt;BR /&gt;do compile with vax mode? Can you try something like standard (/ACCEPT &amp;amp; /STANDARD qualifiers)?&lt;BR /&gt;May it be something like /ARCHITECT?&lt;BR /&gt;If you use some fortran library look at /PD qualifier!&lt;BR /&gt;Good Luck!&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2005 12:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517233#M5266</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-05T12:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517234#M5267</link>
      <description>Antonio&lt;BR /&gt;&lt;BR /&gt;Thanks. We do need to use /standard=vax but it makes no difference to the compiler crashing. Have also tried many different combinations of /accept and /arch. The problem is intermittent, we have modules it will compile about 50% of the attempts we try with exactly the same switches or no switches, which makes us believe it may be a compiler or possibly a VMS set-up problem.&lt;BR /&gt;&lt;BR /&gt;John Carrette</description>
      <pubDate>Tue, 05 Apr 2005 12:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517234#M5267</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-05T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517235#M5268</link>
      <description>Let's just double check you don't have a field test version of the compiler by doing:&lt;BR /&gt;&lt;BR /&gt;$ cc/version&lt;BR /&gt;&lt;BR /&gt;If there are any ECOs available for 6.5-001 I haven't heard of them and couldn't find any after a few minutes searching.  6.5A is a documentation only release and 7.1 is still only on Itanium.&lt;BR /&gt;&lt;BR /&gt;It's worth making sure you are up-to-date on system ECOs; I have heard of compiler problems caused by problems in the infrastructure the compiler depends on.  &lt;BR /&gt;&lt;BR /&gt;I would also recommend getting a free account on eisner.encompasserve.org or testdrive.hp.com, upload some code, and see if you can get the same error.&lt;BR /&gt;&lt;BR /&gt;And finally, try compiling with /WARNINGS=LEVEL6 to see if there is something about your code it doesn't like but dies before it can tell you.  This will be very noisy if you are accustomed to using /STANDARD=VAXC.</description>
      <pubDate>Tue, 05 Apr 2005 15:46:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517235#M5268</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2005-04-05T15:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517236#M5269</link>
      <description>Craig, thanks for the ideas.&lt;BR /&gt;&lt;BR /&gt;cc/version shows&lt;BR /&gt;Compaq C V6.5-001 on OpenVMS Alpha V7.3-2&lt;BR /&gt;&lt;BR /&gt;cc /warnings=(informationals=level6, warnings=level6, errors=level6, fatals=level6)&lt;BR /&gt;does not give any other clues on the module that always crashes,&lt;BR /&gt;but it did coax the following from the module that sometimes compiles before it went&lt;BR /&gt;into the now familiar crash, but this does not seem a likely cause to crash the compiler, especially as it will compile this module every now and again.&lt;BR /&gt;&lt;BR /&gt;  LOG_OUTPUT( SFLOG_ORA, CONCAT(SFLOG_MESS25, CSHUTDOWN.arr) );                                                                     &lt;BR /&gt;..^                                                                                                                                 &lt;BR /&gt;%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "(CSHUTDOWN.arr)" is "unsigned char", which is not  &lt;BR /&gt; compatible with "const char" because they differ by signed/unsigned attribute.&lt;BR /&gt;at line number 1143 in file $DISK2:[JD_CARRETTE]SFAPCORA.C;1&lt;BR /&gt;Assertion failure:  Compiler internal error - please submit problem report&lt;BR /&gt;%GEM-F-ASSERTION, Compiler internal error - please submit problem report&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt; DECC$COMPILER  GEM_DB  GEM_DB_ABORT_FAST&lt;BR /&gt;                                          736 00000000000000CC 00000000006ED6CC&lt;BR /&gt; DECC$COMPILER  GEM_CD_CALL_ALPHA_VMS  GEM_CD_BIND_ADDRESS_MODE&lt;BR /&gt;                                         1539 0000000000000F44 00000000008DD694&lt;BR /&gt;&lt;BR /&gt;I will check ECOs for VMS, that's a good idea, OpenVMS V7.3-2 is fairly new to us.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;John Carrette&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 04:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517236#M5269</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-06T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517237#M5270</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;  A compiler assertion failure is always a bug. &lt;BR /&gt;&lt;BR /&gt;  If you're on the latest compiler the best thing to do is what the message says: "please submit problem report".&lt;BR /&gt;&lt;BR /&gt;  Log a case with your local customer support centre, with a copy of one of your source files (plus any required #includes).</description>
      <pubDate>Wed, 06 Apr 2005 16:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517237#M5270</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-04-06T16:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517238#M5271</link>
      <description>John,&lt;BR /&gt;I remember an old vax c bug about unsigned constant char in parameter list; may be this bug is again appeared .&lt;BR /&gt;On old vax, I remember, I removed the constant declaration every parameter list, leaving them only in alpha platform.&lt;BR /&gt;Do you have some declaration like this?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 01:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517238#M5271</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-07T01:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Compaq C V6.5 on VMS 7.3-2 compiler crash</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517239#M5272</link>
      <description>Antonio, thanks, no "unsigned const char", the problem is intermittent anyway, some modules will compile sometimes.&lt;BR /&gt;John, thanks, I have been trying to log a call with HP, think I'm getting soemwhere now. Will update this when I get a resolution.</description>
      <pubDate>Thu, 07 Apr 2005 07:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/compaq-c-v6-5-on-vms-7-3-2-compiler-crash/m-p/3517239#M5272</guid>
      <dc:creator>John Carrette</dc:creator>
      <dc:date>2005-04-07T07:20:26Z</dc:date>
    </item>
  </channel>
</rss>

