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

arm-linux-musleabi generic+v6kz #42

Closed
andrewrk opened this issue Nov 9, 2020 · 2 comments · Fixed by #197
Closed

arm-linux-musleabi generic+v6kz #42

andrewrk opened this issue Nov 9, 2020 · 2 comments · Fixed by #197

Comments

@andrewrk
Copy link
Member

andrewrk commented Nov 9, 2020

[100%] Linking CXX executable zig
[100%] Built target zig
Install the project...
-- Install configuration: "Release"
-- Installing: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Set runtime path of "/home/andy/dev/bootstrap-zig/out/host/bin/zig" to ""
-- Installing: /home/andy/dev/bootstrap-zig/out/host/lib
-- The C compiler identification is Clang 11.0.0
-- The CXX compiler identification is Clang 11.0.0
-- The ASM compiler identification is unknown
-- Found assembler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working C compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working C compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working CXX compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig -- broken
CMake Error at /nix/store/acw9iism5wr6mxaq54h306bbxnl27n63-cmake-3.16.3/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  The C++ compiler

    "/home/andy/dev/bootstrap-zig/out/host/bin/zig"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/nix/store/dp6y0n9cba79wwc54n1brg7xbjsq5hka-gnumake-4.2.1/bin/make cmTC_7ccfb/fast && /nix/store/dp6y0n9cba79wwc54n1brg7xbjsq5hka-gnumake-4.2.1/bin/make -f CMakeFiles/cmTC_7ccfb.dir/build.make CMakeFiles/cmTC_7ccfb.dir/build
    make[1]: Entering directory '/home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o
    /home/andy/dev/bootstrap-zig/out/host/bin/zig  c++ -fno-sanitize=all -target arm-linux-musleabi -mcpu=generic+v6kz     -o CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o -c /home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_7ccfb
    /nix/store/acw9iism5wr6mxaq54h306bbxnl27n63-cmake-3.16.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ccfb.dir/link.txt --verbose=1
    /home/andy/dev/bootstrap-zig/out/host/bin/zig  c++ -fno-sanitize=all -target arm-linux-musleabi -mcpu=generic+v6kz       CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o  -o cmTC_7ccfb 
    In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/src/algorithm.cpp:9:
    In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/algorithm:643:
    In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/memory:681:
    /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/atomic:2780:16: error: use of undeclared identifier '__libcpp_signed_lock_free'
    typedef atomic<__libcpp_signed_lock_free> atomic_signed_lock_free;
                   ^
    /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/atomic:2781:16: error: use of undeclared identifier '__libcpp_unsigned_lock_free'
    typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free;
                   ^
    2 errors generated.
    make[1]: *** [CMakeFiles/cmTC_7ccfb.dir/build.make:87: cmTC_7ccfb] Error 1
    make[1]: Leaving directory '/home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp'
    make: *** [Makefile:121: cmTC_7ccfb/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:57 (project)
@FireFox317
Copy link
Contributor

ziglang/zig#6573

@alexrp
Copy link
Member

alexrp commented Aug 22, 2024

install
└─ install zig
   └─ zig build-exe zig ReleaseFast arm-linux-musleabi failure
error: warning(link): unexpected LLD stderr:
ld.lld: warning: Linking two modules of different target triples: '/home/alexrp/Source/zig-bootstrap/zig/.zig-cache/o/8d1c018e551e750b8d1e3e9d6f58999e/zig.o' is 'arm-unknown-linux-musleabi' whereas 'ld-temp.o' is 'armv4t-unknown-linux-musleabi'

Interesting that it didn't fail earlier like in #101 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants