ARM64 Link Page Alignment Adjustment, master branch (2021.01.21.)
Now setting page alignment separately for aarch64
from x86_64
. Since as it turns out, aarch64
finds the alignment used for our x86_64
builds too small. Resulting in errors like:
ERROR: failed to load libAthenaServicesTest.so: libAthenaServicesTest.so: ELF load command alignment not page-aligned
make[3]: *** [aarch64-centos7-gcc9-opt/lib/libAthenaServicesTest.components] Error 1
make[3]: *** Deleting file `aarch64-centos7-gcc9-opt/lib/libAthenaServicesTest.components'
make[2]: *** [Control/AthenaServices/CMakeFiles/AthenaServicesTestComponentsList.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
I really just chose the max-page-size
value pretty randomly for the aarch64
platform. I saw this number mentioned online in a random Google search, and found that our build does succeed with it. But I didn't put any deeper thinking behind it...
This is of course needed for ATLINFR-3792.