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

2020-02-05 Thread via lldb-dev
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@lists.llvm.org
  Reporter: mar...@martin.st
CC: apra...@apple.com, h...@chromium.org,
jdevliegh...@apple.com, lab...@google.com,
llvm-b...@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 auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder() {
^
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 auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
 ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:76:69: error:
specialization of 'template auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder() {
 ^
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 auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
   auto &GetHardcodedFinder();
 ^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:81:71: error:
specialization of 'template auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
 auto &LanguageCategory::GetHardcodedFinder() {
   ^
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 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.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] [Release-testers] [10.0.0 Release] Release Candidate 1 is here

2020-02-05 Thread Dimitry Andric via lldb-dev
On 4 Feb 2020, at 12:06, Dimitry Andric via Release-testers 
 wrote:
> 
> On 30 Jan 2020, at 20:38, Hans Wennborg via Release-testers 
>  wrote:
>> 
>> It took a bit longer than planned due to master being a somewhat
>> unstable at the branch point, but Release Candidate 1 has now been
>> tagged as llvmorg-10.0.0-rc1.
> 
> I tried building rc1 for 32-bit FreeBSD, but ran into a compile error in mlir:

For the i386 build of this rc, I used four patches, which are attached.

Main results on i386-freebsd11:

  Expected Passes: 64948
  Expected Failures  : 251
  Unsupported Tests  : 3082
  Unresolved Tests   : 1
  Unexpected Passes  : 5
  Unexpected Failures: 232
  Individual Timeouts: 10

Uploaded:
SHA256 (clang+llvm-10.0.0-rc1-i386-unknown-freebsd11.tar.xz) = 
2ae94f692d58ecc6833c76a809d2aa4fbc35d597ba7be355f2d15aef10d8b6db

Building the test-suite results in the same segfaults as on amd64, which
is tracked in https://bugs.llvm.org/show_bug.cgi?id=44763.

Note that the test-suite never fully built on i386 anyway, due to its
hardcoded use of SSE instructions, so this is not really a big
regression. :-)

-Dimitry


fix-clang-1.diff
Description: Binary data


fix-compiler-rt-1.diff
Description: Binary data


fix-mlir-1.diff
Description: Binary data


fix-test-suite-1.diff
Description: Binary data


signature.asc
Description: Message signed with OpenPGP
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev