[Webkit-unassigned] [Bug 185461] New: [GTK][JHBuild] LLVM build in broken with GCC 8.1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 8 19:22:11 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185461
Bug ID: 185461
Summary: [GTK][JHBuild] LLVM build in broken with GCC 8.1
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cadubentzen at gmail.com
CC: bugs-noreply at webkitgtk.org
While building LLVM 3.7.0 from JHBuild with GCC 8.1 we get a simple casting error:
/home/cadubentzen/Downloads/llvm-3.7.0.src/include/llvm/IR/ValueMap.h:102:31: error: cannot convert ‘const std::unique_ptr<llvm::DenseMap<const llvm::Metadata*, llvm::TrackingMDRef> >’ to ‘bool’ in return
bool hasMD() const { return MDMap; }
I see two options:
- Add a patch with the explicit cast in JHBuild, pretty easy and no impact in other places;
- Raise LLVM to 3.9.0 (release that had it fixed first, which was in LLVV's SVN at r265828).
I tested that the first solution works and no errors occur in other places during compilation.
But if it's desirable to have a higher LLVM version, we can raise it to 3.9.0.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180509/317bcd82/attachment-0001.html>
More information about the webkit-unassigned
mailing list