Skip to content

Add LLVM FileCheck for Core files #144

Add LLVM FileCheck for Core files

Add LLVM FileCheck for Core files #144

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results failed Oct 11, 2023 in 0s

5 fail, 6 skipped, 34 pass in 5m 38s

     288 files  +   136     288 suites  +136   5m 38s ⏱️ + 5m 38s
       45 tests  -      11       34 ✔️  -      20         6 💤 +       4      5 +    5 
12 960 runs  +4 844  9 064 ✔️ +2 804  3 744 💤 +1 888  152 +152 

Results for commit 5b9e5c9. ± Comparison against earlier commit ae8fc1e.

Annotations

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-none-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a5 -mfpu=auto -mfloat-abi=soft -O1 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a5" "-mfpu=auto" "-mfloat-abi=soft" "-O1" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-balanced-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a7 -mfpu=auto -mfloat-abi=soft -O3 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a7" "-mfpu=auto" "-mfloat-abi=soft" "-O3" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-none-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a9" "-mfpu=none" "-O1" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f9d62629d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f9d62629e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-2x37g5us/fpscr_nofp-4766bd.c
armclang: note: diagnostic msg: /tmp/lit-tmp-2x37g5us/fpscr_nofp-4766bd.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-balanced-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a9" "-mfpu=none" "-O3" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f7f67829d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f7f67829e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-zcq945wx/fpscr_nofp-5ebd92.c
armclang: note: diagnostic msg: /tmp/lit-tmp-zcq945wx/fpscr_nofp-5ebd92.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-size-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=auto -mfloat-abi=soft -Oz -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a9" "-mfpu=auto" "-mfloat-abi=soft" "-Oz" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-size-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a5 -mfpu=auto -mfloat-abi=soft -Oz -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a5" "-mfpu=auto" "-mfloat-abi=soft" "-Oz" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-size-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a5" "-mfpu=none" "-Oz" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f32fee29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f32fee29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-lzme7qr6/fpscr_nofp-a45e76.c
armclang: note: diagnostic msg: /tmp/lit-tmp-lzme7qr6/fpscr_nofp-a45e76.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-size-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a9" "-mfpu=none" "-Oz" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f2a7fa29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f2a7fa29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-4h3iov_l/fpscr_nofp-ee86c9.c
armclang: note: diagnostic msg: /tmp/lit-tmp-4h3iov_l/fpscr_nofp-ee86c9.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-speed-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a5" "-mfpu=none" "-Os" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007ff318429d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007ff318429e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-4bmvx8tm/fpscr_nofp-b81524.c
armclang: note: diagnostic msg: /tmp/lit-tmp-4bmvx8tm/fpscr_nofp-b81524.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-speed-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a9" "-mfpu=none" "-Os" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007fa08be29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007fa08be29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-eqf6vzvk/fpscr_nofp-671f9a.c
armclang: note: diagnostic msg: /tmp/lit-tmp-eqf6vzvk/fpscr_nofp-671f9a.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-balanced-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a5" "-mfpu=none" "-O3" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007fb20c029d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007fb20c029e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-8s1ih3gg/fpscr_nofp-7882ae.c
armclang: note: diagnostic msg: /tmp/lit-tmp-8s1ih3gg/fpscr_nofp-7882ae.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-none-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a5" "-mfpu=none" "-O1" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a5 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f7105829d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f7105829e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-6l33k9f0/fpscr_nofp-a9a531.c
armclang: note: diagnostic msg: /tmp/lit-tmp-6l33k9f0/fpscr_nofp-a9a531.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-balanced-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a5 -mfpu=auto -mfloat-abi=soft -O3 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a5" "-mfpu=auto" "-mfloat-abi=soft" "-O3" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-balanced-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a7" "-mfpu=none" "-O3" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -O3 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f3611429d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f3611429e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-jt33usle/fpscr_nofp-783674.c
armclang: note: diagnostic msg: /tmp/lit-tmp-jt33usle/fpscr_nofp-783674.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-balanced-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=auto -mfloat-abi=soft -O3 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a9" "-mfpu=auto" "-mfloat-abi=soft" "-O3" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-speed-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=auto -mfloat-abi=soft -Os -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a9" "-mfpu=auto" "-mfloat-abi=soft" "-Os" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-size-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a7" "-mfpu=none" "-Oz" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -Oz -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007fbd63229d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007fbd63229e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-ezcqyozv/fpscr_nofp-91a19e.c
armclang: note: diagnostic msg: /tmp/lit-tmp-ezcqyozv/fpscr_nofp-91a19e.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-speed-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a5 -mfpu=auto -mfloat-abi=soft -Os -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a5" "-mfpu=auto" "-mfloat-abi=soft" "-Os" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-none-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a7" "-mfpu=none" "-O1" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -O1 -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007f28dc829d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007f28dc829e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-hp0cx_w3/fpscr_nofp-f31e9d.c
armclang: note: diagnostic msg: /tmp/lit-tmp-hp0cx_w3/fpscr_nofp-f31e9d.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-none-CA9.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=auto -mfloat-abi=soft -O1 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a9 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a9" "-mfpu=auto" "-mfloat-abi=soft" "-O1" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a9" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-speed-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a7 -mfpu=auto -mfloat-abi=soft -Os -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a7" "-mfpu=auto" "-mfloat-abi=soft" "-Os" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-none-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a7 -mfpu=auto -mfloat-abi=soft -O1 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a7" "-mfpu=auto" "-mfloat-abi=soft" "-O1" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-size-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a7 -mfpu=auto -mfloat-abi=soft -Oz -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a7" "-mfpu=auto" "-mfloat-abi=soft" "-Oz" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c:9:12: error: CHECK: expected string not found in input
 // CHECK: movs {{r[0-9]+}}, #0
           ^
