-
-
Notifications
You must be signed in to change notification settings - Fork 92
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-gnueabi #101
Comments
Where does it fail, if you add/apply this PR ziglang/zig#12346 ? |
After copying the file to /home/user/git/zig-bootstrap/zlib/zutil.c:317:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL zcfree(opaque, ptr)
^
3 warnings generated.
34 warnings generated.
26 warnings generated.
[100%] Linking C static library libz.a
[100%] Built target z
Install the project...
-- Install configuration: "Release"
-- Installing: /home/user/git/zig-bootstrap/out/arm-linux-gnueabi-baseline/lib/libz.a
-- Installing: /home/user/git/zig-bootstrap/out/arm-linux-gnueabi-baseline/include/zconf.h
-- Installing: /home/user/git/zig-bootstrap/out/arm-linux-gnueabi-baseline/include/zlib.h
-- The C compiler identification is Clang 15.0.3
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: /home/user/git/zig-bootstrap/out/host/bin/zig
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/user/git/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/git/zig-bootstrap/out/host/bin/zig
-- Check for working CXX compiler: /home/user/git/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:63 (message):
The C++ compiler
"/home/user/git/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/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-NnaEpK
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a021c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a021c.dir/build.make CMakeFiles/cmTC_a021c.dir/build
gmake[1]: Entering directory '/home/user/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-NnaEpK'
Building CXX object CMakeFiles/cmTC_a021c.dir/testCXXCompiler.cxx.o
/home/user/git/zig-bootstrap/out/host/bin/zig c++ -fno-sanitize=all -s -target arm-linux-gnueabi -mcpu=baseline -o CMakeFiles/cmTC_a021c.dir/testCXXCompiler.cxx.o -c /home/user/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-NnaEpK/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_a021c.dir/build.make:78: CMakeFiles/cmTC_a021c.dir/testCXXCompiler.cxx.o] Error 1
gmake[1]: Leaving directory '/home/user/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-NnaEpK'
gmake: *** [Makefile:127: cmTC_a021c/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:54 (project)
-- Configuring incomplete, errors occurred!
See also "/home/user/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeOutput.log".
See also "/home/user/git/zig-bootstrap/out/build-llvm-arm-linux-gnueabi-baseline/CMakeFiles/CMakeError.log". |
On the 2nd build of LLVM:
( This is very likely ziglang/zig#10411. |
Host system: x86_64-gentoo-linux-musl
The text was updated successfully, but these errors were encountered: