Skip to content

arm-linux-musleabi #103

Closed
Closed
@LinuxUserGD

Description

@LinuxUserGD

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-musleabi-baseline/lib/libz.a
-- Installing: /home/user/zig-bootstrap/out/arm-linux-musleabi-baseline/include/zconf.h
-- Installing: /home/user/zig-bootstrap/out/arm-linux-musleabi-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-musleabi-baseline/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_605e7/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_605e7.dir/build.make CMakeFiles/cmTC_605e7.dir/build
    gmake[1]: Entering directory '/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabi-baseline/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_605e7.dir/testCXXCompiler.cxx.o
    /home/user/zig-bootstrap/out/host/bin/zig  c++ -fno-sanitize=all -s -target arm-linux-musleabi -mcpu=baseline    -o CMakeFiles/cmTC_605e7.dir/testCXXCompiler.cxx.o -c /home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabi-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_605e7.dir/build.make:78: CMakeFiles/cmTC_605e7.dir/testCXXCompiler.cxx.o] Error 1
    gmake[1]: Leaving directory '/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabi-baseline/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_605e7/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-musleabi-baseline/CMakeFiles/CMakeOutput.log".
See also "/home/user/zig-bootstrap/out/build-llvm-arm-linux-musleabi-baseline/CMakeFiles/CMakeError.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions