Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2021 10:05:38 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 77396775753d - stable/12 - Reapply r344852:
Message-ID:  <202112221005.1BMA5cqJ091627@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=77396775753d244fd3dee6b1920faf942d42536b

commit 77396775753d244fd3dee6b1920faf942d42536b
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2020-08-06 16:27:24 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-22 09:58:18 +0000

    Reapply r344852:
    
    Put in a temporary workaround for what is likely a gcc 6 bug (it does
    not occur with gcc 7 or later).  This should prevent the following error
    from breaking the head-amd64-gcc CI builds:
    
    In file included from /workspace/src/contrib/llvm/tools/lldb/source/API/SBMemoryRegionInfo.cpp:14:0:
    /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: 'template<class _InputIterator> lldb_private::MemoryRegionInfos::MemoryRegionInfos(_InputIterator, _InputIterator, const allocator_type&)' inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
       using std::vector<lldb_private::MemoryRegionInfo>::vector;
                                                          ^~~~~~
    /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: conflicts with version inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
    
    Reported by:    CI
    
    (cherry picked from commit 4beee107921198ecca69a26d70533b36e96bb21c)
---
 contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h b/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h
index a22da8d72b83..9f089b4b0083 100644
--- a/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h
+++ b/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h
@@ -126,7 +126,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
 // Forward-declarable wrapper.
 class MemoryRegionInfos : public std::vector<lldb_private::MemoryRegionInfo> {
 public:
-  using std::vector<lldb_private::MemoryRegionInfo>::vector;
+  //using std::vector<lldb_private::MemoryRegionInfo>::vector;
 };
 
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112221005.1BMA5cqJ091627>