<stdin>:6:22: note: scanning from here
00000000 <get_fpscr>:
                     ^
<stdin>:8:14: note: possible intended match here
 4: e3a03000 mov r3, #0
             ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
           2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o: file format elf32-littlearm 
           3:  
           4: Disassembly of section .text: 
           5:  
           6: 00000000 <get_fpscr>: 
check:9'0                          X error: no match found
           7:  0: e24dd008 sub sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  4: e3a03000 mov r3, #0 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                  ?           possible intended match
           9:  8: e58d3004 str r3, [sp, #0x4] 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10:  c: e28dd008 add sp, sp, #8 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11:  10: e12fff1e bx lr 
check:9'0     ~~~~~~~~~~~~~~~~~~~~
          12:  
check:9'0     ~
          13: 00000014 <set_fpscr>: 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

error: command failed with exit status: 1

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: fpscr_nofp.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-AC6-speed-CA7.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 2';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a7 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
--
Exit Code: 2

Command Output (stdout):
--
$ ":" "RUN: at line 2"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang" "--target=arm-arm-none-eabi" "-mcpu=cortex-a7" "-mfpu=none" "-Os" "-I" "../Include" "-c" "-D" "CORE_HEADER="core_ca.h"" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
Please contact your supplier or open a support case via https://services.arm.com/support/s/contactsupport to report this issue. Please include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang --target=arm-arm-none-eabi -mcpu=cortex-a7 -mfpu=none -Os -I ../Include -c -D CORE_HEADER=\"core_ca.h\" -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c'.
4.	Running pass 'ARM Instruction Selection' on function '@get_fpscr'
 #0 0x0000000002393298 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2393298)
 #1 0x00000000023913c4 llvm::sys::CleanupOnSignal(unsigned long) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x23913c4)
 #2 0x00000000022e8583 llvm::CrashRecoveryContext::HandleExit(int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8583)
 #3 0x000000000238917e llvm::sys::Process::Exit(int, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x238917e)
 #4 0x00000000009f8c13 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f8c13)
 #5 0x00000000022ee763 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22ee763)
 #6 0x00000000034d2d04 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d2d04)
 #7 0x00000000034d7f6d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d7f6d)
 #8 0x0000000000b2c371 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb2c371)
 #9 0x00000000034d0cdf llvm::SelectionDAGISel::DoInstructionSelection() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34d0cdf)
#10 0x00000000034dc605 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34dc605)
#11 0x00000000034df301 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34df301)
#12 0x00000000034e1a9f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x34e1a9f)
#13 0x0000000000b36b34 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0xb36b34)
#14 0x0000000001734010 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1734010)
#15 0x0000000001c53510 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53510)
#16 0x0000000001c53681 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c53681)
#17 0x0000000001c549c0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x1c549c0)
#18 0x0000000002753e86 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2753e86)
#19 0x000000000362b66f (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362b66f)
#20 0x00000000044bf70d clang::ParseAST(clang::Sema&, bool, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x44bf70d)
#21 0x000000000362ac95 clang::CodeGenAction::ExecuteAction() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x362ac95)
#22 0x0000000002f320f9 clang::FrontendAction::Execute() (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2f320f9)
#23 0x0000000002eb4f23 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2eb4f23)
#24 0x0000000003012f2b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x3012f2b)
#25 0x00000000009f9e84 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f9e84)
#26 0x00000000009f53eb llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f53eb)
#27 0x0000000002d07fa5 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d07fa5)
#28 0x00000000022e8483 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x22e8483)
#29 0x0000000002d081c9 (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2d081c9)
#30 0x0000000002cd00f5 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd00f5)
#31 0x0000000002cd0add clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cd0add)
#32 0x0000000002cdaaec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x2cdaaec)
#33 0x00000000009f81bc llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f81bc)
#34 0x00007fbf8fe29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007fbf8fe29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x00000000009f12b6 llvm::codeview::TypeTableCollection::replaceType(llvm::codeview::TypeIndex&, llvm::codeview::CVRecord<llvm::codeview::TypeLeafKind>, bool) (/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.armclang/6.20.0/bin/armclang+0x9f12b6)
armclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Product: Hardware Success Kit (Early Access)
Component: Arm Compiler for Embedded 6.20
Tool: armclang [5e9ad700]

Target: arm-arm-none-eabi
armclang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
armclang: note: diagnostic msg: /tmp/lit-tmp-s_i4m9on/fpscr_nofp-925865.c
armclang: note: diagnostic msg: /tmp/lit-tmp-s_i4m9on/fpscr_nofp-925865.sh
armclang: note: diagnostic msg: 

********************

error: command failed with exit status: 1
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a7" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o"
# command stderr:
/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump: error: '/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c.o': No such file or directory

error: command failed with exit status: 1
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/fpscr_nofp.c

error: command failed with exit status: 2

--

Check warning on line 0 in CMSIS-Core.CMSIS-Core

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 288 runs failed: ldrt.c (CMSIS-Core.CMSIS-Core)

./CMSIS/Core/Test/lit-GCC-none-CA5.xunit [took 0s]
Raw output
Script:
--
: 'RUN: at line 3';   /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc -mcpu=cortex-a5 -mfpu=auto -mfloat-abi=soft -O1 -I ../Include -D CORE_HEADER=\"core_ca.h\" -c -D __CA_REV=0x0000U -D __FPU_PRESENT=1U -D __GIC_PRESENT=1U -D __TIM_PRESENT=1U -D __L2C_PRESENT=1U -o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c.o /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c; /home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump --mcpu=cortex-a5 -d /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c.o | FileCheck --allow-unused-prefixes --check-prefixes CHECK,CHECK-ARM /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 3"
$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.arm.none.eabi.gcc/12.3.1/bin/arm-none-eabi-gcc" "-mcpu=cortex-a5" "-mfpu=auto" "-mfloat-abi=soft" "-O1" "-I" "../Include" "-D" "CORE_HEADER="core_ca.h"" "-c" "-D" "__CA_REV=0x0000U" "-D" "__FPU_PRESENT=1U" "-D" "__GIC_PRESENT=1U" "-D" "__TIM_PRESENT=1U" "-D" "__L2C_PRESENT=1U" "-o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c.o" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c: In function 'ldrbt':
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:14:31: warning: implicit declaration of function '__LDRBT' [-Wimplicit-function-declaration]
   14 |     volatile uint8_t result = __LDRBT(&v8);
      |                               ^~~~~~~
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c: In function 'ldrht':
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:21:32: warning: implicit declaration of function '__LDRHT' [-Wimplicit-function-declaration]
   21 |     volatile uint16_t result = __LDRHT(&v16);
      |                                ^~~~~~~
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c: In function 'ldrt':
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:28:32: warning: implicit declaration of function '__LDRT'; did you mean '__LDREXW'? [-Wimplicit-function-declaration]
   28 |     volatile uint32_t result = __LDRT(&v32);
      |                                ^~~~~~
      |                                __LDREXW

$ "/home/runner/.vcpkg/downloads/artifacts/fd3d78d7/compilers.arm.llvm.embedded/17.0.1/bin/llvm-objdump" "--mcpu=cortex-a5" "-d" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c.o"
$ "FileCheck" "--allow-unused-prefixes" "--check-prefixes" "CHECK,CHECK-ARM" "/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c"
# command stderr:
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:13:12: error: CHECK: expected string not found in input
 // CHECK: ldrbt {{r[0-9]+}}, [{{r[0-9]+}}]
           ^
<stdin>:6:18: note: scanning from here
00000000 <ldrbt>:
                 ^
<stdin>:13:15: note: possible intended match here
 18: e5cd0007 strb r0, [sp, #0x7]
              ^
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:20:12: error: CHECK: expected string not found in input
 // CHECK: ldrht {{r[0-9]+}}, [{{r[0-9]+}}]
           ^
<stdin>:17:18: note: scanning from here
00000024 <ldrht>:
                 ^
<stdin>:23:15: note: possible intended match here
 38: e1cd00b6 strh r0, [sp, #6]
              ^
/home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c:27:12: error: CHECK: expected string not found in input
 // CHECK: ldrt {{r[0-9]+}}, [{{r[0-9]+}}]
           ^
<stdin>:30:17: note: scanning from here
00000048 <ldrt>:
                ^
<stdin>:31:19: note: possible intended match here
 48: e52de004 str lr, [sp, #-0x4]!
                  ^

Input file: <stdin>
Check file: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1:  
            2: /home/runner/work/CMSIS_6/CMSIS_6/CMSIS/Core/Test/ldrt.c.o: file format elf32-littlearm 
            3:  
            4: Disassembly of section .text: 
            5:  
            6: 00000000 <ldrbt>: 
check:13'0                      X error: no match found
            7:  0: e52de004 str lr, [sp, #-0x4]! 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            8:  4: e24dd00c sub sp, sp, #12 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            9:  8: e3000000 movw r0, #0x0 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           10:  c: e3400000 movt r0, #0x0 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           11:  10: ebfffffe bl 0x10 <ldrbt+0x10> @ imm = #-0x8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           12:  14: e6ef0070 uxtb r0, r0 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           13:  18: e5cd0007 strb r0, [sp, #0x7] 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'1                   ?                    possible intended match
           14:  1c: e28dd00c add sp, sp, #12 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           15:  20: e49df004 ldr pc, [sp], #4 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           16:  
check:13'0     ~
           17: 00000024 <ldrht>: 
check:13'0     ~~~~~~~~~~~~~~~~~
check:20'0                      X error: no match found
           18:  24: e52de004 str lr, [sp, #-0x4]! 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           19:  28: e24dd00c sub sp, sp, #12 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           20:  2c: e59f0010 ldr r0, [pc, #0x10] @ 0x44 <ldrht+0x20> 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           21:  30: ebfffffe bl 0x30 <ldrht+0xc> @ imm = #-0x8 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           22:  34: e6ff0070 uxth r0, r0 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           23:  38: e1cd00b6 strh r0, [sp, #6] 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:20'1                   ?                  possible intended match
           24:  3c: e28dd00c add sp, sp, #12 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           25:  40: e49df004 ldr pc, [sp], #4 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           26:  
check:20'0     ~
           27: 00000044 <$d>: 
check:20'0     ~~~~~~~~~~~~~~~
           28:  44: 02 00 00 00 .word 0x00000002 
check:20'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           29:  
check:20'0     ~
           30: 00000048 <ldrt>: 
check:20'0     ~~~~~~~~~~~~~~~~
check:27'0                     X error: no match found
           31:  48: e52de004 str lr, [sp, #-0x4]! 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:27'1                       ?                 possible intended match
           32:  4c: e24dd00c sub sp, sp, #12 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  50: e59f000c ldr r0, [pc, #0xc] @ 0x64 <ldrt+0x1c> 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           34:  54: ebfffffe bl 0x54 <ldrt+0xc> @ imm = #-0x8 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           35:  58: e58d0004 str r0, [sp, #0x4] 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           36:  5c: e28dd00c add sp, sp, #12 
check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
>>>>>>

error: command failed with exit status: 1

--