bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] [GNU Cobol 2.0] testsuite: 346 349 failed on Solar


From: Sergey Kashyrin
Subject: Re: [open-cobol-list] [GNU Cobol 2.0] testsuite: 346 349 failed on Solaris (sparc)
Date: Wed, 17 Dec 2014 14:00:33 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi Paul,

There are several problems with a current 2.0 implementation:

  1. by value long-only
    Because in a sample long-only is numeric-edited, "by value" is passing 4-bytes string instead of the "int" value of the field (also small possibility of SIGSEGV).
    We need to fix that ether way, for example long-only S9(7) COMP-5, or remove "by value" and get the correct value in libcob

  2. Current libcob implementation of this function is not aware of BIG_ENDIAN, which is more heavy bug. The test is failing on all BIG-ENDIAN platforms.

Regards,
Sergey


On 12/15/2014 4:06 AM, address@hidden wrote:
Hello,

I tried to compile the GNU Cobol compiler from branch 2.0 r470 on Solaris (sparc). Compiling the sources is ok but two tests failed.


output of uname -a SunOS sol10d 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V440

If I call CBL_OPEN_FILE like in the following code snippet:

      ...

       01 OPEN-MODE  PIC X USAGE COMP-X VALUE 1.

       
     ....
       

       CALL "CBL_OPEN_FILE" using F-NAME, OPEN-MODE, 0, 0, F-HD
             returning RET-CODE
       DISPLAY "File open rc = " RET-CODE    
       
.....


the call to CBL_OPEN_FILE succeeds.


The enclose ZIP file contains the testsuite.log file.



Best regards

Paul Meinhardt  
(Development)


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk


_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


reply via email to

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