microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
21.76k stars 6.05k forks source link

[pcre] Build failure on arm64-android #38496

Closed mwx2006 closed 1 week ago

mwx2006 commented 2 weeks ago

Package: pcre:arm64-android@8.45#5

Host Environment

To Reproduce

vcpkg install pcre:arm64-android Failure logs

-- Using cached pcre-8.45.zip.
-- Cleaning sources at /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/data1/vcpkg/downloads/pcre-8.45.zip
-- Applying patch pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch
-- Applying patch pcre-8.45_fix_postfix_for_debug_Windows_builds.patch
-- Applying patch export-cmake-targets.patch
-- Applying patch pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch
-- Using source at /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean
-- Configuring arm64-android
-- Building arm64-android-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j21
    Working Directory: /mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg
    See logs for more information:
      /mnt/data1/vcpkg/buildtrees/pcre/install-arm64-android-dbg-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/pcre/portfile.cmake:48 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)
/mnt/data1/vcpkg/buildtrees/pcre/install-arm64-android-dbg-out.log ``` Change Dir: '/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg' Run Build Command(s): /mnt/data1/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j21 install [1/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_chartables.c.o -MF CMakeFiles/pcre.dir/pcre_chartables.c.o.d -o CMakeFiles/pcre.dir/pcre_chartables.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg/pcre_chartables.c [2/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_globals.c.o -MF CMakeFiles/pcre.dir/pcre_globals.c.o.d -o CMakeFiles/pcre.dir/pcre_globals.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_globals.c [3/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_fullinfo.c.o -MF CMakeFiles/pcre.dir/pcre_fullinfo.c.o.d -o CMakeFiles/pcre.dir/pcre_fullinfo.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_fullinfo.c [4/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_byte_order.c.o -MF CMakeFiles/pcre.dir/pcre_byte_order.c.o.d -o CMakeFiles/pcre.dir/pcre_byte_order.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_byte_order.c [5/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_config.c.o -MF CMakeFiles/pcre.dir/pcre_config.c.o.d -o CMakeFiles/pcre.dir/pcre_config.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_config.c [6/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_newline.c.o -MF CMakeFiles/pcre.dir/pcre_newline.c.o.d -o CMakeFiles/pcre.dir/pcre_newline.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_newline.c [7/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_ord2utf8.c.o -MF CMakeFiles/pcre.dir/pcre_ord2utf8.c.o.d -o CMakeFiles/pcre.dir/pcre_ord2utf8.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_ord2utf8.c [8/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_string_utils.c.o -MF CMakeFiles/pcre.dir/pcre_string_utils.c.o.d -o CMakeFiles/pcre.dir/pcre_string_utils.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_string_utils.c [9/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_refcount.c.o -MF CMakeFiles/pcre.dir/pcre_refcount.c.o.d -o CMakeFiles/pcre.dir/pcre_refcount.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_refcount.c [10/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_tables.c.o -MF CMakeFiles/pcre.dir/pcre_tables.c.o.d -o CMakeFiles/pcre.dir/pcre_tables.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_tables.c [11/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_version.c.o -MF CMakeFiles/pcre.dir/pcre_version.c.o.d -o CMakeFiles/pcre.dir/pcre_version.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_version.c [12/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_valid_utf8.c.o -MF CMakeFiles/pcre.dir/pcre_valid_utf8.c.o.d -o CMakeFiles/pcre.dir/pcre_valid_utf8.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_valid_utf8.c [13/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_maketables.c.o -MF CMakeFiles/pcre.dir/pcre_maketables.c.o.d -o CMakeFiles/pcre.dir/pcre_maketables.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_maketables.c [14/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_xclass.c.o -MF CMakeFiles/pcre.dir/pcre_xclass.c.o.d -o CMakeFiles/pcre.dir/pcre_xclass.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_xclass.c [15/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_get.c.o -MF CMakeFiles/pcre.dir/pcre_get.c.o.d -o CMakeFiles/pcre.dir/pcre_get.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_get.c [16/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_dfa_exec.c.o -MF CMakeFiles/pcre.dir/pcre_dfa_exec.c.o.d -o CMakeFiles/pcre.dir/pcre_dfa_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_dfa_exec.c FAILED: CMakeFiles/pcre.dir/pcre_dfa_exec.c.o /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_dfa_exec.c.o -MF CMakeFiles/pcre.dir/pcre_dfa_exec.c.o.d -o CMakeFiles/pcre.dir/pcre_dfa_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_dfa_exec.c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_dfa_exec.c:794:26: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (count > 0) memmove(offsets + 2, offsets, count * sizeof(int)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ 1 error generated. [17/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_compile.c.o -MF CMakeFiles/pcre.dir/pcre_compile.c.o.d -o CMakeFiles/pcre.dir/pcre_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c FAILED: CMakeFiles/pcre.dir/pcre_compile.c.o /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_compile.c.o -MF CMakeFiles/pcre.dir/pcre_compile.c.o.d -o CMakeFiles/pcre.dir/pcre_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:4632:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(orig_code, previous, IN_UCHARS(code - previous)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:5622:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(code + (32 / sizeof(pcre_uchar)), code, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:5784:7: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 1 + LINK_SIZE, previous, IN_UCHARS(1 + LINK_SIZE)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6113:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 1, previous, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6137:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 2 + LINK_SIZE, previous, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6401:15: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6535:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(tempcode + 1 + LINK_SIZE, tempcode, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:8554:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(start_bracket + 1 + LINK_SIZE, start_bracket, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:8993:5: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(slot + cd->name_entry_size, slot, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ 9 errors generated. [18/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_chartables.c.o -MF CMakeFiles/pcre16.dir/pcre16_chartables.c.o.d -o CMakeFiles/pcre16.dir/pcre16_chartables.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_chartables.c [19/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_byte_order.c.o -MF CMakeFiles/pcre16.dir/pcre16_byte_order.c.o.d -o CMakeFiles/pcre16.dir/pcre16_byte_order.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_byte_order.c [20/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_config.c.o -MF CMakeFiles/pcre16.dir/pcre16_config.c.o.d -o CMakeFiles/pcre16.dir/pcre16_config.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_config.c [21/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_globals.c.o -MF CMakeFiles/pcre16.dir/pcre16_globals.c.o.d -o CMakeFiles/pcre16.dir/pcre16_globals.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_globals.c [22/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_fullinfo.c.o -MF CMakeFiles/pcre16.dir/pcre16_fullinfo.c.o.d -o CMakeFiles/pcre16.dir/pcre16_fullinfo.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_fullinfo.c [23/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_ucd.c.o -MF CMakeFiles/pcre.dir/pcre_ucd.c.o.d -o CMakeFiles/pcre.dir/pcre_ucd.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_ucd.c [24/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_ord2utf16.c.o -MF CMakeFiles/pcre16.dir/pcre16_ord2utf16.c.o.d -o CMakeFiles/pcre16.dir/pcre16_ord2utf16.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_ord2utf16.c [25/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_string_utils.c.o -MF CMakeFiles/pcre16.dir/pcre16_string_utils.c.o.d -o CMakeFiles/pcre16.dir/pcre16_string_utils.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_string_utils.c [26/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcreposix.dir/pcreposix.c.o -MF CMakeFiles/pcreposix.dir/pcreposix.c.o.d -o CMakeFiles/pcreposix.dir/pcreposix.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcreposix.c [27/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_newline.c.o -MF CMakeFiles/pcre16.dir/pcre16_newline.c.o.d -o CMakeFiles/pcre16.dir/pcre16_newline.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_newline.c [28/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_get.c.o -MF CMakeFiles/pcre16.dir/pcre16_get.c.o.d -o CMakeFiles/pcre16.dir/pcre16_get.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_get.c [29/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_maketables.c.o -MF CMakeFiles/pcre16.dir/pcre16_maketables.c.o.d -o CMakeFiles/pcre16.dir/pcre16_maketables.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_maketables.c [30/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o -MF CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o.d -o CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_dfa_exec.c FAILED: CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o -MF CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o.d -o CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_dfa_exec.c In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_dfa_exec.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_dfa_exec.c:794:26: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (count > 0) memmove(offsets + 2, offsets, count * sizeof(int)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ 1 error generated. [31/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_study.c.o -MF CMakeFiles/pcre.dir/pcre_study.c.o.d -o CMakeFiles/pcre.dir/pcre_study.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_study.c [32/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_compile.c.o -MF CMakeFiles/pcre16.dir/pcre16_compile.c.o.d -o CMakeFiles/pcre16.dir/pcre16_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c FAILED: CMakeFiles/pcre16.dir/pcre16_compile.c.o /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_compile.c.o -MF CMakeFiles/pcre16.dir/pcre16_compile.c.o.d -o CMakeFiles/pcre16.dir/pcre16_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:4632:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(orig_code, previous, IN_UCHARS(code - previous)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:5622:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(code + (32 / sizeof(pcre_uchar)), code, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:5784:7: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 1 + LINK_SIZE, previous, IN_UCHARS(1 + LINK_SIZE)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6113:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 1, previous, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6137:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(previous + 2 + LINK_SIZE, previous, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6401:15: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:6535:11: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(tempcode + 1 + LINK_SIZE, tempcode, IN_UCHARS(len)); ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:8554:9: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(start_bracket + 1 + LINK_SIZE, start_bracket, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ In file included from /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_compile.c:43: /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_compile.c:8993:5: error: call to undeclared function 'bcopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memmove(slot + cd->name_entry_size, slot, ^ /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_internal.h:385:26: note: expanded from macro 'memmove' #define memmove(a, b, c) bcopy(b, a, c) ^ 9 errors generated. [33/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_exec.c.o -MF CMakeFiles/pcre16.dir/pcre16_exec.c.o.d -o CMakeFiles/pcre16.dir/pcre16_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_exec.c [34/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_exec.c.o -MF CMakeFiles/pcre.dir/pcre_exec.c.o.d -o CMakeFiles/pcre.dir/pcre_exec.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_exec.c [35/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre16.dir/pcre16_jit_compile.c.o -MF CMakeFiles/pcre16.dir/pcre16_jit_compile.c.o.d -o CMakeFiles/pcre16.dir/pcre16_jit_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre16_jit_compile.c [36/75] /home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none-linux-android21 --sysroot=/home/mwx/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_CONFIG_H -I/mnt/data1/vcpkg/buildtrees/pcre/arm64-android-dbg -I/mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIC -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pcre.dir/pcre_jit_compile.c.o -MF CMakeFiles/pcre.dir/pcre_jit_compile.c.o.d -o CMakeFiles/pcre.dir/pcre_jit_compile.c.o -c /mnt/data1/vcpkg/buildtrees/pcre/src/pcre-8-0bfdac5640.clean/pcre_jit_compile.c ninja: build stopped: subcommand failed. ```
dg0yt commented 2 weeks ago

NDK r26? See here: https://github.com/microsoft/vcpkg/pull/35851/files#diff-c24f2a80240c905c567169cd0cdb20357bb9ecb1335606d7af4a9b308536b454

dg0yt commented 2 weeks ago

Please test #38505.