[lldb-dev] [Bug 44791] New: LLDB 10.x (and current master) fails to build with GCC 5.4

via lldb-dev lldb-dev at lists.llvm.org
Wed Feb 5 01:54:57 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44791

            Bug ID: 44791
           Summary: LLDB 10.x (and current master) fails to build with GCC
                    5.4
           Product: lldb
           Version: 10.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: martin at martin.st
                CC: aprantl at apple.com, hans at chromium.org,
                    jdevlieghere at apple.com, labath at google.com,
                    llvm-bugs at lists.llvm.org
            Blocks: 44555

Building the current master with GCC 5.4 (on Ubuntu 16.04) fails like this:

../tools/lldb/source/DataFormatters/LanguageCategory.cpp:71:68: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::TypeFormatImplSP>() {
                                                                    ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:76:69: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::TypeSummaryImplSP>() {
                                                                     ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:81:71: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder<lldb::SyntheticChildrenSP>() {
                                                                       ^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:  
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
         ^


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.0.0 Release Blockers
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200205/90500086/attachment.html>


More information about the lldb-dev mailing list