zig-bootstrap icon indicating copy to clipboard operation
zig-bootstrap copied to clipboard

arm-linux-musleabihf

Open LinuxUserGD opened this issue 3 years ago • 0 comments

Host system: x86_64-gentoo-linux-musl

Might be a regression or host specific because README mentions target should be OK

[100%] Linking C static library libz.a
[100%] Built target z
Install the project...
-- Install configuration: "Release"
-- Installing: /home/user/zig-bootstrap/out/arm-linux-musleabihf-baseline/lib/libz.a
-- Installing: /home/user/zig-bootstrap/out/arm-linux-musleabihf-baseline/include/zconf.h
-- Installing: /home/user/zig-bootstrap/out/arm-linux-musleabihf-baseline/include/zlib.h
-- The C compiler identification is Clang 14.0.6
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: /home/user/zig-bootstrap/out/host/bin/zig
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/user/zig-bootstrap/out/host/bin/zig - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/user/zig-bootstrap/out/host/bin/zig
-- Check for working CXX compiler: /home/user/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/home/user/zig-bootstrap/out/host/bin/zig"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_fcb5d/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_fcb5d.dir/build.make CMakeFiles/cmTC_fcb5d.dir/build
    gmake[1]: Entering directory '/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_fcb5d.dir/testCXXCompiler.cxx.o
    /home/user/zig-bootstrap/out/host/bin/zig  c++ -fno-sanitize=all -s -target arm-linux-musleabihf -mcpu=baseline    -o CMakeFiles/cmTC_fcb5d.dir/testCXXCompiler.cxx.o -c /home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    warning(compilation): libc++ does not work on multi-threaded ARM yet.
    For more details: https://github.com/ziglang/zig/issues/6573
    error: unable to create compilation: TargetRequiresSingleThreaded
    gmake[1]: *** [CMakeFiles/cmTC_fcb5d.dir/build.make:78: CMakeFiles/cmTC_fcb5d.dir/testCXXCompiler.cxx.o] Error 1
    gmake[1]: Leaving directory '/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_fcb5d/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:49 (project)


-- Configuring incomplete, errors occurred!
See also "/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeOutput.log".
See also "/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabihf-baseline/CMakeFiles/CMakeError.log".

LinuxUserGD avatar Aug 09 '22 17:08 LinuxUserGD