bug-grep
[Top][All Lists]
Advanced

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

grep-2.5.4-20090203 compilation issues


From: Nelson H. F. Beebe
Subject: grep-2.5.4-20090203 compilation issues
Date: Fri, 6 Feb 2009 17:35:38 -0700 (MST)

I've just completed test builds of grep-2.5.4-20090203 in about 25
Unix environments.  While most succeeded and passed their tests, there
are some consistent failures of tests on some systems, notably Sun
Solaris on SPARC and IA-32/EM64T/AMD64.

Compilations report anomalies like these:

        Making all in src
        "grep.c", line 2092: warning: implicit function declaration:
        strcasecmp
        "search.c", line 169: warning: argument #1 is incompatible
        with prototype: prototype: restrict pointer to char :
        "/usr/include/iso/wchar_iso.h", line 300 argument : pointer to
        const char
        "search.c", line 284: void function cannot return value
        "search.c", line 289: void function cannot return value
        "search.c", line 294: void function cannot return value
        c99: acomp failed for search.c

The error also broke builds on DEC OSF/1 Alpha and SGI IRIX MIPS with
native cc.

In compilations on Sun Solaris with three different versions of gcc,
plus Sun cc and Sun c99, the test output looks something like this:

        ...
        PASS: backref.sh
        PASS: file.sh
        Testing:  ../src/grep w. -o -b
          input:  "XwA YwB/ZwC/"
          output: "4:wA/8:wB/12:wC/"
          expect: "1:wA/5:wB/9:wC/"
        FAIL
        ... many more such failures ...
        FAIL
        FAIL: foad1.sh
        SKIP: fmbtest.sh
        PASS: yesno.sh
        =================================
        1 of 13 tests failed
        (1 tests were not run)
        Please report to address@hidden
        =================================

That test also fails on GNU/Linux Alpha, and Mac OS X EM64T (but
passes on Mac OS X PowerPC).


-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------




reply via email to

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