hello, > On Jan 28, 2016, at 19:36, Jim Meyering <[email protected]> wrote: > > http://meyering.net/grep/grep-2.22.31-8b6a.tar.xz
Testing from the above tarball, no test failures on the following systems: Fedora-21,ppc64le Fedora-20,ppc64 Ubuntu-14,aarch64 AIX 7.1,power7 OpenSolaris 5.10/5.11 on i86pc and suv4u/sub4v Mac OS X 10.10.4 OpenBSD 5.8, 5.7, 5.6, amd64 FreeBSD 10.1, 9.3, amd64 NetBSD 6.1.4, amd64 Debian-7/kFreeBSD-9,amd64 and also no test failures on various GNU/Linux on x86-64: Ubuntu-14.04 with gcc,clang,tcc Ubuntu-15.04 (also on i686) Debian 8.1, 7.6 Fedora 23, 22, 21 CentOS 7, 6.5 openSUSE 42.1, 13.1 ====== On NetBSD 7.0,amd64 - no grep tests failures, but one gnulib test failed to compile (test-localename). log attached.
NetBSD70-gnulib-test-error.log
Description: Binary data
On Minix-3.3.0,i386, one test failed ('symlink'). log attached.
Minix330-test-suite.log
Description: Binary data
========
When building from GIT (not tarball), and "-Werror" is enabled,
building fails on Mac OS X 10.10.4 with:
====
$ make V=1
...
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -W -Wabi -Waddress
-Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wcomment -Wcomments -Wdate-time -Wdeprecated
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body
-Wendif-labels -Wenum-compare -Wextra -Wformat-extra-args -Wformat-nonliteral
-Wformat-security -Wformat-y2k -Wformat-zero-length -Wignored-qualifiers
-Wimplicit -Wimplicit-function-declaration -Wimplicit-int
-Wincompatible-pointer-types -Winit-self -Wint-conversion -Wint-to-pointer-cast
-Winvalid-pch -Wlogical-not-parentheses -Wmain -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs
-Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wodr
-Wold-style-definition -Woverflow -Woverlength-strings -Wpacked -Wparentheses
-Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-type
-Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow
-Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wswitch -Wswitch-bool -Wtrigraphs -Wtype-limits
-Wuninitialized -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label
-Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs
-Wvariadic-macros -Wvolatile-register-var -Wwrite-strings
-Wno-missing-field-initializers -Wno-missing-field-initializers
-Wno-sign-compare -Wno-unused-parameter -Wno-format-nonliteral -Werror -g -O2
-MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
error.c:386:12: error: data argument not used by format string
[-Werror,-Wformat-extra-args]
file_name, line_number);
^
1 error generated.
make[3]: *** [error.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
===
The 'gcc' command on this Mac is actually clang:
==
$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
regards,
- assaf
