Skip to content

[pcre2:x64-linux] build failure #12343

@cenit

Description

@cenit

After #11754 has been merged, upgrade to latest revision fails here

Host Environment

  • OS: Ubuntu 20.04
  • Compiler: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0

To Reproduce

./vcpkg install pcre2

Failure logs

FAILED: CMakeFiles/pcre2-8.dir/src/pcre2_jit_compile.c.o
/usr/bin/cc -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=8 -I. -I/home/user/vcpkg/buildtrees/pcre2/src/pcre2-10-b37153b2b1.clean -I/home/user/vcpkg/installed/x64-linux/include -fPIC -I"/home/user/vcpkg>
In file included from /home/user/vcpkg/buildtrees/pcre2/src/pcre2-10-b37153b2b1.clean/src/sljit/sljitLir.h:81,
                 from /home/user/vcpkg/buildtrees/pcre2/src/pcre2-10-b37153b2b1.clean/src/sljit/sljitLir.c:27,
                 from /home/user/vcpkg/buildtrees/pcre2/src/pcre2-10-b37153b2b1.clean/src/pcre2_jit_compile.c:79:
/home/user/vcpkg/buildtrees/pcre2/src/pcre2-10-b37153b2b1.clean/src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
  219 | #error "-mshstk is needed to compile with -fcf-protection"

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions