Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libffi] Build error on x64-openbsd #39298

Open
SchaichAlonso opened this issue Jun 14, 2024 · 1 comment
Open

[libffi] Build error on x64-openbsd #39298

SchaichAlonso opened this issue Jun 14, 2024 · 1 comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@SchaichAlonso
Copy link
Contributor

Package: libffi:[email protected]

Host Environment

  • Host: x64-openbsd
  • Compiler: Clang 16.0.6
  • vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: 02745e0 2024-06-13 (10 hours ago)

To Reproduce

vcpkg install libffi

Failure logs

-- Using cached libffi-3.4.6.tar.gz.
-- Cleaning sources at /root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /root/vcpkg/downloads/libffi-3.4.6.tar.gz
-- Applying patch dll-bindir.diff
-- Using source at /root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for x64-openbsd
-- Getting CMake variables for x64-openbsd-dbg
-- Getting CMake variables for x64-openbsd-rel
-- Configuring x64-openbsd-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/local/bin/bash -c "V=1 ./../src/libffi-3-5867c437e9.clean/configure  \"--enable-portable-binary\" \"--disable-docs\" \"--disable-multi-os-directory\" \"CCAS=clang\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--prefix=/root/vcpkg/installed/x64-openbsd/debug\" \"--bindir=\\${prefix}/../tools/libffi/debug/bin\" \"--sbindir=\\${prefix}/../tools/libffi/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/libffi\""
    Working Directory: /root/vcpkg/buildtrees/libffi/x64-openbsd-dbg
    Error code: 1
    See logs for more information:
      /root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-config.log
      /root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-out.log
      /root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:863 (vcpkg_execute_required_process)
  ports/libffi/portfile.cmake:49 (vcpkg_configure_make)
  scripts/ports.cmake:175 (include)



