Skip to content

thumb-linux-gnueabi #178

Closed as not planned
Closed as not planned
@alexrp

Description

@alexrp
-- Check for working C compiler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig
-- Check for working C compiler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/home/alexrp/Source/zig-bootstrap/out/host/bin/zig"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/alexrp/Source/zig-bootstrap/out/build-zlib-thumb-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-WSA6UU'

    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_5282a/fast
    /usr/bin/gmake  -f CMakeFiles/cmTC_5282a.dir/build.make CMakeFiles/cmTC_5282a.dir/build
    gmake[1]: Entering directory '/home/alexrp/Source/zig-bootstrap/out/build-zlib-thumb-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-WSA6UU'
    Building C object CMakeFiles/cmTC_5282a.dir/testCCompiler.c.o
    /home/alexrp/Source/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -s -target thumb-linux-gnueabi -mcpu=baseline    -MD -MT CMakeFiles/cmTC_5282a.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_5282a.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_5282a.dir/testCCompiler.c.o -c /home/alexrp/Source/zig-bootstrap/out/build-zlib-thumb-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-WSA6UU/testCCompiler.c
    Linking C executable cmTC_5282a
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5282a.dir/link.txt --verbose=1
    /home/alexrp/Source/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -s -target thumb-linux-gnueabi -mcpu=baseline CMakeFiles/cmTC_5282a.dir/testCCompiler.c.o -o cmTC_5282a
    In file included from /home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libc/glibc/sysdeps/arm/crti.S:44:
    In file included from /home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libc/glibc/sysdeps/unix/sysv/linux/arm/sysdep.h:37:
    /home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libc/include/generic-glibc/bits/hwcap.h:20:3: error: "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
       20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
          |   ^
    1 error generated.
    gmake[1]: *** [CMakeFiles/cmTC_5282a.dir/build.make:100: cmTC_5282a] Error 1
    gmake[1]: Leaving directory '/home/alexrp/Source/zig-bootstrap/out/build-zlib-thumb-linux-gnueabi-baseline/CMakeFiles/CMakeScratch/TryCompile-WSA6UU'
    gmake: *** [Makefile:127: cmTC_5282a/fast] Error 2





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


-- Configuring incomplete, errors occurred!

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