Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 01:45:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   [Bug 229710] lang/mono: port to aarch64
Message-ID:  <bug-229710-23699@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 229710
           Summary: lang/mono: port to aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mono@FreeBSD.org
          Reporter: greg@unrelenting.technology
          Assignee: mono@FreeBSD.org
             Flags: maintainer-feedback?(mono@FreeBSD.org)

Created attachment 195063
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195063&action=
=3Dedit
mono-aarch64.patch

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=E2=
=80=A6 (also I
needed to do something in parallel while Crystal was compiling on the Thund=
erX
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 =E2=80=94 it's slow and ac=
cess to a
ThunderX is expensive=E2=80=A6 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=E2=80=A6 so the .NET libraries are bui=
lt 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 onc=
e:

<jemalloc>:
/usr/src/contrib/jemalloc/include/jemalloc/internal/extent_inlines.h:63: Fa=
iled
assertion: "szind < NSIZES"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

gmake[14]: *** [../../../build/library.make:342:
../../../class/lib/net_4_x-linux/Facades/System.IO.FileSystem.Primitives.dl=
l]
Abort trap (core dumped)

--=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-229710-23699>