Hi,
I successfully compiled a shared library of PDFium on Ubuntu 20.04 with "target_cpu" set to either "x86", "x64", "arm", or "arm64"
However, if I try to do the same with Ubuntu 18.04, all targets build, except "arm64".
The link step fails with the following errors:
libpdfium.so: undefined reference to `exp@GLIBC_2.29'
libpdfium.so: undefined reference to `log@GLIBC_2.29'
libpdfium.so: undefined reference to `pow@GLIBC_2.29'
I investigated the problem and reported my conclusions here:
In short, "reversion_glibc.py", the script that changes the required glibc version in the sysroot, is skipped for arm64. The comment says "Glibc is compiled in a way where many libm math
functions do not have compatibility symbols for versions <= 2.17."
I'm still looking for a solution.
Please let me know if you can help.
Best regards,
Benoit Blanchon