Bug 236567 - lang/spidermonkey170, lang/spidermonkey38: clang 8 crashes during build on armv7 and armv6
Summary: lang/spidermonkey170, lang/spidermonkey38: clang 8 crashes during build on ar...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-toolchain mailing list
Keywords: needs-qa
Depends on:
Blocks: 236062
  Show dependency treegraph
Reported: 2019-03-16 04:17 UTC by Jan Beich
Modified: 2019-03-18 09:59 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (kwm)

vm/Interpreter.cpp (compressed, preprocessed) (970.19 KB, application/x-xz)
2019-03-16 04:19 UTC, Jan Beich
no flags Details
command line args (for clang 8) (4.24 KB, text/plain)
2019-03-16 04:20 UTC, Jan Beich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-03-16 04:17:52 UTC
$ poudriere jail -cj head-armv7 -x -a arm.armv7 -v head -m svn+https
$ poudriere testport -j head-armv7 lang/spidermonkey38
Unable to predicate BX killed renamable $r0
UNREACHABLE executed at /usr/src/contrib/llvm/lib/CodeGen/IfConversion.cpp:2022!
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 8.0.0 (branches/release_80 355677) (based on LLVM 8.0.0)
Target: armv7-unknown-freebsd13.0-gnueabihf
Thread model: posix
InstalledDir: /usr/bin


Also affects some other ports (found only where qemu-user-static didn't hang):

Comment 1 Jan Beich freebsd_committer 2019-03-16 04:19:53 UTC
Created attachment 202899 [details]
vm/Interpreter.cpp (compressed, preprocessed)
Comment 2 Jan Beich freebsd_committer 2019-03-16 04:20:18 UTC
Created attachment 202900 [details]
command line args (for clang 8)
Comment 3 Dimitry Andric freebsd_committer 2019-03-18 09:59:07 UTC
Reproduced, minimized and submitted upstream here: