Re: [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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've never recommended to use GNU on Power as it's a lot of bugs in it which you will figure out later after all tests are okay.
Use IBM XLC.

Anyway, according my config.log for gnu-cobol-cpp
1. env vars:
OBJECT_MODE=64
CC=xlc_r
CFLAGS=-I /usr/local/include -qchars=signed -O -Q -w
CPPFLAGS=-I /usr/local/include
LDFLAGS=-L/usr/local/lib
CXX=xlc++_r
CXXFLAGS=-I /usr/local/include -qchars=signed -O -Q -w
CPP=xlc_r -E
CXXCPP=xlc++_r -E

2. config
./configure --disable-static --with-pic --with-vbisam --without-db --with-mpir

Regards,
Sergey


On 4/29/2015 12:09 PM, Jim Rinn wrote:

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

 



------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux