[Interest] [Android] Trying to add 16K support: OpenSSL fails

Thiago Macieira thiago.macieira at intel.com
Thu Oct 9 16:27:29 CEST 2025


On Thursday, 9 October 2025 06:11:37 Pacific Daylight Time Alexander Dyagilev 
wrote:
> I've tried to rebuild it with "-Wl,-z,max-page-size=16384" flags and my app
> still crashes under 16K X86_64 android emulator with the following message:
> 
> java.lang.UnsatisfiedLinkError: dlopen failed: cannot find "" from
> verneed[0] in DT_NEEDED list for
> "/data/app/~~1lmODEkVwdSmbb0_e84-kQ==/org.freedownloadmanager.fdm-z99dRswsoq
> WetG-P9IPSWA==/lib/x86_64/libcrypto_3.so"

> java.lang.UnsatisfiedLinkError: dlopen failed: cannot find
> "_STORE_set_lookup_certs" from verneed[0] in DT_NEEDED list for
> "/data/app/~~wJ-f1mZfddpPQEOn1X7Ywg==/org.freedownloadmanager.fdm-BoWFXEEzbu
> mVI2S1h87WMw==/lib/x86_64/libcrypto_3.so"

Two things here:

First, "verneed" sounds like an ELF version problem. That is, there's 
something *else* that is the problem with your build, not the max-page thing. 
My guess is that you compiled against a newer version of Android's base 
libraries (Bionic) and you're running against an older one. Either that or the 
dynamic linker is producing a nonsensical error message. In fact, since it's 
printing "" and "_STORE_set_lookup_certs" instead of 
"X509_STORE_set_lookup_certs", I'm going to guess that you *do* have a broken 
dynamic linker, it has got lost and is corrupted, and thus produced a garbage 
error message.

Second, this is x86-64. There is no other page size besides 4 kB. I mean, huge 
pages (2 MB) and gigantic pages (1 GB) do exist, but I don't believe that's 
what the option is for. Maybe try passing the option only for your AArch64 
builds.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel Data Center Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5150 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20251009/5e5682aa/attachment.bin>


More information about the Interest mailing list