[Bug 229710] lang/mono: port to aarch64

2020-04-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

Mikael Urankar  changed:

   What|Removed |Added

   See Also||https://reviews.freebsd.org
   ||/D23300

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2019-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

--- Comment #6 from mikael.uran...@gmail.com ---
Can this patch gets reviewed/commited?
thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

Greg V  changed:

   What|Removed |Added

 Attachment #195945|0   |1
is obsolete||

--- Comment #5 from Greg V  ---
Created attachment 200579
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200579=edit
mono-aarch64.patch v2

Updated patch with correct cpu feature detection in boringssl (thanks: Mikael)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-11-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

--- Comment #4 from Colin T.  ---
Part of this patch has been merged upstream:
https://github.com/mono/mono/pull/11638

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-08-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

--- Comment #3 from mikael.uran...@gmail.com ---
It builds fine on 11.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-08-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

Greg V  changed:

   What|Removed |Added

 Attachment #195063|0   |1
is obsolete||

--- Comment #2 from Greg V  ---
Created attachment 195945
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195945=edit
mono-aarch64.patch

Sure, this should be a diff against current master.

I only tried on CURRENT.

jemalloc — maybe you got lucky, it only happened once during my build. Or maybe
this was fixed — I used an old current snapshot for the build.

extra-patch — looks like the model of the processor matters. The concurrency
bug is definitely happening on Cavium ThunderX (it's been happening to everyone
on Linux before I even tried on FreeBSD).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-08-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

mikael.uran...@gmail.com changed:

   What|Removed |Added

 CC||mikael.uran...@gmail.com

--- Comment #1 from mikael.uran...@gmail.com ---
(In reply to Greg V from comment #0)
Can you regenerate the patch, the plist patch is broken:
svn patch --strip 3 --dry-run patch.aarch64 
U Makefile
> applied hunk @@ -60,6 +60,15 @@ with offset 4
> applied hunk @@ -88,4 +97,4 @@ with offset 4
A files/extra-patch-aarch64-race-workaround
U files/patch-configure.ac
A files/patch-external_boringssl_crypto_cpu-aarch64-linux.c
A files/patch-mono_sgen_sgen-archdep.h
A files/patch-mono_utils_mono-sigcontext.h
C pkg-plist
> rejected hunk @@ -2937,38 +2937,38 @@
Summary of conflicts:
  Text conflicts: 1


It builds fine on -current (I don't have the jemalloc issue and I don't need
the extra patch on my board), have you tried on 11.1 or 11.2?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-07-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

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: m...@freebsd.org
  Reporter: greg@unrelenting.technology
  Assignee: m...@freebsd.org
 Flags: maintainer-feedback?(m...@freebsd.org)

Created attachment 195063
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195063=edit
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… (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
), see comment in that thread.

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

:
/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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


[Bug 229710] lang/mono: port to aarch64

2018-07-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229710

Greg V  changed:

   What|Removed |Added

 Blocks||201763
 CC||greg@unrelenting.technology


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201763
[Bug 201763] Tracking bug for AArch64 port build failures
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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"


maintainer-feedback requested: [Bug 229710] lang/mono: port to aarch64

2018-07-11 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-mono mailing list
 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
), see comment in that thread.

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

:
/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"