bug-gnucobol
[Top][All Lists]
Advanced

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

[open-cobol-list] Re: "make check failed" on MinGW


From: Roger While
Subject: [open-cobol-list] Re: "make check failed" on MinGW
Date: Thu Jun 30 22:46:33 2005

OK. That pinpoints the gcc compiler.
Is your gcc 3.4.4 a Mingw port or did you build yourself ?
If it is a Mingw gcc port, get back to the Mingw developers
and tell them to start including the patches
to the 3.4.4 version  :-)
Actually, looking on the MingW site, the 3.4.4 is "candidate"
status which is not surprising as 3.4.4 was only released by
the gcc team on April 18.
According to the gcc list there are a lot of problems/patches
with this version.
So, revert to the stable version.

Having said all that, I suppose it is no big deal to use chars
and add a bit of padding.

Regarding the Nist tests, please recheck after reverting gcc.

Can you either send me or post a URL, where I can get the
DB 4.2 MingW port ? I am still working with an older 4.1 that
I grabbed somewhere.

Roger

Hello Roger,
 Thank you for the answer.

 Roger While wrote:
  > I can not reproduce this.
  > All data rep tests pass in my environment.
  > This is MSys/MingW stable and
  > "gcc 3.2.3 (mingw special 20030504-1)"
  > as gcc -v reports.
 My present environment is as follows.
 *Windows XP Pro SP1
 *MSYS-1.0.11 + autoconf-2.59 + automake-1.8.2 + libtool-1.5
 *MSYS DTK(Developer Tool Kit) 1.0.1
 *MinGW is
   binutils-2.15.94-20050118-1
   gcc-core-3.4.4-20050522-1 + gcc-g++-3.4.4-20050522-1
   mingw-runtime-3.7 + mingw-utils-0.3 + w32api-3.2
 *gettext-0.11.5-2003.02.01-1.exe
 *libiconv-1.8.0-2003.02.01-1.exe
 *pdcurses-2.6.0-2003.07.21-1.exe
 *db-4.2.52(Installation from source)
 *gmp-4.1.3(Installation from source)
 *libtool-1.5.6(Installation from source)

  > Can you try changing the following lines at 124-126 in
  > libcob/common.h :
  >   unsigned int flag_filename_mapping:1;
  >   unsigned int flag_binary_truncate:1;
  >   unsigned int flag_pretty_display:1;
  >
  > Change these to char fields thus :
  >   char flag_filename_mapping;
  >   char flag_binary_truncate;
  >   char flag_pretty_display;
 When the above-mentioned was corrected,
   it came to pass "Make check" all. Thank you.

 However, even if the above-mentioned was corrected,
   some tests were not able to be passed by "NIST Test Suite".
 Will this be a problem of the environment?

  > It is the only thing I can think of.
  > If that works, I would say your compiler is borked.
 Does this only have to be thought that this problem
   happens when gcc-3.4.4(mingw special) is used?
 If it is so, I will use a little old gcc.




reply via email to

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