| Summary: | www/firefox: Clang 5.0 crashes during TEST=on build on aarch64 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Jan Beich <jbeich> | ||||||
| Component: | bin | Assignee: | Dimitry Andric <dim> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | dim, emaste | ||||||
| Priority: | --- | Keywords: | needs-qa, regression | ||||||
| Version: | CURRENT | ||||||||
| Hardware: | arm64 | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Jan Beich
2017-10-16 18:05:17 UTC
Clang 4.0 on 11.1-RELEASE appears to be unaffected. Created attachment 187218 [details]
command line args (for clang 5.0)
Forgot to mention the intent. Until bug 221185 and bug 223009 are fixed building JS standalone is the only way to check www/firefox for regressions on aarch64. I can reproduce this, and will reduce/bisect. This regressed by the upstream commit https://reviews.llvm.org/rL308025, I reported a bug here: https://bugs.llvm.org/show_bug.cgi?id=34979 A commit references this bug: Author: dim Date: Sat Oct 21 19:14:45 UTC 2017 New revision: 324826 URL: https://svnweb.freebsd.org/changeset/base/324826 Log: Pull in r316035 from upstream llvm trunk (by Tim Northover): AArch64: account for possible frame index operand in compares. If the address of a local is used in a comparison, AArch64 can fold the address-calculation into the comparison via "adds". Unfortunately, a couple of places (both hit in this one test) are not ready to deal with that yet and just assume the first source operand is a register. This should fix an assertion failure while building the test suite of www/firefox for AArch64. PR: 223048 MFC after: 3 days Changes: head/contrib/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp head/contrib/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp A commit references this bug: Author: dim Date: Tue Oct 24 06:49:07 UTC 2017 New revision: 324946 URL: https://svnweb.freebsd.org/changeset/base/324946 Log: MFC r324826: Pull in r316035 from upstream llvm trunk (by Tim Northover): AArch64: account for possible frame index operand in compares. If the address of a local is used in a comparison, AArch64 can fold the address-calculation into the comparison via "adds". Unfortunately, a couple of places (both hit in this one test) are not ready to deal with that yet and just assume the first source operand is a register. This should fix an assertion failure while building the test suite of www/firefox for AArch64. PR: 223048 Changes: _U stable/11/ stable/11/contrib/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp stable/11/contrib/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp |