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

Arm64 CI machines failing #81519

Closed
tannergooding opened this issue Feb 2, 2023 · 4 comments
Closed

Arm64 CI machines failing #81519

tannergooding opened this issue Feb 2, 2023 · 4 comments
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Comments

@tannergooding
Copy link
Member

tannergooding commented Feb 2, 2023

Many Arm64 CI machines are failing with errors similar to:

CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
  The C compiler

    "/usr/bin/clang-9"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo
    
    Run Build Command(s):/usr/bin/make -f Makefile cmTC_d07c0/fast && /usr/bin/make  -f CMakeFiles/cmTC_d07c0.dir/build.make CMakeFiles/cmTC_d07c0.dir/build
    make[1]: Entering directory '/__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo'
    Building C object CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o
    /usr/bin/clang-9 --target=aarch64-linux-gnu --gcc-toolchain=/crossrootfs/usr --sysroot=/crossrootfs    -MD -MT CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -c /__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo/testCCompiler.c
    Linking C executable cmTC_d07c0
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d07c0.dir/link.txt --verbose=1
    /usr/bin/clang-9 --target=aarch64-linux-gnu --gcc-toolchain=/crossrootfs/usr --sysroot=/crossrootfs -Wl,--rpath-link=/crossrootfs/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/usr/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/usr/lib/aarch64-linux-gnu -fuse-ld=lld  CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -o cmTC_d07c0 
    ld.lld: error: cannot open crt1.o: No such file or directory
    ld.lld: error: cannot open crti.o: No such file or directory
    ld.lld: error: cannot open crtbegin.o: No such file or directory
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: unable to find library -lc
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: cannot open crtend.o: No such file or directory
    ld.lld: error: cannot open crtn.o: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [CMakeFiles/cmTC_d07c0.dir/build.make:100: cmTC_d07c0] Error 1
    make[1]: Leaving directory '/__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo'
    make: *** [Makefile:127: cmTC_d07c0/fast] Error 2

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 2, 2023
@ghost
Copy link

ghost commented Feb 2, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Many Arm64 CI machines are failing with errors similar to:

CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
  The C compiler

    "/usr/bin/clang-9"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo
    
    Run Build Command(s):/usr/bin/make -f Makefile cmTC_d07c0/fast && /usr/bin/make  -f CMakeFiles/cmTC_d07c0.dir/build.make CMakeFiles/cmTC_d07c0.dir/build
    make[1]: Entering directory '/__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo'
    Building C object CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o
    /usr/bin/clang-9 --target=aarch64-linux-gnu --gcc-toolchain=/crossrootfs/usr --sysroot=/crossrootfs    -MD -MT CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -c /__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo/testCCompiler.c
    Linking C executable cmTC_d07c0
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d07c0.dir/link.txt --verbose=1
    /usr/bin/clang-9 --target=aarch64-linux-gnu --gcc-toolchain=/crossrootfs/usr --sysroot=/crossrootfs -Wl,--rpath-link=/crossrootfs/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/usr/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/lib/aarch64-linux-gnu -Wl,--rpath-link=/crossrootfs/usr/lib/aarch64-linux-gnu -fuse-ld=lld  CMakeFiles/cmTC_d07c0.dir/testCCompiler.c.o -o cmTC_d07c0 
    ld.lld: error: cannot open crt1.o: No such file or directory
    ld.lld: error: cannot open crti.o: No such file or directory
    ld.lld: error: cannot open crtbegin.o: No such file or directory
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: unable to find library -lc
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: cannot open crtend.o: No such file or directory
    ld.lld: error: cannot open crtn.o: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [CMakeFiles/cmTC_d07c0.dir/build.make:100: cmTC_d07c0] Error 1
    make[1]: Leaving directory '/__w/1/s/artifacts/obj/coreclr/linux.arm64.Checked/CMakeFiles/CMakeScratch/TryCompile-4AiZOo'
    make: *** [Makefile:127: cmTC_d07c0/fast] Error 2
Author: tannergooding
Assignees: -
Labels:

area-Infrastructure-coreclr, untriaged

Milestone: -

@AndyAyersMS
Copy link
Member

See dotnet/arcade#12395

@stephentoub stephentoub added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 2, 2023
@tlakollo
Copy link
Contributor

tlakollo commented Feb 2, 2023

#81354 should fix it

@steveisok
Copy link
Member

Closing as this seems to be resolved.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Feb 7, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Projects
None yet
Development

No branches or pull requests

5 participants