<div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">In the recent days we have been debugging a really thorny issue where binaries build with clang and linked with lld was just "Killed" when started on a specific armv7 device we ship on.</div><div dir="auto"><br></div><div dir="auto">After quite a bit of head scratching it turns out that the kernel on this device ships with a 32k default page size (getconf PAGESIZE) and lld uses 4k default page size.</div><div dir="auto"><br></div><div dir="auto">We fixed this by passing -zmax-page-size=0x10000 to lld.</div><div dir="auto"><br></div><div dir="auto">The default page size in GNU ld for arm is 64k so binaries linked with ld just worked on this device.</div><div dir="auto"><br></div><div dir="auto">I put the question in the discord lld channel and after a bit back and forth I think it's better to discuss it here.</div><div dir="auto"><br></div><div dir="auto">Is 4k the right default for lld on Arm32? Does anyone know if there is a strong reason to not change this?</div><div dir="auto"><br></div><div dir="auto">Since we have a workaround I am not in a hurry to change this - but if nothing else I hope this email will help someone else finding the solution to the problem I had. </div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Tobias</div></div>