bug-gnucobol
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] [GNU Cobol 2.0] testsuite: 118 136 181 184 185 186 187


From: Jim Rinn
Subject: [open-cobol-list] [GNU Cobol 2.0] testsuite: 118 136 181 184 185 186 187 189 205 249 250 251 252 255 258 259 260 270 285 295 296 300 320 321 322 337 340 347 396 failed
Date: Wed, 29 Apr 2015 11:09:54 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]