Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 14:18:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        erlang@FreeBSD.org
Subject:   [Bug 237960] lang/erlang does not build on arm with the NATIVE option
Message-ID:  <bug-237960-38768-W4CmIqM8EO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237960-38768@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237960-38768@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237960

--- Comment #10 from Bertrand Petit <bsdpr@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=20

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 t=
he
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237960-38768-W4CmIqM8EO>