Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2019 15:06:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237960] lang/erlang does not build on arm with the NATIVE option
Message-ID:  <bug-237960-7788-KpOwyKeTo9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237960-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237960-7788@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

mikael.urankar@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael.urankar@gmail.com

--- Comment #3 from mikael.urankar@gmail.com ---
(In reply to Bertrand Petit from comment #1)
erlang uses a linux syscall to flush cache [1] :/
you can use __clear_cache instead.

also, armv6 doesn't have smp extension (at least on the board we support), =
you
should uncheck the SMP option.

I had to use CFLAGS+=3D -O0 (or 03) to build erlang, -O1 and -O2 leads to r=
andom
crash.

https://github.com/erlang/otp/blob/master/erts/emulator/hipe/hipe_arm.c#L40

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



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