Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-mono mailing list
<m...@freebsd.org> for maintainer-feedback:
Bug 229710: lang/mono: port to aarch64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710



--- Description ---
I don't know why I did this, I'm not even planning to use .NET on my RPi3, I
guess it was just bothering me that it worked on armv7 and not aarch64… (also I
needed to do something in parallel while Crystal was compiling on the ThunderX
I rented from packet.net)

Hopefully I didn't screw anything up (I was modifying the port as errors
appeared, did not clean and rebuild from scratch — it's slow and access to a
ThunderX is expensive… honestly it's not much faster than RPi here because of
an issue described below)

The Roslyn C# compiler has a concurrency problem on aarch64:
https://github.com/mono/mono/issues/7017 (not FreeBSD specific) so the
workaround is to disable parallelism… so the .NET libraries are built very very
slowly :(

BoringSSL patch is from bug 223019 but slightly modified (to ignore
<sys/auxv.h>), see comment in that thread.

Also there was an intermittent jemalloc error, had to restart the build once:

<jemalloc>:
/usr/src/contrib/jemalloc/include/jemalloc/internal/extent_inlines.h:63: Failed
assertion: "szind < NSIZES"                                                    


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

gmake[14]: *** [../../../build/library.make:342:
../../../class/lib/net_4_x-linux/Facades/System.IO.FileSystem.Primitives.dll]
Abort trap (core dumped)
_______________________________________________
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"

Reply via email to