[libcxx-commits] [clang] [libcxxabi] [clang][ItaniumMangle] Mangle friend function templates with a constr… (PR #110247)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 30 00:54:25 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang,libcxxabi` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/5840

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1325/1327] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1326/1327] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/wasm-ld
-- Testing: 21274 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 
FAIL: Clang :: CodeGenCXX/mangle-concept.cpp (8697 of 21274)
******************** TEST 'Clang :: CodeGenCXX/mangle-concept.cpp' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/lib/clang/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/lib/clang/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp
error: 'expected-error' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: redefinition of 'h'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 38: default template argument not permitted on a friend template
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: redefinition of 'j'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 44: default template argument not permitted on a friend template
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: redefinition of 'l'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 50: default template argument not permitted on a friend template
error: 'expected-note' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 55: in instantiation of template class 'test2::A<bool>' requested here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: previous definition is here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: previous definition is here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: previous definition is here
10 errors generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: CodeGenCXX/mangle-concept.cpp


Testing Time: 77.51s

Total Discovered Tests: 45202
  Skipped          :     8 (0.02%)
  Unsupported      :   865 (1.91%)
Step 7 (check) failure: check (failure)
...
[1325/1327] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[1326/1327] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/wasm-ld
-- Testing: 21274 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 
FAIL: Clang :: CodeGenCXX/mangle-concept.cpp (8697 of 21274)
******************** TEST 'Clang :: CodeGenCXX/mangle-concept.cpp' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/lib/clang/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/lib/clang/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp
error: 'expected-error' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: redefinition of 'h'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 38: default template argument not permitted on a friend template
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: redefinition of 'j'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 44: default template argument not permitted on a friend template
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: redefinition of 'l'
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 50: default template argument not permitted on a friend template
error: 'expected-note' diagnostics seen but not expected: 
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 55: in instantiation of template class 'test2::A<bool>' requested here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: previous definition is here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: previous definition is here
  File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: previous definition is here
10 errors generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8ofqkhlk/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGenCXX/mangle-concept.cpp

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  Clang :: CodeGenCXX/mangle-concept.cpp


Testing Time: 77.51s

Total Discovered Tests: 45202
  Skipped          :     8 (0.02%)
  Unsupported      :   865 (1.91%)

```

</details>

https://github.com/llvm/llvm-project/pull/110247


More information about the libcxx-commits mailing list