You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-musl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-linux-musl-strip... /usr/local/musl/bin/x86_64-linux-musl-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking whether /usr/local/musl/bin/x86_64-linux-musl-gcc is gcc... yes
checking compiler /usr/local/musl/bin/x86_64-linux-musl-gcc -O3 -DNDEBUG... yes
checking for x86_64-linux-musl-gcc... /usr/local/musl/bin/x86_64-linux-musl-gcc
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 we are using the GNU C compiler... yes
checking whether /usr/local/musl/bin/x86_64-linux-musl-gcc accepts -g... yes
checking for /usr/local/musl/bin/x86_64-linux-musl-gcc option to accept ISO C89... none needed
checking whether /usr/local/musl/bin/x86_64-linux-musl-gcc understands -c and -o together... yes
checking for /usr/local/musl/bin/x86_64-linux-musl-gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... /usr/local/musl/bin/x86_64-linux-musl-gcc -E
checking build system compiler touch a.out | touch conftest | true... yes
checking for build system preprocessor... touch a.out | touch conftest | true
checking for build system executable suffix... (cached)
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/musl/bin/x86_64-linux-musl-g++ accepts -g... yes
checking C++ compiler /usr/local/musl/bin/x86_64-linux-musl-g++ -DNDEBUG -O3... no, program does not run
For what it's worth, it's rather obvious what the issue is here. The ./configure action from gmp compiles a test program with the musl gcc dynamically (even though I'm compiling statically) and then fails to run it because it can't find the musl libraries.
Package: gmp:x64-linux-musl@6.3.0#2
Host Environment
vcpkg-scripts version: unknown
To Reproduce
vcpkg install
Failure logs
/usr/vcpkg/buildtrees/gmp/config-x64-linux-musl-rel-err.log
/usr/vcpkg/buildtrees/gmp/config-x64-linux-musl-rel-out.log
/usr/vcpkg/buildtrees/gmp/config-x64-linux-musl-rel-config.log
Additional context
vcpkg.json
x64-linux-musl.cmake
x64-linux-musl-toolchain.cmake
I've tried setting LD_LIBRARY_PATH, but then vcpkg fails to run because it's expecting to load glibc libraries.
The text was updated successfully, but these errors were encountered: