[Bug 237960] lang/erlang does not build on arm with the NATIVE option
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 28 14:18:45 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237960
--- Comment #10 from Bertrand Petit <bsdpr at phoe.frmug.org> ---
(In reply to Dave Cottlehuber from comment #9)
> BTW my general advice for both HiPE and native is not to use them unless
> you're hitting limits
I concur with you and add that HiPE is unusable on armv6. I prematurely
interrupted the test suite when I observed the occurrence of countless beam
segfaults in the system log.
After exploring part of the port configuration space on an RPi, I came to the
conclusion that base clang is unsuitable to build OTP and that NATIVE should
not be used at all.
I propose a patch which include:
- a fix for the linux-only system call in HiPE.
- constrain options availability on armv6
- build OTP with clang80 on armv6
- add a test target that builds and run the full test suite.
There is still an issue I've not addressed: the test suite directly executes
make(1) but it should execute gmake(1) instead.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-erlang
mailing list