Thursday, August 29, 2024

Re: [NEW WIP]: net/monero (help needed)

>>> 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.

No comments:

Post a Comment