[llvm-bugs] [Bug 42827] New: clang-9 RC ICE when building clangd with -DLLVM_ENABLE_MODULES=On
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 30 08:13:07 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42827
Bug ID: 42827
Summary: clang-9 RC ICE when building clangd with
-DLLVM_ENABLE_MODULES=On
Product: clang
Version: 9.0
Hardware: All
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: Modules
Assignee: unassignedclangbugs at nondot.org
Reporter: modocache at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Blocks: 42474
Created attachment 22315
--> https://bugs.llvm.org/attachment.cgi?id=22315&action=edit
A script I used to reproduce the issue. It builds clang, then uses it to
compile clangd with LLVM_ENABLE_MODULES. I also used this script to bisect.
As I explained in my email to llvm-dev on July 29,
http://lists.llvm.org/pipermail/llvm-dev/2019-July/134214.html, I am running
into a Clang ICE when I use a clang-9 built from llvm-project's release/9.x
branch to compile clangd from the release/9.x branch source.
I wrote a script to reproduce the issue, and posted the output from running
that script, in
https://gist.github.com/modocache/ac366ca9673b93bb21e75d3e72162608. I'll also
attach those files to this bug.
I used the script above to bisect, and I found that the first commit that
demonstrates the issue is
https://github.com/llvm/llvm-project/commit/baae41ff76f662987f31447686ba819dcd748b3f.
In the email discussion, I was asked to verify whether the issue reproduces on
llvm-project master. It does for me, and I posted the repro script and its
output to https://gist.github.com/modocache/d9700166067f4a155820bc57d9bee1f3.
However, the issue doesn't appear to occur in buildbots such as
http://green.lab.llvm.org/green/job/clang-stage2-coverage-R/4124/console, which
use -DLLVM_ENABLE_MODULES=On. I can't explain why at the moment.
For now I'm registering this bug as a release blocker for 9.0.0 RC 1, please
let me know if that's appropriate.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=42474
[Bug 42474] [meta] 9.0.0 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190730/6a77a95d/attachment.html>
More information about the llvm-bugs
mailing list