https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66027
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |trippels at gcc dot gnu.org Known to work| |6.0 Target Milestone|--- |5.2 Known to fail| |5.0 --- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Confirmed. Linking CXX executable ../../bin/llvm-dsymutil [100%] Built target clang-format <nullptr_type 0x3fff8628a6b0 decltype(nullptr) unsigned DI size <integer_cst 0x3fff85b11158 type <integer_type 0x3fff85b402a0 bitsizetype> constant 64> unit size <integer_cst 0x3fff85b11170 type <integer_type 0x3fff85b401f8 sizetype> constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff85f1c438> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1543 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: fatal error: /home/trippels/gcc_5/usr/local/bin/g++ returned 1 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/build.make:228: recipe for target 'bin/diagtool' failed make[2]: *** [bin/diagtool] Error 1 CMakeFiles/Makefile2:14311: recipe for target 'tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/all' failed make[1]: *** [tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX executable ../../../../bin/clang <nullptr_type 0x3fff800abda8 decltype(nullptr) unsigned DI size <integer_cst 0x3fff7f7b1158 type <integer_type 0x3fff7f7e02a0 bitsizetype> constant 64> unit size <integer_cst 0x3fff7f7b1170 type <integer_type 0x3fff7f7e01f8 sizetype> constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff7fddac98> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1543 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: fatal error: /home/trippels/gcc_5/usr/local/bin/g++ returned 1 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/build.make:108: recipe for target 'bin/arcmt-test' failed make[2]: *** [bin/arcmt-test] Error 1 CMakeFiles/Makefile2:14900: recipe for target 'tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/all' failed make[1]: *** [tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/all] Error 2 Linking CXX shared library ../../../../lib/libclang.so /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:26:32: warning: type ‘const struct value_type’ violates one definition rule [-Wodr] typedef const std::pair<T,S> value_type; ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:26:32: note: a different type is defined in another translation unit typedef const std::pair<T,S> value_type; ^ /home/trippels/gcc_5/usr/local/include/c++/5.0.1/bits/stl_pair.h:102:11: note: the first difference of corresponding definitions is field ‘second’ _T2 second; /// @c second is a copy of the second object ^ /home/trippels/gcc_5/usr/local/include/c++/5.0.1/bits/stl_pair.h:102:11: note: a field of same name but different type is defined in another translation unit _T2 second; /// @c second is a copy of the second object ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp:30:8: note: type ‘struct StreamState’ defined in anonymous namespace can not match type ‘struct StreamState’ struct StreamState { ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:29:8: note: the incompatible type defined in anonymous namespace in another translation unit struct StreamState { ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:30:21: warning: type ‘const struct data_type’ violates one definition rule [-Wodr] typedef const S data_type; ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:30:21: note: a different type is defined in another translation unit typedef const S data_type; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp:32:32: note: the first difference of corresponding definitions is field ‘K’ enum Kind { Opened, Closed } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:30:53: note: a field of same name but different type is defined in another translation unit enum Kind { Opened, Closed, OpenFailed, Escaped } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp:32:8: note: type ‘Kind’ defined in anonymous namespace can not match type ‘Kind’ enum Kind { Opened, Closed } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:30:8: note: the incompatible type defined in anonymous namespace in another translation unit enum Kind { Opened, Closed, OpenFailed, Escaped } K; ^ <nullptr_type 0x3fff73bf1500 decltype(nullptr) unsigned DI size <integer_cst 0x3fff73281158 type <integer_type 0x3fff732b02a0 bitsizetype> constant 64> unit size <integer_cst 0x3fff73281170 type <integer_type 0x3fff732b01f8 sizetype> constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff73bf1500> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1543 Please submit a full bug report, with preprocessed source if appropriate.