-static-pie on arm is working well for me. As it turns out GCC doesn't
currently handle -static-pie with arm, and is not passing the correct
options to the linker. This patch applies onto GCC 12.1 which fixes
that, and I will try to upstream.
https://github.com/lancethepants/gcc/commit/043704d5f827af775cf796b9ec144b7…
One thing that threw me for a while is that the 'file' command in Debian
10 is apparently too old to know what static-pie is, and reports it as
dynamically linked but without a reference to to the dynamic linker.
Nice patch! I'm glad to see this feature come to uclibc-ng. I saw you
had a arm64 branch in your repo so would be cool to see that too.
thanks,
Lance