Re: [pcre-dev] PCRE 8.34 is released

Page principale
Supprimer ce message
Auteur: Petr Pisar
Date:  
À: pcre-dev
Sujet: Re: [pcre-dev] PCRE 8.34 is released
On Sun, Dec 15, 2013 at 05:09:26PM +0000, ph10@??? wrote:
> I have just put the tarballs for 8.34 in the usual place:
>

I'm sorry I did not find a time to test the release candate properly. Now
I test the 8.34 on various platforms (ppc, ppc64, s390, s390x, i686, x86_64)
with JIT enabled where available and all tests pass.

However GCC 4.8.2 emits new warnings (CFLAGS='-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'). I did
not studied them yet, but you could be interrested in them, so the build log
follows.

-- Petr

+ make -j4
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
make  all-am
make[1]: Entering directory `/home/petr/fedora/pcre/pcre-8.34'
  CC       libpcre_la-pcre_byte_order.lo
  CC       libpcre_la-pcre_compile.lo
  CC       libpcre_la-pcre_config.lo
  CC       libpcre_la-pcre_dfa_exec.lo
pcre_compile.c: In function 'compile_regex':
pcre_compile.c:6509:26: warning: 'namelen' may be used uninitialized in this function [-Wmaybe-uninitialized]
       int i, set, unset, namelen;
                          ^
  CC       libpcre_la-pcre_exec.lo
  CC       libpcre_la-pcre_fullinfo.lo
  CC       libpcre_la-pcre_get.lo
  CC       libpcre_la-pcre_globals.lo
pcre_exec.c: In function 'match':
pcre_exec.c:2703:35: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
         length = md->offset_vector[offset+1] - md->offset_vector[offset];
                                   ^
  CC       libpcre_la-pcre_jit_compile.lo
  CC       libpcre_la-pcre_maketables.lo
  CC       libpcre_la-pcre_newline.lo
  CC       libpcre_la-pcre_ord2utf8.lo
  CC       libpcre_la-pcre_refcount.lo
  CC       libpcre_la-pcre_string_utils.lo
  CC       libpcre_la-pcre_study.lo
  CC       libpcre_la-pcre_tables.lo
  CC       libpcre_la-pcre_ucd.lo
  CC       libpcre_la-pcre_valid_utf8.lo
  CC       libpcre_la-pcre_version.lo
  CC       libpcre_la-pcre_xclass.lo
  CC       libpcre_la-pcre_chartables.lo
  CC       libpcre16_la-pcre16_byte_order.lo
  CC       libpcre16_la-pcre16_chartables.lo
  CC       libpcre16_la-pcre16_compile.lo
  CC       libpcre16_la-pcre16_config.lo
  CC       libpcre16_la-pcre16_dfa_exec.lo
In file included from pcre16_compile.c:43:0:
pcre_compile.c: In function 'compile_regex':
pcre_compile.c:6748:31: warning: 'name' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (!IS_DIGIT(name[i]))
                               ^
pcre_compile.c:6511:25: note: 'name' was declared here
       const pcre_uchar *name;
                         ^
pcre_compile.c:6509:26: warning: 'namelen' may be used uninitialized in this function [-Wmaybe-uninitialized]
       int i, set, unset, namelen;
                          ^
pcre_compile.c:6680:26: warning: 'recno' may be used uninitialized in this function [-Wmaybe-uninitialized]
             cd->bracount - recno + 1 : recno + cd->bracount;
                          ^
pcre_compile.c:4453:7: note: 'recno' was declared here
   int recno;
       ^
  CC       libpcre16_la-pcre16_exec.lo
  CC       libpcre16_la-pcre16_fullinfo.lo
In file included from pcre16_exec.c:43:0:
pcre_exec.c: In function 'match':
pcre_exec.c:2703:35: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
         length = md->offset_vector[offset+1] - md->offset_vector[offset];
                                   ^
  CC       libpcre16_la-pcre16_get.lo
  CC       libpcre16_la-pcre16_globals.lo
  CC       libpcre16_la-pcre16_jit_compile.lo
  CC       libpcre16_la-pcre16_maketables.lo
  CC       libpcre16_la-pcre16_newline.lo
  CC       libpcre16_la-pcre16_ord2utf16.lo
  CC       libpcre16_la-pcre16_refcount.lo
  CC       libpcre16_la-pcre16_string_utils.lo
  CC       libpcre16_la-pcre16_study.lo
  CC       libpcre16_la-pcre16_tables.lo
  CC       libpcre16_la-pcre16_ucd.lo
  CC       libpcre16_la-pcre16_utf16_utils.lo
  CC       libpcre16_la-pcre16_valid_utf16.lo
  CC       libpcre16_la-pcre16_version.lo
  CC       libpcre16_la-pcre16_xclass.lo
  CC       libpcre16_la-pcre_chartables.lo
  CC       libpcre32_la-pcre32_byte_order.lo
  CC       libpcre32_la-pcre32_chartables.lo
  CC       libpcre32_la-pcre32_compile.lo
  CC       libpcre32_la-pcre32_config.lo
  CC       libpcre32_la-pcre32_dfa_exec.lo
In file included from pcre32_compile.c:43:0:
pcre_compile.c: In function 'compile_regex':
pcre_compile.c:6748:31: warning: 'name' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (!IS_DIGIT(name[i]))
                               ^
pcre_compile.c:6511:25: note: 'name' was declared here
       const pcre_uchar *name;
                         ^
pcre_compile.c:6509:26: warning: 'namelen' may be used uninitialized in this function [-Wmaybe-uninitialized]
       int i, set, unset, namelen;
                          ^
pcre_compile.c:6680:26: warning: 'recno' may be used uninitialized in this function [-Wmaybe-uninitialized]
             cd->bracount - recno + 1 : recno + cd->bracount;
                          ^
pcre_compile.c:4453:7: note: 'recno' was declared here
   int recno;
       ^
  CC       libpcre32_la-pcre32_exec.lo
  CC       libpcre32_la-pcre32_fullinfo.lo
  CC       libpcre32_la-pcre32_get.lo
In file included from pcre32_exec.c:43:0:
pcre_exec.c: In function 'match':
pcre_exec.c:2703:35: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
         length = md->offset_vector[offset+1] - md->offset_vector[offset];
                                   ^
  CC       libpcre32_la-pcre32_globals.lo
  CC       libpcre32_la-pcre32_jit_compile.lo
  CC       libpcre32_la-pcre32_maketables.lo
  CC       libpcre32_la-pcre32_newline.lo
  CC       libpcre32_la-pcre32_ord2utf32.lo
  CC       libpcre32_la-pcre32_refcount.lo
  CC       libpcre32_la-pcre32_string_utils.lo
  CC       libpcre32_la-pcre32_study.lo
  CC       libpcre32_la-pcre32_tables.lo
  CC       libpcre32_la-pcre32_ucd.lo
  CC       libpcre32_la-pcre32_utf32_utils.lo
  CC       libpcre32_la-pcre32_valid_utf32.lo
  CC       libpcre32_la-pcre32_version.lo
  CC       libpcre32_la-pcre32_xclass.lo
  CC       libpcre32_la-pcre_chartables.lo
  CC       libpcreposix_la-pcreposix.lo
  CXX      libpcrecpp_la-pcrecpp.lo
  CXX      libpcrecpp_la-pcre_scanner.lo
  CXX      libpcrecpp_la-pcre_stringpiece.lo
  CC       pcretest-pcretest.o
  CC       pcretest-pcre_printint.o
  CC       pcretest-pcre16_printint.o
  CC       pcretest-pcre32_printint.o
  CC       pcregrep-pcregrep.o
  CC       pcre_jit_test-pcre_jit_test.o
  CXX      pcrecpp_unittest-pcrecpp_unittest.o
  CXX      pcre_scanner_unittest-pcre_scanner_unittest.o
  CXX      pcre_stringpiece_unittest-pcre_stringpiece_unittest.o
  CCLD     libpcre.la
  CCLD     libpcre16.la
  CCLD     libpcre32.la
  CCLD     libpcreposix.la
  CXXLD    libpcrecpp.la
  CCLD     pcregrep
  CCLD     pcre_jit_test
  CCLD     pcretest
  CXXLD    pcrecpp_unittest
  CXXLD    pcre_scanner_unittest
  CXXLD    pcre_stringpiece_unittest
make[1]: Leaving directory `/home/petr/fedora/pcre/pcre-8.34'
+ exit 0