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
URL:
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)


Attachments
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

http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/head-armv7-default/p495093_s344952/logs/errors/spidermonkey170-17.0.0_8.log
http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/head-armv7-default/p495093_s344952/logs/errors/spidermonkey38-38.8.0_9.log
http://beefy8.nyi.freebsd.org/data/head-armv6-default/p495404_s345044/logs/errors/spidermonkey38-38.8.0_9.log
http://beefy8.nyi.freebsd.org/data/head-armv6-default/p495404_s345044/logs/errors/spidermonkey170-17.0.0_8.log

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

http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/head-armv7-default/p495093_s344952/logs/errors/palemoon-27.9.4_4.log
http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/head-armv7-default/p495093_s344952/logs/errors/seamonkey-2.49.4_24.log
http://beefy8.nyi.freebsd.org/data/head-armv6-default/p495404_s345044/logs/errors/erlang-riak-16.b.02.log
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:

https://bugs.llvm.org/show_bug.cgi?id=41121