Re: undefined reference to `pcre_jit_exec'

2017-10-12 Thread Ævar Arnfjörð Bjarmason
On Thu, Oct 12 2017, Jeff King jotted: > On Thu, Oct 12, 2017 at 04:34:38PM -0400, Jeffrey Walton wrote: > >> > It looks like autoconf turns on USE_LIBPCRE1, but isn't smart enough to >> > test NO_LIBPCRE1_JIT. >> >> If Git wants Jit, then I am inclined to configure PCRE to provide it. > > It doe

Re: undefined reference to `pcre_jit_exec'

2017-10-12 Thread Jeffrey Walton
On Thu, Oct 12, 2017 at 4:38 PM, Jeff King wrote: > On Thu, Oct 12, 2017 at 04:34:38PM -0400, Jeffrey Walton wrote: > >> > It looks like autoconf turns on USE_LIBPCRE1, but isn't smart enough to >> > test NO_LIBPCRE1_JIT. >> >> If Git wants Jit, then I am inclined to configure PCRE to provide it.

Re: undefined reference to `pcre_jit_exec'

2017-10-12 Thread Jeff King
On Thu, Oct 12, 2017 at 04:34:38PM -0400, Jeffrey Walton wrote: > > It looks like autoconf turns on USE_LIBPCRE1, but isn't smart enough to > > test NO_LIBPCRE1_JIT. > > If Git wants Jit, then I am inclined to configure PCRE to provide it. It does make things faster. OTOH, we lived for many year

Re: undefined reference to `pcre_jit_exec'

2017-10-12 Thread Jeffrey Walton
;> and Fedora 26 with GCC 7.2. >> >> ... >> LINK git-credential-store >> libgit.a(grep.o): In function `pcre1match': >> grep.c:(.text+0x1219): undefined reference to `pcre_jit_exec' >> collect2: error: ld returned 1 exit status >> m

Re: undefined reference to `pcre_jit_exec'

2017-10-12 Thread Jeff King
-store > libgit.a(grep.o): In function `pcre1match': > grep.c:(.text+0x1219): undefined reference to `pcre_jit_exec' > collect2: error: ld returned 1 exit status > make: *** [Makefile:2145: git-credential-store] Error 1 Maybe: $ git grep -h -B5 -A1 pcre_jit Makefile # When using USE

undefined reference to `pcre_jit_exec'

2017-10-12 Thread Jeffrey Walton
when building with PCRE 8.41 with Git 2.14.2. Old and new platforms are witnessing it. I observe it on CentOS 5 with GCC 4.1; and Fedora 26 with GCC 7.2. ... LINK git-credential-store libgit.a(grep.o): In function `pcre1match': grep.c:(.text+0x1219): undefined reference to `pcre_jit_exec