Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI - Linux x64 clang BYO LLVM failing during build #19549

Open
Eliasj42 opened this issue Dec 20, 2024 · 0 comments
Open

CI - Linux x64 clang BYO LLVM failing during build #19549

Eliasj42 opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
bug 🐞 Something isn't working infrastructure Relating to build systems, CI, or testing

Comments

@Eliasj42
Copy link
Contributor

What happened?

CI - Linux x64 clang BYO LLVM is failing when building LLvm with the message

[261/2614] Building CXX object tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o
FAILED: tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o 
ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/__w/iree/iree/build-byo-llvm/mlir/tools/mlir-opt -I/__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-opt -I/__w/iree/iree/build-byo-llvm/install/llvm/include -I/__w/iree/iree/third_party/llvm-project/mlir/include -I/__w/iree/iree/build-byo-llvm/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG  -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -std=gnu++17 -MD -MT tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o -MF tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o.d -o tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o -c /__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-opt/mlir-opt.cpp
In file included from /__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-opt/mlir-opt.cpp:14:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/AsmState.h:18:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/OperationSupport.h:18:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/BlockSupport.h:16:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/Value.h:17:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/UseDefLists.h:16:
/__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/Location.h:145:10: fatal error: 'mlir/IR/BuiltinLocationAttributes.h.inc' file not found
#include "mlir/IR/BuiltinLocationAttributes.h.inc"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and

[266/2614] Building CXX object tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o
FAILED: tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o 
ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/__w/iree/iree/build-byo-llvm/mlir/tools/mlir-reduce -I/__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-reduce -I/__w/iree/iree/build-byo-llvm/install/llvm/include -I/__w/iree/iree/third_party/llvm-project/mlir/include -I/__w/iree/iree/build-byo-llvm/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG  -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -std=gnu++17 -MD -MT tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o -MF tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o.d -o tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o -c /__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-reduce/mlir-reduce.cpp
In file included from /__w/iree/iree/third_party/llvm-project/mlir/tools/mlir-reduce/mlir-reduce.cpp:16:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/Dialect.h:17:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/OperationSupport.h:18:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/BlockSupport.h:16:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/Value.h:17:
In file included from /__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/UseDefLists.h:16:
/__w/iree/iree/third_party/llvm-project/mlir/include/mlir/IR/Location.h:145:10: fatal error: 'mlir/IR/BuiltinLocationAttributes.h.inc' file not found
#include "mlir/IR/BuiltinLocationAttributes.h.inc"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Steps to reproduce your issue

Failed workflow runs can be found here

What component(s) does this issue relate to?

No response

Version information

No response

Additional context

No response

@Eliasj42 Eliasj42 added bug 🐞 Something isn't working infrastructure Relating to build systems, CI, or testing labels Dec 20, 2024
@marbre marbre self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working infrastructure Relating to build systems, CI, or testing
Projects
None yet
Development

No branches or pull requests

2 participants