Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627086 - dev-vcs/git-2.14.0 fails with undefined reference to pcre_jit_exec if dev-libs/pcre was compiled with USE=-jit
Summary: dev-vcs/git-2.14.0 fails with undefined reference to pcre_jit_exec if dev-lib...
Status: RESOLVED DUPLICATE of bug 627088
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-05 10:51 UTC by Attila Tóth
Modified: 2017-08-05 14:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2017-08-05 10:51:29 UTC
x86_64-pc-linux-gnu-gcc  -O2 -march=native -pipe -Wall -I. -DUSE_LIBPCRE1 -DHAVE_ALLOCA_H -DUSE_CURL_FOR_IMAP_SEND -DSHA1_BLK  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM  -DFREAD_READS_DIRECTORIES -DNO_STRLCPY -DSHELL_PATH='"/bin/sh"' -DPAGER_ENV='"LESS=FRX LV=-c"' -o git-http-backend -Wl,-O1 -Wl,--as-needed  http-backend.o common-main.o libgit.a xdiff/lib.a  -lpcre -lz -lpthread -lrt
libgit.alibgit.a((grep.ogrep.o))::  InIn  functionfunction  ``patmatchpatmatch''::

grep.cgrep.c::((..texttext++0x12f90x12f9))::  undefinedundefined  referencereference  toto  ``pcre_jit_execpcre_jit_exec''

collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [Makefile:2171: git-credential-store] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:2171: git-fast-import] Error 1
libgit.a(grep.o): In function `patmatch':
grep.c:(.text+0x12f9): undefined reference to `pcre_jit_exec'
collect2: error: ld returned 1 exit status
make: *** [Makefile:2171: git-daemon] Error 1
libgit.a(grep.o): In function `patmatch':
grep.c:(.text+0x12f9): undefined reference to `pcre_jit_exec'
collect2: error: ld returned 1 exit status
make: *** [Makefile:2171: git-http-backend] Error 1

Problem caused by dev-libs/pcre compiled with USE=-jit. Workaround: USE=-pcre for git.
Comment 1 ad PC 2017-08-05 11:05:13 UTC
I can confirm this bug:

libgit.a(grep.o): In function `patmatch':
grep.c:(.text+0x12f9): undefined reference to `pcre_jit_exec'
Comment 2 Coacher 2017-08-05 14:25:20 UTC

*** This bug has been marked as a duplicate of bug 627088 ***