Bug ID 1133274
Summary LTO: pcre2 build fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Fails due to:

run-test fails:
[  104s] FAIL: RunTest

(gdb) bt
#0  0x00007ffff7ec7fa5 in re_compile_internal () from /lib64/libc.so.6
#1  0x00007ffff7ec896c in regcomp () from /lib64/libc.so.6
#2  0x000055555556a531 in process_pattern () at src/pcre2test.c:5337
#3  0x000055555555d880 in main (argc=<optimized out>, argv=<optimized out>) at
src/pcre2test.c:8684

where regcomp from libc is called, but should be:

  /* Compiling succeeded. Check that the values in the preg block are sensible.
  It can happen that pcre2test is accidentally linked with a different POSIX
  library which succeeds, but of course puts different things into preg. In
  this situation, calling regfree() may cause a segfault (or invalid free() in
  valgrind), so ensure that preg.re_pcre2_code is NULL, which suppresses the
  calling of regfree() on exit. */


You are receiving this mail because: