[Bug 237960] lang/erlang does not build on arm with the NATIVE option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 19 15:06:13 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237960

mikael.urankar at gmail.com changed:

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

--- Comment #3 from mikael.urankar at 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+= -O0 (or 03) to build erlang, -O1 and -O2 leads to random
crash.

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

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


More information about the freebsd-ports-bugs mailing list