Having a problem with dynamic calls failing. The make check of the test suite reported a number of errors. Many of these are due to dynamic calls failing. A simple test program of my own linked statically works fine but also fails linked dynamically. Built on AIX 7.1 using gnu-cobol-2.0_nightly_r411.tar file. Only configure option –prefix. The config.log and testsuite.log are attached. Below is my test linked dynamically and statically but any of the failing test suite cases could also be used. # cat cobman.cbl IDENTIFICATION DIVISION. PROGRAM-ID. cobman. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. PROCEDURE DIVISION. 0000-BEGIN. call "cobsub". exit program. # cat cobsub.cbl IDENTIFICATION DIVISION. PROGRAM-ID. cobsub. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. PROCEDURE DIVISION. 0000-BEGIN. exit program. # cobc -x cobman.cbl # cobc -m cobman.cbl # cobman Attempt to reference unallocated memory (Signal SIGSEGV) Abnormal termination - File contents may be incorrect # Statically #cobc –x cobman.cbl cobsub.cbl #cobman # Jim Rinn |
Attachment:
config.log
Description: Binary data
Attachment:
testsuite.log
Description: Binary data
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ open-cobol-list mailing list open-cobol-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/open-cobol-list