bug-grep
[Top][All Lists]
Advanced

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

[bug #24813] grep 2.5.3 fails to compile on Sun Solaris with "void funct


From: Paolo Bonzini
Subject: [bug #24813] grep 2.5.3 fails to compile on Sun Solaris with "void function cannot return value" error
Date: Tue, 28 Jun 2011 12:06:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Update of bug #24813 (project grep):

                  Status:               Need Info => In Progress            

    _______________________________________________________

Follow-up Comment #3:

That particular problem has gone way, but a couple of others sneaked in:

* Initially, the configure step (with Studio 12.2 cc, but independent of
  the compiler used) failed: the last relevant line in config.log is

configure:12489: checking for MAP_ANONYMOUS
configure:3255: error: fn_grep: regular expressions not supported

  For some reason, configure decides that the GNU grep 2.5.1 I have in
  PATH is insufficient and falls back to fn_grep, which fails on several
  patterns that are taken as regular expressions.  Removing the
  offending dots lets configure complete:

--- configure.dist      2011-06-21 20:05:44.000000000 +0200
+++ configure   2011-06-28 12:49:25.971164000 +0200
@@ -12496 +12496 @@
-    I cant identify this map.
+    I cant identify this map
@@ -12501 +12501 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
@@ -12512 +12512 @@
-    I cant identify this map.
+    I cant identify this map
@@ -12517 +12517 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
@@ -25456 +25456 @@
-    I cant identify this map.
+    I cant identify this map
@@ -25461 +25461 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
@@ -25472 +25472 @@
-    I cant identify this map.
+    I cant identify this map
@@ -25477 +25477 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
@@ -26958 +26958 @@
-    I cant identify this map.
+    I cant identify this map
@@ -26963 +26963 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
@@ -26974 +26974 @@
-    I cant identify this map.
+    I cant identify this map
@@ -26979 +26979 @@
-  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :

* There's one compiler warning:

"/vol/src/gnu/grep/grep-2.9/src/dfa.c", line 1546: warning: initializer does
not fit or is out of range: 0xfffffffc

* A couple of tests fail:

FAIL: test-mbrtowc4.sh
FAIL: test-mbrtowc3.sh
FAIL: test-mbsrtowcs4.sh
FAIL: test-setlocale2.sh
FAIL: test-mbrtowc3.sh (exit: 262)
FAIL: test-mbrtowc4.sh (exit: 262)
FAIL: test-mbsrtowcs4.sh (exit: 262)
FAIL: test-setlocale2.sh (exit: 1)


(Thanks to Rainer Orth for passing me the above results).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24813>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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