[llvm] [NFC][OpenMP] Update a test that was failing on aarch64. (PR #164456)
    Michał Górny via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 18:47:42 PDT 2025
    
    
  
mgorny wrote:
```
FAIL: libomptarget :: aarch64-unknown-linux-gnu :: mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp (115 of 810)
******************** TEST 'libomptarget :: aarch64-unknown-linux-gnu :: mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/lib/ccache/bin/aarch64-unknown-linux-gnu-clang++ -fopenmp    -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I /usr/include -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -L /usr/lib/llvm/22/lib64 -L /usr/lib64  -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib64 -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -Wl,-rpath,/usr/lib/llvm/22/lib64  -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp && /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp | /usr/lib/llvm/22/bin/FileCheck /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# executed command: /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-clang++ -fopenmp -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I /usr/include -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -L /usr/lib/llvm/22/lib64 -L /usr/lib64 -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib64 -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -Wl,-rpath,/usr/lib/llvm/22/lib64 -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp
# executed command: /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp
# executed command: /usr/lib/llvm/22/bin/FileCheck /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# .---command stderr------------
# | /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp:38:17: error: CHECK-NEXT: expected string not found in input
# |  // CHECK-NEXT: 0 1
# |                 ^
# | <stdin>:1:2: note: scanning from here
# | 1
# |  ^
# | <stdin>:2:1: note: possible intended match here
# | 0 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: 1 
# | next:38'0      X error: no match found
# |            2: 0 0 
# | next:38'0     ~~~~
# | next:38'1     ?    possible intended match
# |            3: 187650700083129 (0xaaaad551ffb9) -93819981660231 (0xffffaaabd551ffb9) 
# | next:38'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
********************
FAIL: libomptarget :: aarch64-unknown-linux-gnu-LTO :: mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp (683 of 810)
******************** TEST 'libomptarget :: aarch64-unknown-linux-gnu-LTO :: mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/lib/ccache/bin/aarch64-unknown-linux-gnu-clang++ -fopenmp    -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I /usr/include -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -L /usr/lib/llvm/22/lib64 -L /usr/lib64  -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib64 -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -Wl,-rpath,/usr/lib/llvm/22/lib64 -foffload-lto  -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu-LTO/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp && /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu-LTO/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp | /usr/lib/llvm/22/bin/FileCheck /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# executed command: /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-clang++ -fopenmp -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I /usr/include -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -L /usr/lib/llvm/22/lib64 -L /usr/lib64 -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib64 -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/lib -Wl,-rpath,/usr/lib/llvm/22/lib64 -foffload-lto -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu-LTO/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp
# executed command: /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu-LTO/mapping/use_device_addr/Output/target_data_use_device_addr_class_member_ref_with_map.cpp.tmp
# executed command: /usr/lib/llvm/22/bin/FileCheck /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# .---command stderr------------
# | /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp:38:17: error: CHECK-NEXT: expected string not found in input
# |  // CHECK-NEXT: 0 1
# |                 ^
# | <stdin>:1:2: note: scanning from here
# | 1
# |  ^
# | <stdin>:2:1: note: possible intended match here
# | 0 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: 1 
# | next:38'0      X error: no match found
# |            2: 0 0 
# | next:38'0     ~~~~
# | next:38'1     ?    possible intended match
# |            3: 187651030581177 (0xaaaae904ffb9) -93819651162183 (0xffffaaabe904ffb9) 
# | next:38'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
https://github.com/llvm/llvm-project/pull/164456
    
    
More information about the llvm-commits
mailing list