dyung wrote:
@vgvassilev, we are seeing build failures on our internal gcc based builders on
Ubuntu 22/24 after this change. The error is the following:
```
[8417/8419] Building CXX object
tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/OutOfProcessInterpreterTests.cpp.o
FAILED:
tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/OutOfProcessInterpreterTests.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros
/usr/bin/ccache /usr/lib/icecc/bin/g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC
-D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/home/dyung/src/upstream/build/tools/clang/unittests/Interpreter
-I/home/dyung/src/upstream/llvm-project/clang/unittests/Interpreter
-I/home/dyung/src/upstream/llvm-project/clang/include
-I/home/dyung/src/upstream/build/tools/clang/include
-I/home/dyung/src/upstream/build/include
-I/home/dyung/src/upstream/llvm-project/llvm/include
-I/home/dyung/src/upstream/llvm-project/third-party/unittest/googletest/include
-I/home/dyung/src/upstream/llvm-project/third-party/unittest/googlemock/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-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference
-Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds
-Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wsuggest-override -Wno-comment -Wno-misleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG -std=c++17
-UNDEBUG -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti
-Wno-suggest-override -MD -MT
tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/OutOfProcessInterpreterTests.cpp.o
-MF
tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/OutOfProcessInterpreterTests.cpp.o.d
-o
tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/OutOfProcessInterpreterTests.cpp.o
-c
/home/dyung/src/upstream/llvm-project/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
/home/dyung/src/upstream/llvm-project/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp:116:32:
error: declaration of ‘std::unique_ptr<clang::Interpreter>
{anonymous}::OutOfProcessInterpreterInfo::Interpreter’ changes meaning of
‘Interpreter’ [-Wchanges-meaning]
116 | std::unique_ptr<Interpreter> Interpreter;
| ^~~~~~~~~~~
/home/dyung/src/upstream/llvm-project/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp:116:19:
note: used here to mean ‘class clang::Interpreter’
116 | std::unique_ptr<Interpreter> Interpreter;
| ^~~~~~~~~~~
In file included from
/home/dyung/src/upstream/llvm-project/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp:22:
/home/dyung/src/upstream/llvm-project/clang/include/clang/Interpreter/Interpreter.h:136:7:
note: declared here
136 | class Interpreter {
| ^~~~~~~~~~~
ninja: build stopped: subcommand failed.
```
Can you take a look?
https://github.com/llvm/llvm-project/pull/175322
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits