[llvm] [llvm] annotate interfaces in llvm/Target for DLL export (PR #143615)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 18:53:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-runtime-cuda-gcc` running on `as-builder-7` while building `llvm` at step 6 "build-flang-rt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/152/builds/3299
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build-flang-rt) failure: cmake (failure)
...
9.002 [4964/64/1747] Building AArch64GenFastISel.inc...
9.015 [4963/64/1748] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/GlobalMergeFunctions.cpp.o
9.028 [4962/64/1749] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/HardwareLoops.cpp.o
10.088 [4961/64/1750] Building AArch64GenGlobalISel.inc...
10.922 [4960/64/1751] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/DeadMachineInstructionElim.cpp.o
11.326 [4959/64/1752] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o
11.473 [4958/64/1753] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/EdgeBundles.cpp.o
11.771 [4957/64/1754] Building AArch64GenDAGISel.inc...
11.962 [4956/64/1755] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/DroppedVariableStatsMIR.cpp.o
12.014 [4955/64/1756] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CommandFlags.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CommandFlags.cpp.o
ccache /usr/bin/g++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/build/lib/CodeGen -I/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/lib/CodeGen -I/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/build/include -I/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CommandFlags.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CommandFlags.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CommandFlags.cpp.o -c /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/lib/CodeGen/CommandFlags.cpp
In file included from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/ADT/bit.h:17,
from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/MathExtras.h:16,
from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/ADT/BitmaskEnum.h:17,
from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:18,
from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/CodeGen/CommandFlags.h:18,
from /home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/lib/CodeGen/CommandFlags.cpp:15:
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:120:43: error: standard attributes in middle of decl-specifiers
120 | #define LLVM_ATTRIBUTE_VISIBILITY_DEFAULT [[gnu::visibility("default")]]
| ^
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:213:18: note: in expansion of macro ‘LLVM_ATTRIBUTE_VISIBILITY_DEFAULT’
213 | #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Target/TargetMachine.h:32:8: note: in expansion of macro ‘LLVM_ABI’
32 | extern LLVM_ABI llvm::cl::opt<bool> NoKernelInfoEndLTO;
| ^~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:120:43: note: standard attributes must precede the decl-specifiers to apply to the declaration, or follow them to apply to the type
120 | #define LLVM_ATTRIBUTE_VISIBILITY_DEFAULT [[gnu::visibility("default")]]
| ^
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:213:18: note: in expansion of macro ‘LLVM_ATTRIBUTE_VISIBILITY_DEFAULT’
213 | #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Target/TargetMachine.h:32:8: note: in expansion of macro ‘LLVM_ABI’
32 | extern LLVM_ABI llvm::cl::opt<bool> NoKernelInfoEndLTO;
| ^~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:120:43: warning: attribute ignored [-Wattributes]
120 | #define LLVM_ATTRIBUTE_VISIBILITY_DEFAULT [[gnu::visibility("default")]]
| ^
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:213:18: note: in expansion of macro ‘LLVM_ATTRIBUTE_VISIBILITY_DEFAULT’
213 | #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Target/TargetMachine.h:32:8: note: in expansion of macro ‘LLVM_ABI’
32 | extern LLVM_ABI llvm::cl::opt<bool> NoKernelInfoEndLTO;
| ^~~~~~~~
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:120:43: note: an attribute that appertains to a type-specifier is ignored
120 | #define LLVM_ATTRIBUTE_VISIBILITY_DEFAULT [[gnu::visibility("default")]]
| ^
/home/buildbot/worker/as-builder-7/flang-runtime-cuda-gcc/llvm-project/llvm/include/llvm/Support/Compiler.h:213:18: note: in expansion of macro ‘LLVM_ATTRIBUTE_VISIBILITY_DEFAULT’
```
</details>
https://github.com/llvm/llvm-project/pull/143615
More information about the llvm-commits
mailing list