/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-err.log
config.status: error: in `/root/vcpkg/buildtrees/libffi/x64-openbsd-dbg':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-out.log
checking build system type... x86_64-unknown-openbsd7.5
checking host system type... x86_64-unknown-openbsd7.5
checking target system type... x86_64-unknown-openbsd7.5
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to enable C11 features... none needed
checking whether /usr/bin/clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/clang... gcc3
checking whether the compiler supports GNU C++... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking for /usr/bin/clang++ option to enable C++11 features... none needed
checking dependency style of /usr/bin/clang++... gcc3
checking dependency style of clang... gcc3
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /usr/bin/ld.lld
checking if the linker (/usr/bin/ld.lld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 393216
checking how to convert x86_64-unknown-openbsd7.5 file names to x86_64-unknown-openbsd7.5 format... func_convert_file_noop
checking how to convert x86_64-unknown-openbsd7.5 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld.lld option to reload object files... -r
checking for file... file
checking for objdump... /usr/bin/llvm-objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... CMAKE_DLLTOOL-NOTFOUND
checking how to associate runtime and link libraries... print -r --
checking for archiver @FILE support... @
checking for strip... /usr/bin/strip
checking for ranlib... /usr/bin/ranlib
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fPIC -DPIC
checking if /usr/bin/clang PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/clang static flag -static works... yes
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/ld.lld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd7.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /usr/bin/ld.lld
checking if the linker (/usr/bin/ld.lld) is GNU ld... yes
checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fPIC -DPIC
checking if /usr/bin/clang++ PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... yes
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd7.5 ld.so
checking how to hardcode library paths into programs... immediate
checking for readelf... readelf
checking size of size_t... 8
checking for C compiler vendor... clang
checking CFLAGS for most reasonable warnings... -Wall
checking whether to enable maintainer-specific portions of Makefiles... no
checking for sys/memfd.h... no
checking for memfd_create... no
checking for egrep... (cached) /usr/bin/grep -E
checking for memcpy... yes
checking for alloca.h... no
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking assembler supports pc related relocs... yes
checking whether compiler supports pointer authentication... no
checking for _ prefix in compiled symbols... no
checking toolchain supports unwind section type... yes
checking whether C compiler accepts -fno-lto... yes
checking whether .eh_frame section should be read-only... yes
checking for __attribute__((visibility("hidden")))... yes
configure: versioning on shared library symbols is no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: executing buildir commands
config.status: skipping top_srcdir/Makefile - not created
config.status: executing depfiles commands
/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.4.6, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./../src/libffi-3-5867c437e9.clean/configure --enable-portable-binary --disable-docs --disable-multi-os-directory CCAS=clang --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/root/vcpkg/installed/x64-openbsd/debug '--bindir=${prefix}/../tools/libffi/debug/bin' '--sbindir=${prefix}/../tools/libffi/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libffi'

## --------- ##
## Platform. ##
## --------- ##

hostname = vultr.guest
uname -m = amd64
uname -r = 7.5
uname -s = OpenBSD
uname -v = GENERIC.MP#82

/usr/bin/uname -p = amd64
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = OpenBSD.amd64
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin/
PATH: /usr/sbin/
PATH: /bin/
PATH: /usr/bin/
PATH: /usr/X11R6/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /usr/local/bin/
PATH: /root/vcpkg/downloads/tools/pkg-config/openbsd/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3015: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3028:  trying ./../src/libffi-3-5867c437e9.clean/
configure:3057:   ./../src/libffi-3-5867c437e9.clean/ltmain.sh found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/compile found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/missing found
configure:3039:   ./../src/libffi-3-5867c437e9.clean/install-sh found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/config.guess found
configure:3057:   ./../src/libffi-3-5867c437e9.clean/config.sub found
configure:3178: checking build system type
configure:3193: result: x86_64-unknown-openbsd7.5
configure:3213: checking host system type
configure:3227: result: x86_64-unknown-openbsd7.5
configure:3247: checking target system type
configure:3261: result: x86_64-unknown-openbsd7.5
configure:3359: checking for gsed
configure:3395: result: sed
configure:3424: checking for a BSD-compatible install
configure:3497: result: /usr/bin/install -c
configure:3508: checking whether build environment is sane
configure:3563: result: yes
configure:3718: checking for a race-free mkdir -p
configure:3762: result: /usr/local/bin/gmkdir -p
configure:3769: checking for gawk
configure:3804: result: no
configure:3769: checking for mawk
configure:3804: result: no
configure:3769: checking for nawk
configure:3804: result: no
configure:3769: checking for awk
configure:3790: found /usr/bin/awk
configure:3801: result: awk
configure:3812: checking whether make sets $(MAKE)
configure:3835: result: yes
configure:3865: checking whether make supports nested variables
configure:3883: result: yes
configure:4092: checking for gcc
configure:4124: result: /usr/bin/clang
configure:4477: checking for C compiler version
configure:4486: /usr/bin/clang --version >&5
OpenBSD clang version 16.0.6
Target: amd64-unknown-openbsd7.5
Thread model: posix
InstalledDir: /usr/bin
configure:4497: $? = 0
configure:4486: /usr/bin/clang -v >&5
OpenBSD clang version 16.0.6
Target: amd64-unknown-openbsd7.5
Thread model: posix
InstalledDir: /usr/bin
configure:4497: $? = 0
configure:4486: /usr/bin/clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4497: $? = 1
configure:4486: /usr/bin/clang -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4497: $? = 1
configure:4486: /usr/bin/clang -version >&5
clang: error: unknown argument '-version'; did you mean '--version'?
clang: error: no input files
configure:4497: $? = 1
configure:4517: checking whether the C compiler works
configure:4539: /usr/bin/clang -fPIC -g  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:4543: $? = 0
configure:4593: result: yes
configure:4596: checking for C compiler default output file name
configure:4598: result: a.out
configure:4604: checking for suffix of executables
configure:4611: /usr/bin/clang -o conftest -fPIC -g  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:4615: $? = 0
configure:4638: result: 
configure:4660: checking whether we are cross compiling
configure:4668: /usr/bin/clang -o conftest -fPIC -g  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:4672: $? = 0
configure:4679: ./conftest
configure:4683: $? = 0
configure:4698: result: no
configure:4703: checking for suffix of object files
configure:4726: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:4730: $? = 0
configure:4752: result: o
configure:4756: checking whether the compiler supports GNU C
configure:4776: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:4776: $? = 0
configure:4786: result: yes
configure:4797: checking whether /usr/bin/clang accepts -g
configure:4818: /usr/bin/clang -c -g  conftest.c >&5
configure:4818: $? = 0
configure:4862: result: yes
configure:4882: checking for /usr/bin/clang option to enable C11 features
configure:4897: /usr/bin/clang  -c -fPIC -g  conftest.c >&5
conftest.c:25:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static char *e (p, i)
             ^
1 warning generated.
configure:4897: $? = 0
configure:4915: result: none needed
configure:5031: checking whether /usr/bin/clang understands -c and -o together
configure:5054: /usr/bin/clang -c conftest.c -o conftest2.o
configure:5057: $? = 0
configure:5054: /usr/bin/clang -c conftest.c -o conftest2.o
configure:5057: $? = 0
configure:5069: result: yes
configure:5089: checking whether make supports the include directive
configure:5104: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:5107: $? = 0
configure:5126: result: yes (GNU style)
configure:5152: checking dependency style of /usr/bin/clang
configure:5264: result: gcc3
configure:5407: checking for C++ compiler version
configure:5416: /usr/bin/clang++ --version >&5
OpenBSD clang version 16.0.6
Target: amd64-unknown-openbsd7.5
Thread model: posix
InstalledDir: /usr/bin
configure:5427: $? = 0
configure:5416: /usr/bin/clang++ -v >&5
OpenBSD clang version 16.0.6
Target: amd64-unknown-openbsd7.5
Thread model: posix
InstalledDir: /usr/bin
configure:5427: $? = 0
configure:5416: /usr/bin/clang++ -V >&5
clang++: error: argument to '-V' is missing (expected 1 value)
clang++: error: no input files
configure:5427: $? = 1
configure:5416: /usr/bin/clang++ -qversion >&5
clang++: error: unknown argument '-qversion'; did you mean '--version'?
clang++: error: no input files
configure:5427: $? = 1
configure:5431: checking whether the compiler supports GNU C++
configure:5451: /usr/bin/clang++ -c -fPIC -g  conftest.cpp >&5
configure:5451: $? = 0
configure:5461: result: yes
configure:5472: checking whether /usr/bin/clang++ accepts -g
configure:5493: /usr/bin/clang++ -c -g  conftest.cpp >&5
configure:5493: $? = 0
configure:5537: result: yes
configure:5557: checking for /usr/bin/clang++ option to enable C++11 features
configure:5572: /usr/bin/clang++  -c -fPIC -g  conftest.cpp >&5
conftest.cpp:177:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
  cxx11test::delegate d2();
                        ^~
conftest.cpp:177:25: note: remove parentheses to declare a variable
  cxx11test::delegate d2();
                        ^~
1 warning generated.
configure:5572: $? = 0
configure:5590: result: none needed
configure:5656: checking dependency style of /usr/bin/clang++
configure:5768: result: gcc3
configure:5798: checking dependency style of clang
configure:5908: result: gcc3
configure:5924: checking for grep that handles long lines and -e
configure:5988: result: /usr/bin/grep
configure:5993: checking for egrep
configure:6061: result: /usr/bin/grep -E
configure:6113: checking how to print strings
configure:6142: result: print -r
configure:6161: checking for a sed that does not truncate output
configure:6231: result: /usr/bin/sed
configure:6249: checking for fgrep
configure:6317: result: /usr/bin/grep -F
configure:6353: checking for ld used by /usr/bin/clang
configure:6421: result: /usr/bin/ld.lld
configure:6428: checking if the linker (/usr/bin/ld.lld) is GNU ld
configure:6444: result: yes
configure:6456: checking for BSD- or MS-compatible name lister (nm)
configure:6511: result: /usr/bin/nm
configure:6651: checking the name lister (/usr/bin/nm) interface
configure:6659: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:6662: /usr/bin/nm "conftest.o"
configure:6665: output
00000000 F conftest.c
00000000 B some_variable
configure:6672: result: BSD nm
configure:6675: checking whether ln -s works
configure:6679: result: yes
configure:6687: checking the maximum length of command line arguments
configure:6819: result: 393216
configure:6867: checking how to convert x86_64-unknown-openbsd7.5 file names to x86_64-unknown-openbsd7.5 format
configure:6908: result: func_convert_file_noop
configure:6915: checking how to convert x86_64-unknown-openbsd7.5 file names to toolchain format
configure:6936: result: func_convert_file_noop
configure:6943: checking for /usr/bin/ld.lld option to reload object files
configure:6951: result: -r
configure:7030: checking for file
configure:7051: found /usr/bin/file
configure:7062: result: file
configure:7138: checking for objdump
configure:7170: result: /usr/bin/llvm-objdump
configure:7202: checking how to recognize dependent libraries
configure:7403: result: match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
configure:7493: checking for dlltool
configure:7525: result: CMAKE_DLLTOOL-NOTFOUND
configure:7558: checking how to associate runtime and link libraries
configure:7586: result: print -r --
configure:7737: checking for archiver @FILE support
configure:7755: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:7755: $? = 0
configure:7759: /usr/bin/ar cr libconftest.a @conftest.lst >&5
configure:7762: $? = 0
configure:7767: /usr/bin/ar cr libconftest.a @conftest.lst >&5
/usr/bin/ar: error: conftest.o: No such file or directory
configure:7770: $? = 1
configure:7782: result: @
configure:7845: checking for strip
configure:7877: result: /usr/bin/strip
configure:7954: checking for ranlib
configure:7986: result: /usr/bin/ranlib
configure:8088: checking command to parse /usr/bin/nm output from /usr/bin/clang object
configure:8242: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:8245: $? = 0
configure:8249: /usr/bin/nm conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:8252: $? = 0
configure:8318: /usr/bin/clang -o conftest -fPIC -g  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c conftstm.o >&5
configure:8321: $? = 0
configure:8359: result: ok
configure:8406: checking for sysroot
configure:8437: result: no
configure:8444: checking for a working dd
configure:8488: result: /bin/dd
configure:8492: checking how to truncate binary pipes
configure:8508: result: /bin/dd bs=4096 count=1
configure:8845: checking for mt
configure:8866: found /bin/mt
configure:8877: result: mt
configure:8900: checking if mt is a manifest tool
configure:8907: mt '-?'
mt: unknown option -- ?
usage: mt [-f device] command [count]
configure:8915: result: no
configure:9640: checking for stdio.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for stdlib.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for string.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for inttypes.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for stdint.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for strings.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for sys/stat.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for sys/types.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9640: checking for unistd.h
configure:9640: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9640: $? = 0
configure:9640: result: yes
configure:9665: checking for dlfcn.h
configure:9665: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:9665: $? = 0
configure:9665: result: yes
configure:9935: checking for objdir
configure:9951: result: .libs
configure:10215: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
configure:10234: /usr/bin/clang -c -fPIC -g  -fno-rtti -fno-exceptions conftest.c >&5
configure:10238: $? = 0
configure:10251: result: yes
configure:10609: checking for /usr/bin/clang option to produce PIC
configure:10617: result: -fPIC -DPIC
configure:10625: checking if /usr/bin/clang PIC flag -fPIC -DPIC works
configure:10644: /usr/bin/clang -c -fPIC -g  -fPIC -DPIC -DPIC conftest.c >&5
configure:10648: $? = 0
configure:10661: result: yes
configure:10690: checking if /usr/bin/clang static flag -static works
configure:10719: result: yes
configure:10734: checking if /usr/bin/clang supports -c -o file.o
configure:10756: /usr/bin/clang -c -fPIC -g  -o out/conftest2.o conftest.c >&5
configure:10760: $? = 0
configure:10782: result: yes
configure:10790: checking if /usr/bin/clang supports -c -o file.o
configure:10838: result: yes
configure:10871: checking whether the /usr/bin/clang linker (/usr/bin/ld.lld) supports shared libraries
configure:12139: result: yes
configure:12380: checking dynamic linker characteristics
configure:13204: result: openbsd7.5 ld.so
configure:13326: checking how to hardcode library paths into programs
configure:13351: result: immediate
configure:13903: checking whether stripping libraries is possible
configure:13912: result: yes
configure:13954: checking if libtool supports shared libraries
configure:13956: result: yes
configure:13959: checking whether to build shared libraries
configure:13984: result: no
configure:13987: checking whether to build static libraries
configure:13991: result: yes
configure:14014: checking how to run the C++ preprocessor
configure:14036: /usr/bin/clang++ -E  conftest.cpp
configure:14036: $? = 0
configure:14051: /usr/bin/clang++ -E  conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:14051: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14078: result: /usr/bin/clang++ -E
configure:14092: /usr/bin/clang++ -E  conftest.cpp
configure:14092: $? = 0
configure:14107: /usr/bin/clang++ -E  conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:14107: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14272: checking for ld used by /usr/bin/clang++
configure:14340: result: /usr/bin/ld.lld
configure:14347: checking if the linker (/usr/bin/ld.lld) is GNU ld
configure:14363: result: yes
configure:14418: checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries
configure:15496: result: yes
configure:15532: /usr/bin/clang++ -c -fPIC -g  conftest.cpp >&5
configure:15535: $? = 0
configure:16016: checking for /usr/bin/clang++ option to produce PIC
configure:16024: result: -fPIC -DPIC
configure:16032: checking if /usr/bin/clang++ PIC flag -fPIC -DPIC works
configure:16051: /usr/bin/clang++ -c -fPIC -g  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:16055: $? = 0
configure:16068: result: yes
configure:16091: checking if /usr/bin/clang++ static flag -static works
configure:16120: result: yes
configure:16132: checking if /usr/bin/clang++ supports -c -o file.o
configure:16154: /usr/bin/clang++ -c -fPIC -g  -o out/conftest2.o conftest.cpp >&5
configure:16158: $? = 0
configure:16180: result: yes
configure:16185: checking if /usr/bin/clang++ supports -c -o file.o
configure:16233: result: yes
configure:16263: checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries
configure:16303: result: yes
configure:16445: checking dynamic linker characteristics
configure:17196: result: openbsd7.5 ld.so
configure:17261: checking how to hardcode library paths into programs
configure:17286: result: immediate
configure:17397: checking for readelf
configure:17418: found /usr/bin/readelf
configure:17429: result: readelf
configure:17457: checking size of size_t
configure:17463: /usr/bin/clang -o conftest -fPIC -g  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:17463: $? = 0
configure:17463: ./conftest
configure:17463: $? = 0
configure:17478: result: 8
configure:17487: checking for C compiler vendor
configure:17546: /usr/bin/clang -c -fPIC -g  conftest.c >&5
conftest.c:30:7: error: use of undeclared identifier 'thisisanerror'
      thisisanerror;
      ^
1 error generated.
configure:17546: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:17546: /usr/bin/clang -c -fPIC -g  conftest.c >&5
conftest.c:30:7: error: use of undeclared identifier 'thisisanerror'
      thisisanerror;
      ^
1 error generated.
configure:17546: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__ibmxl__))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:17546: /usr/bin/clang -c -fPIC -g  conftest.c >&5
conftest.c:30:7: error: use of undeclared identifier 'thisisanerror'
      thisisanerror;
      ^
1 error generated.
configure:17546: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
|       thisisanerror;
| #endif
| 
|   ;
|   return 0;
| }
configure:17546: /usr/bin/clang -c -fPIC -g  conftest.c >&5
configure:17546: $? = 0
configure:17556: result: clang
configure:18447: checking CFLAGS for most reasonable warnings
configure:18534: : CFLAGS="$CFLAGS"
configure:18537: $? = 0
configure:18560: result: -Wall
configure:18583: checking whether to enable maintainer-specific portions of Makefiles
configure:18593: result: no
configure:18607: checking for sys/memfd.h
configure:18607: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:52:10: fatal error: 'sys/memfd.h' file not found
#include <sys/memfd.h>
         ^~~~~~~~~~~~~
1 error generated.
configure:18607: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/memfd.h>
configure:18607: result: no
configure:18614: checking for memfd_create
configure:18614: /usr/bin/clang -o conftest -Wall -fPIC -g -fexceptions  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
ld: error: undefined symbol: memfd_create
>>> referenced by conftest.c:51
>>>               /tmp/conftest-1a1d65.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:18614: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| /* end confdefs.h.  */
| /* Define memfd_create to an innocuous variant, in case <limits.h> declares memfd_create.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define memfd_create innocuous_memfd_create
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char memfd_create (); below.  */
| 
| #include <limits.h>
| #undef memfd_create
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char memfd_create ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_memfd_create || defined __stub___memfd_create
| choke me
| #endif
| 
| int
| main (void)
| {
| return memfd_create ();
|   ;
|   return 0;
| }
configure:18614: result: no
configure:18646: checking for egrep
configure:18714: result: /usr/bin/grep -E
configure:18720: checking for memcpy
configure:18720: /usr/bin/clang -o conftest -Wall -fPIC -g -fexceptions  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
conftest.c:40:6: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration]
char memcpy ();
     ^
conftest.c:40:6: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned long)'
1 warning generated.
configure:18720: $? = 0
configure:18720: result: yes
configure:18727: checking for alloca.h
configure:18727: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:53:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
         ^~~~~~~~~~
1 error generated.
configure:18727: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| #define HAVE_MEMCPY 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <alloca.h>
configure:18727: result: no
configure:18739: checking size of double
configure:18745: /usr/bin/clang -o conftest -Wall -fPIC -g -fexceptions  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:18745: $? = 0
configure:18745: ./conftest
configure:18745: $? = 0
configure:18760: result: 8
configure:18772: checking size of long double
configure:18778: /usr/bin/clang -o conftest -Wall -fPIC -g -fexceptions  -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c  >&5
configure:18778: $? = 0
configure:18778: ./conftest
configure:18778: $? = 0
configure:18793: result: 16
configure:18824: checking whether byte ordering is bigendian
configure:18840: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:29:9: error: unknown type name 'not'
               not a universal capable compiler
               ^
conftest.c:29:14: error: expected ';' after top level declarator
               not a universal capable compiler
                    ^
                    ;
2 errors generated.
configure:18840: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 16
| #define HAVE_LONG_DOUBLE 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:18886: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
configure:18886: $? = 0
configure:18905: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:35:4: error: use of undeclared identifier 'not'
                 not big endian
                 ^
1 error generated.
configure:18905: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 16
| #define HAVE_LONG_DOUBLE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main (void)
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:19039: result: no
configure:19058: checking assembler .cfi pseudo-op support
configure:19077: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
configure:19077: $? = 0
configure:19086: result: yes
configure:19177: checking assembler supports pc related relocs
configure:19191: result: yes
configure:19227: checking whether compiler supports pointer authentication
configure:19256: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:42:3: error: Pointer authentication not supported
# error Pointer authentication not supported
  ^
1 error generated.
configure:19256: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.6"
| #define PACKAGE_STRING "libffi 3.4.6"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.6"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 8
| #define HAVE_MEMCPY 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 16
| #define HAVE_LONG_DOUBLE 1
| #define HAVE_AS_CFI_PSEUDO_OP 1
| #define HAVE_AS_X86_PCREL 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #ifdef __clang__
| # if __has_feature(ptrauth_calls)
| #  define HAVE_PTRAUTH 1
| # endif
| #endif
| 
| #ifndef HAVE_PTRAUTH
| # error Pointer authentication not supported
| #endif
| 
|   ;
|   return 0;
| }
configure:19265: result: no
configure:19291: checking for _ prefix in compiled symbols
configure:19302: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  conftest.c >&5
conftest.c:2:12: warning: expression result unused [-Wunused-value]
int main(){nm_test_func;return 0;}
           ^~~~~~~~~~~~
1 warning generated.
configure:19305: $? = 0
configure:19309: /usr/bin/nm conftest.o \| /usr/bin/sed -n -e 's/^.*[	 ]\([BCDEGRST][BCDEGRST]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:19312: $? = 0
configure:19334: result: no
configure:19370: checking toolchain supports unwind section type
configure:19400: result: yes
configure:19410: checking whether C compiler accepts -fno-lto
configure:19430: /usr/bin/clang -c -Wall -fPIC -g -fexceptions  -fno-lto  conftest.c >&5
configure:19430: $? = 0
configure:19439: result: yes
configure:19449: checking whether .eh_frame section should be read-only
configure:19466: result: yes
configure:19481: checking for __attribute__((visibility("hidden")))
configure:19491: /usr/bin/clang -Werror -S conftest.c -o conftest.s 1>&5
configure:19494: $? = 0
configure:19503: result: yes
configure:19981: versioning on shared library symbols is no
configure:20102: checking that generated files are newer than configure
configure:20108: result: done
configure:20176: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libffi config.status 3.4.6, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on vultr.guest

config.status:1215: creating include/Makefile
config.status:1215: creating include/ffi.h
config.status:1215: creating Makefile
config.status:1215: creating testsuite/Makefile
config.status:1215: creating man/Makefile
config.status:1215: creating doc/Makefile
config.status:1215: creating libffi.pc
config.status:1215: creating fficonfig.h
config.status:1429: executing buildir commands
config.status:1442: skipping top_srcdir/Makefile - not created
config.status:1429: executing depfiles commands
config.status:1648: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
*** Parse error in /root/vcpkg/buildtrees/libffi/x64-openbsd-dbg: Filename missing from "-include" ((stdin):2028)
config.status:1655: $? = 1
config.status:1659: error: in `/root/vcpkg/buildtrees/libffi/x64-openbsd-dbg':
config.status:1661: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-openbsd7.5
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cflags_warn_all=-Wall
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=set
ac_cv_env_CCAS_value=clang
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_memcpy=yes
ac_cv_func_memfd_create=no
ac_cv_header_alloca_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_memfd_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-openbsd7.5
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/usr/local/bin/gmkdir
ac_cv_prog_AWK=awk
ac_cv_prog_CXXCPP='/usr/bin/clang++ -E'
ac_cv_prog_ac_ct_CC=/usr/bin/clang
ac_cv_prog_ac_ct_DLLTOOL=CMAKE_DLLTOOL-NOTFOUND
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=/usr/bin/llvm-objdump
ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib
ac_cv_prog_ac_ct_READELF=readelf
ac_cv_prog_ac_ct_STRIP=/usr/bin/strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_cxx11=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=16
ac_cv_sizeof_size_t=8
ac_cv_target=x86_64-unknown-openbsd7.5
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_c_compiler_vendor=clang
ax_cv_check_cflags___fno_lto=yes
gcc_cv_as_cfi_pseudo_op=yes
libffi_cv_as_ptrauth=no
libffi_cv_as_x86_64_unwind_section_type=yes
libffi_cv_as_x86_pcrel=yes
libffi_cv_hidden_visibility_attribute=yes
libffi_cv_no_lto=-fno-lto
libffi_cv_ro_eh_frame=yes
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld.lld
lt_cv_path_LDCXX=/usr/bin/ld.lld
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='print -r --'
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[	 ]\([BCDEGRST][BCDEGRST]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=393216
lt_cv_sys_symbol_underscore=no
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LTLDFLAGS=''
AM_RUNTESTFLAGS=''
AM_V='$(V)'
AR='/usr/bin/ar'
AUTOCONF='${SHELL} '\''/root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' automake-1.16'
AWK='awk'
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE='#'
CC='/usr/bin/clang'
CCAS='clang'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-fPIC -g'
CCDEPMODE='depmode=gcc3'
CFLAGS='-Wall -fPIC -g -fexceptions'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CXX='/usr/bin/clang++'
CXXCPP='/usr/bin/clang++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-fPIC -g'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='CMAKE_DLLTOOL-NOTFOUND'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ETAGS='etags'
EXEEXT=''
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE='#'
FFI_EXEC_TRAMPOLINE_TABLE='0'
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE='#'
FGREP='/usr/bin/grep -F'
FILECMD='file'
GREP='/usr/bin/grep'
HAVE_LONG_DOUBLE='1'
HAVE_LONG_DOUBLE_VARIANT='0'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld.lld'
LDFLAGS='-L/root/vcpkg/installed/x64-openbsd/debug/lib'
LIBFFI_BUILD_VERSIONED_SHLIB_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_TRUE='#'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/local/bin/gmkdir -p'
NM='/usr/bin/nm'
NMEDIT=''
OBJDUMP='/usr/bin/llvm-objdump'
OBJEXT='o'
OPT_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://github.com/libffi/libffi/issues'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.4.6'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.6'
PATH_SEPARATOR=':'
PRTDIAG=''
RANLIB='/usr/bin/ranlib'
READELF='readelf'
SECTION_LDFLAGS=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/usr/bin/strip'
TARGET='X86_64'
TARGETDIR='x86'
TARGET_OBJ=' src/x86/ffi64.lo src/x86/unix64.lo src/x86/ffiw64.lo src/x86/win64.lo'
TESTSUBDIR_FALSE='#'
TESTSUBDIR_TRUE=''
VERSION='3.4.6'
ac_ct_AR=''
ac_ct_CC='/usr/bin/clang'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_enable_builddir_sed='sed'
bindir='${prefix}/../tools/libffi/debug/bin'
build='x86_64-unknown-openbsd7.5'
build_alias=''
build_cpu='x86_64'
build_os='openbsd7.5'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share/libffi'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-openbsd7.5'
host_alias=''
host_cpu='x86_64'
host_os='openbsd7.5'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/../include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/vcpkg/buildtrees/libffi/src/libffi-3-5867c437e9.clean/install-sh'
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/root/vcpkg/installed/x64-openbsd/debug'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${prefix}/../tools/libffi/debug/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore='no'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-openbsd7.5'
target_alias=''
target_cpu='x86_64'
target_os='openbsd7.5'
target_vendor='unknown'
tmake_file=''
toolexecdir='${libdir}/gcc-lib/$(target_alias)'
toolexeclibdir='${libdir}'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.4.6"
#define PACKAGE_STRING "libffi 3.4.6"
#define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.4.6"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define SIZEOF_SIZE_T 8
#define HAVE_MEMCPY 1
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 16
#define HAVE_LONG_DOUBLE 1
#define HAVE_AS_CFI_PSEUDO_OP 1
#define HAVE_AS_X86_PCREL 1
#define FFI_MMAP_EXEC_WRIT 1
#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1
#define HAVE_RO_EH_FRAME 1
#define EH_FRAME_FLAGS "a"
#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1

configure: exit 1
@SchaichAlonso
Copy link
Contributor Author

SchaichAlonso commented Jun 14, 2024

This isn't a problem with the libffi port, but instead with vcpkg_configure_make.

Setting the MAKE environment to gmake, as proposed in config-x64-openbsd-dbg-err.log, before invoking vcpkg, workarounds the issue.

@LilyWangLL LilyWangLL added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

2 participants