Index | Thread | Search

From:
David Uhden Collado <david@uhden.dev>
Subject:
Re: [NEW WIP]: net/monero (help needed)
To:
lucas@sexy.is
Cc:
ports@openbsd.org, ports@byteskeptical.com
Date:
Fri, 30 Aug 2024 04:03:07 +0200

Download raw body.

Thread
>>> Nope. I ran monerod for a full-sync. The experience wasn't nice, as the
>>> whole OS would freeze for quite long periods of times. Even so,
>>> painstakingly I managed to sync ~51% of the chain, and now I run into a
>>> SIGSEGV in RandomX, just like you (but in a different binary). I do have
>>> some things to try out, but I haven't gotten around to it yet.
>>>
>>
>> I think it might be because your port does not install the libwallet.a
>> library, which is located in ${WRKBUILD}/lib/. For this reason, I like to
>> define the software installation in the port itself, rather than trusting
>> the build tools to do everything for me.
> 
> no, it's because [0] is memcpy(buf, &a_function_pointer, sz) which
> doesn't work in xonly.
> 
> [0]: https://github.com/tevador/RandomX/blob/master/src/jit_compiler_x86.cpp#L230

I knew from the beginning that the mining tools would be the hardest to 
port. For this reason, I don't hold out much hope that we will ever get 
XMRig and P2Pool working on OpenBSD. On the other hand, looking at the 
RandomX code, you can already see that this port will not work on any 
platforms other than those supported by the Monero project on Linux, 
which are amd64, i386, arm64, armv7, and riscv64.