On 2026/11/20 01:55, Anthony J. Bentley wrote: > Theo Buehler writes: > > Try the below. It passes regress on my x1nano2. > > Yep, certainly an improvement. ok bentley@ > > Now megadl segfaults with a similar backtrace when built from any of > the three OpenSSL versions. My interpretation is that libressl libcrypto > is maybe trying to free something allocated with openssl libcrypto. I > don't know if it's feasible to avoid that here and elsewhere, besides > convincing upstream to switch to LibreSSL-compatible APIs so OpenSSL can > be dropped.
That's typical when you have conflicting symbols, code ends up calling the libressl version of a function when it wants an openssl one (or possibly vice-versa). Where funtions exist in both, signatures are often the same, but the structs they're expecting are different so the two aren't interchangeable. There is a small chance you may get things to work by linking megacli to the static openssl library but I'm a bit doubtful..otherwise, if the current version of megacli in ports no longer works with mega.nz then I'd mark it BROKEN for now. (There is a wip diff which may help situations like this in future).
