Closed martenlindblad closed 11 months ago
+1 on this, some projects are moving from mono to dotnet.core.
@martenlindblad, how did you managed to get that far on the building? I've changed some values on build.sh and CMakeLists.txt but ...
Unable to determine build platform ~/git/coreclr Failed to generate CoreCLR component build project!
I basically followed the path and adding DragonflyBSD as a copy of the FreeBSD instructions. I guess I should look into this more, but I have no time this month.
I've managed to go a bit further after aplying some patches but now i'm stuck again...
setjmp/longjmp.c: In function '_longjmp':
setjmp/longjmp.c:74:20: error: 'JB_SP' undeclared (first use in this function)
coredump/_UCD_create.c:217:13: error: unknown type name 'Elf32_Nhdr'
Elf32_Nhdr *note_hdr, *note_end;
About the second i've found that FreeBSD, NetBSD and OpenBSD already have a fix for it. FreeBSD Bug 225302 This a base component i think, so i'm not sure how to fix it
@bserrao @martenlindblad was there any other progress on this one?
@tuxillo looks like the patch mentionned has been merged in our tree https://bugs.dragonflybsd.org/issues/3130
I'm going to close that one, feel free to reopen it if you're still working on this folks.
OpenBSD, NetBSD and FreeBSD has a port of the Microsoft CoreCLR and CoreFX, would be a welcome addition to just running Mono. I got the build running with defaulting the values to FreeBSD, but it fails on the requirement of libunwind, which fails on
x86_64/setcontext.S:54:2: error: #error Port me
. FreeBSD has a working pkg of libunwind for inspiration.