<?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: IA64 Analyze/Object doesn't process all modules in a file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045376#M38148</link>
    <description>This is apparently a known bug in Analyze.  Here is the response from OpenVMS engineering:&lt;BR /&gt;&lt;BR /&gt;Thanks for reporting this problem. There is a bug in ANALYZE processing multiple modules in an object file. Analyze incorrectly adds a NOBITS section into the size of the module. The forth module in the supplied object file contains a big NOBITS section. So, to ANALYZE it looks like this module covers all (and even more) of the object file and ANALYZE stops looking for more modules.&lt;BR /&gt;&lt;BR /&gt;The problem will be fixed in the next version of VMS.&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Aug 2007 14:21:33 GMT</pubDate>
    <dc:creator>Glenn Wolf</dc:creator>
    <dc:date>2007-08-06T14:21:33Z</dc:date>
    <item>
      <title>IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045368#M38140</link>
      <description>&lt;!--!*#--&gt;Environment: OpenVMS V8.3, HP Fortran V8.1-1-104930-50GBS&lt;BR /&gt;&lt;BR /&gt;I have a function in Fortran that is contained in a source file which also contains about 16 other subroutines and functions (it being the last one in the file).  When I do Analyze/object on the F90 output (on Itanium), it only reports information on some of the modules.  To get the analyze/object output for the last function in the file, I had to copy the function out into a source file containing only that function, compile and analyze/object that file.  Sometimes (dependent on what sections I chose???) I get analysis output for only the first module in the source file; other times it would give me the first 4 (of 17) modules.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;DEV01&amp;gt;search lotinfoutil.for subroutine,function/match=or&lt;BR /&gt;        integer*4 function SSPLIS_LotInfoUtil_RLock()&lt;BR /&gt;        integer*4 function SSPLIS_LotInfoUtil_WLock()&lt;BR /&gt;        integer*4 function SSPLIS_LotInfoUtil_Unlock()&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_CheckExprBuff (dispInfo, exprBufResetLimit)&lt;BR /&gt;        integer*4 function SspLis_LotInfoUtil_ExprBuffUsage (exprBuff)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_InitLotInfoGlb ()&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_InitLotInfoRec (lotInfoRec)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_InitComputedFields (lotInfoRec)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_LoadIni&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_AddCompLot (compTime, lotId)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_CleanCompLot (compTime)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_TlogInfo (primRecSent, secRecApplied)&lt;BR /&gt;        subroutine SspLis_LotInfoUtil_PublishSysLogEvent (eventType, eventTime)&lt;BR /&gt;        logical*4 function      SspLis_LotInfoUtil_IsRunning (state)&lt;BR /&gt;        logical*4 function      SspLis_LotInfoUtil_IsOnHold (state)&lt;BR /&gt;        integer*4 function      SspLis_LotInfoUtil_DispatchString&lt;BR /&gt;        integer*4 function      SspLis_LotInfoUtil_DispString&lt;BR /&gt;DEV01&amp;gt;analyze/image/section=all lotinfoutil.obj/out=lotinfoutil.ana&lt;BR /&gt;DEV01&amp;gt;type/page lotinfoutil.ana&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Analyze Image                                27-JUL-2007 14:56:37.94                                                   Page 1&lt;BR /&gt;USER1:[DEV01.SSP.LIS]LOTINFOUTIL.OBJ;1&lt;BR /&gt;ANALYZ I01-51&lt;BR /&gt;&lt;BR /&gt;Analyzing 4 Elf object modules&lt;BR /&gt;----------^&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;It says it is only analyzing 4 object modules out of the 17 in the file.  But it actually puts the symbols for 5 of the 17 in the output (but not the one I care about, the last one):&lt;BR /&gt;DEV01&amp;gt;pipe search lotinfoutil.ana symbol,"(",")","SSPLIS_"/match=and|sort sys$pipe sys$output/nodup&lt;BR /&gt;&lt;BR /&gt;00000850 00000180  Symbol 16. (00000010)          "SSPLIS_LOTINFOUTIL_RLOCK"&lt;BR /&gt;000019F0 00000180  Symbol 16. (00000010)          "SSPLIS_LOTINFOUTIL_WLOCK"&lt;BR /&gt;00002C10 00000180  Symbol 16. (00000010)          "SSPLIS_LOTINFOUTIL_UNLOCK"&lt;BR /&gt;00005600 000001B0  Symbol 18. (00000012)          "SSPLIS_LOTINFOUTIL_CHECKEXPRBUFF"&lt;BR /&gt;00005690 00000240  Symbol 24. (00000018)          "SSPLIS_LOTINFOUTIL_EXPRBUFFUSAGE"&lt;BR /&gt;&lt;BR /&gt;Is this a documented behavior?  I can't find any analyze/object switch that allows me get the data about the later modules in the file.&lt;BR /&gt;&lt;BR /&gt;If this has been answered, please point me to that entry.&lt;BR /&gt;&lt;BR /&gt;I can post the analysis output anyone is that interested.</description>
      <pubDate>Fri, 27 Jul 2007 15:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045368#M38140</guid>
      <dc:creator>Glenn Wolf</dc:creator>
      <dc:date>2007-07-27T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045369#M38141</link>
      <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;  What you describe looks like a bug to me. I'd recommend you log a case with HP customer support.&lt;BR /&gt;&lt;BR /&gt;  That said, the meaning of "module" and "routine" is not always clear cut. I'd do some sanity checks. Try inserting the object module into a library and see what the librarian considers to be modules:&lt;BR /&gt;&lt;BR /&gt;$ LIBRARY/CREATE/OBJ TEST lotinfoutil.obj&lt;BR /&gt;$ LIB/LIST/NAMES TEST&lt;BR /&gt;&lt;BR /&gt;You may be able to use the librarian as a workaround to split the object file into individual module files, which presumably will be visible to ANALYZE.</description>
      <pubDate>Sun, 29 Jul 2007 16:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045369#M38141</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-07-29T16:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045370#M38142</link>
      <description>Glen,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; DEV01&amp;gt;analyze/image/section=all lotinfoutil.obj/out=lotinfoutil.ana&lt;BR /&gt;&lt;BR /&gt;To analyze an object file it's recommended to use analyze/object.&lt;BR /&gt; &lt;BR /&gt;Analyze/image will switch into the object mode and it should work. But object files can contain multiple object modules - which are Elf objects - but image files can contain only one image - which is one Elf object.&lt;BR /&gt;&lt;BR /&gt;To get the symbol tables, it is sufficient to request /section=symtab.&lt;BR /&gt;&lt;BR /&gt;To check if all object modules are processed check the Elf headers. Requesting the symbol tables also displays the Elf headers. &lt;BR /&gt;Together with the section header table information and the file size it should be possible to determine if all modules are processed.&lt;BR /&gt;&lt;BR /&gt;So please, post the output of ANALYZE/OBJECT/SECTION=SYMTAB and a DIR/SIZE for the object file. That's also the minimum amount of information HP support needs to analyze if there is a problem. But the whole object file is a better input.&lt;BR /&gt;&lt;BR /&gt;Volker (just the messenger).</description>
      <pubDate>Mon, 30 Jul 2007 08:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045370#M38142</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-30T08:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045371#M38143</link>
      <description>The librarian thinks there are 17 "modules" in the object file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ LIBRARY/CREATE/OBJ TEST lotinfoutil.obj&lt;BR /&gt;&amp;gt; $ LIB/LIST/NAMES TEST&lt;BR /&gt;&lt;BR /&gt;DEV01&amp;gt;lib/cre/obj test lotinfoutil.obj&lt;BR /&gt;DEV01&amp;gt;lib/list/names test&lt;BR /&gt;Directory of ELF OBJECT library USER1:[DEV01.SSP.LIS]TEST.OLB;1 on 30-JUL-2007 10:49:43&lt;BR /&gt;Creation date:  30-JUL-2007 10:49:33      Creator:  Librarian I01-37&lt;BR /&gt;Revision date:  30-JUL-2007 10:49:33      Library format:   6.0&lt;BR /&gt;Number of modules:     17                 Max. key length:  1024&lt;BR /&gt;Other entries:         17                 Preallocated index blocks:    213&lt;BR /&gt;Recoverable deleted blocks:        0      Total index blocks used:        8&lt;BR /&gt;Max. Number history records:      20      Library history records:        0&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_ADDCOMPLOT&lt;BR /&gt;SSPLIS_LOTINFOUTIL_ADDCOMPLOT&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_CHECKEXPRBUFF&lt;BR /&gt;SSPLIS_LOTINFOUTIL_CHECKEXPRBUFF&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_CLEANCOMPLOT&lt;BR /&gt;SSPLIS_LOTINFOUTIL_CLEANCOMPLOT&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_DISPATCHSTRING&lt;BR /&gt;SSPLIS_LOTINFOUTIL_DISPATCHSTRING&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_DISPSTRING&lt;BR /&gt;SSPLIS_LOTINFOUTIL_DISPSTRING&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_EXPRBUFFUSAGE&lt;BR /&gt;SSPLIS_LOTINFOUTIL_EXPRBUFFUSAGE&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_INITCOMPUTEDFIELDS&lt;BR /&gt;SSPLIS_LOTINFOUTIL_INITCOMPUTEDFIELDS&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_INITLOTINFOGLB&lt;BR /&gt;SSPLIS_LOTINFOUTIL_INITLOTINFOGLB&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_INITLOTINFOREC&lt;BR /&gt;SSPLIS_LOTINFOUTIL_INITLOTINFOREC&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_ISONHOLD&lt;BR /&gt;SSPLIS_LOTINFOUTIL_ISONHOLD&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_ISRUNNING&lt;BR /&gt;SSPLIS_LOTINFOUTIL_ISRUNNING&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_LOADINI&lt;BR /&gt;SSPLIS_LOTINFOUTIL_LOADINI&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_PUBLISHSYSLOGEVENT&lt;BR /&gt;SSPLIS_LOTINFOUTIL_PUBLISHSYSLOGEVENT&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_RLOCK&lt;BR /&gt;SSPLIS_LOTINFOUTIL_RLOCK&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_TLOGINFO&lt;BR /&gt;SSPLIS_LOTINFOUTIL_TLOGINFO&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_UNLOCK&lt;BR /&gt;SSPLIS_LOTINFOUTIL_UNLOCK&lt;BR /&gt;&lt;BR /&gt;Module SSPLIS_LOTINFOUTIL_WLOCK&lt;BR /&gt;SSPLIS_LOTINFOUTIL_WLOCK&lt;BR /&gt;&lt;BR /&gt;DEV01&amp;gt;&lt;BR /&gt;&amp;gt; To analyze an object file it's recommended &lt;BR /&gt;&amp;gt; to use analyze/object.&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion.  I was using Analyze/Object, but in "prettying up" the commands to post here, I substituted /image for /Object.  Somehow, when I type "Analyze/", "Image" always follows, no matter what I mean :&amp;gt;&lt;BR /&gt;&amp;gt; To check if all object modules are  &lt;BR /&gt;&amp;gt; processed check the Elf headers. Requesting &lt;BR /&gt;&amp;gt; the symbol tables also displays the Elf &lt;BR /&gt;&amp;gt; headers.&lt;BR /&gt;&amp;gt; Together with the section header table &lt;BR /&gt;&amp;gt; information and the file size it should be &lt;BR /&gt;&amp;gt; possible to determine if all modules are &lt;BR /&gt;&amp;gt; processed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; So please, post the output of &lt;BR /&gt;&amp;gt; ANALYZE/OBJECT/SECTION=SYMTAB and a &lt;BR /&gt;&amp;gt; DIR/SIZE for the object file. That's also &lt;BR /&gt;&amp;gt; the minimum amount of information HP &lt;BR /&gt;&amp;gt; support needs to analyze if there is a &lt;BR /&gt;&amp;gt; problem. But the whole object file is a &lt;BR /&gt;&amp;gt; better input.&lt;BR /&gt;&lt;BR /&gt;DEV01&amp;gt;dir /size lotinfoutil.obj&lt;BR /&gt;&lt;BR /&gt;Directory USER1:[DEV01.SSP.LIS]&lt;BR /&gt;&lt;BR /&gt;LOTINFOUTIL.OBJ;1                             594&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 594 blocks.&lt;BR /&gt;DEV01&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I've attached the output from analyze/object/section=symtab/out=root:[temp]lotinfoutil.ana lotinfoutil.obj&lt;BR /&gt;&lt;BR /&gt;Thanks;&lt;BR /&gt;&lt;BR /&gt;Glenn</description>
      <pubDate>Mon, 30 Jul 2007 11:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045371#M38143</guid>
      <dc:creator>Glenn Wolf</dc:creator>
      <dc:date>2007-07-30T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045372#M38144</link>
      <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;  If ANALYZE sees a different number of modules than LIBRARIAN, that's a bug. Please report it to HP Customer Support, send them a copy of the errant file.&lt;BR /&gt;&lt;BR /&gt;  There's not a lot this forum can do about bugs apart from recommending they get reported (or hoping that an HP engineer sees this thread, BUT without a formal report from a customer, there's not always much they can do about it).&lt;BR /&gt;&lt;BR /&gt;  If you need to analyze all the modules, use LIBRARIAN to extract modules into separate object files:&lt;BR /&gt;&lt;BR /&gt;$ LIBRARY/EXTRACT=(mod1,mod2,...)/OUTPUT=file.obj yourlib&lt;BR /&gt;&lt;BR /&gt;will place the listed modules into the output file. It may be interesting to experiment with different numbers and/or combinations of modules into a single object file. Is there one specific module that stops the analysis? Worst case, split the file into 17 individual files and ANALYZE them independently.</description>
      <pubDate>Mon, 30 Jul 2007 19:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045372#M38144</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-07-30T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045373#M38145</link>
      <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;Yes, it looks like a bug, either in Analyze (98%) or in the Fortran compiler (2%). The last shown module ends at a disk block boundary. The next module should start immediately after that. When reporting this problem to HP, please supply the object file.&lt;BR /&gt;&lt;BR /&gt;Once all the modules are loaded into an object library, you should be able to analyze them with $ ANALYZE/OBJECT object-library.OLB/INCLUDE&lt;BR /&gt;&lt;BR /&gt;If no module is specified with /INCLUDE, "*" is default.&lt;BR /&gt;&lt;BR /&gt;Volker (the messenger).</description>
      <pubDate>Tue, 31 Jul 2007 03:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045373#M38145</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-31T03:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045374#M38146</link>
      <description>I will open a problem report with HP.  Thanks for all your help!&lt;BR /&gt;&lt;BR /&gt;Glenn</description>
      <pubDate>Tue, 31 Jul 2007 11:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045374#M38146</guid>
      <dc:creator>Glenn Wolf</dc:creator>
      <dc:date>2007-07-31T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045375#M38147</link>
      <description>While I think something is odd, read about the /SEPARATE_COMPILATION qualifier for the FORTRAN command.  The default is not to create single object modules per 'routine' like F77 used to do.  This often catches folks when moving to F90.</description>
      <pubDate>Tue, 31 Jul 2007 15:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045375#M38147</guid>
      <dc:creator>John Reagan</dc:creator>
      <dc:date>2007-07-31T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: IA64 Analyze/Object doesn't process all modules in a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045376#M38148</link>
      <description>This is apparently a known bug in Analyze.  Here is the response from OpenVMS engineering:&lt;BR /&gt;&lt;BR /&gt;Thanks for reporting this problem. There is a bug in ANALYZE processing multiple modules in an object file. Analyze incorrectly adds a NOBITS section into the size of the module. The forth module in the supplied object file contains a big NOBITS section. So, to ANALYZE it looks like this module covers all (and even more) of the object file and ANALYZE stops looking for more modules.&lt;BR /&gt;&lt;BR /&gt;The problem will be fixed in the next version of VMS.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ia64-analyze-object-doesn-t-process-all-modules-in-a-file/m-p/4045376#M38148</guid>
      <dc:creator>Glenn Wolf</dc:creator>
      <dc:date>2007-08-06T14:21:33Z</dc:date>
    </item>
  </channel>
</rss>

