Hi folks,
1. eglibc patch for distinguishing ABI at runtime in ld.so
I've submitted the patch I was working on, but it's not looking like the eglibc folks are very interested in its current form. There are suggestions on how to proceed with re-engineering it - see the short thread at
http://www.eglibc.org/archives/patches/msg01017.html
for more info. Being honest, I'm tempted to just leave this work as a proof of concept at this stage. It'll take quite a while to go down the ELF header route, and I fear that we'd have to wait for a lot of changes to flush through before we can get anywhere here. The change to the location of ld.so to move it to the triplet path /lib/arm-linux-gnueabihf/ should be good enough for our purposes anyway.
2. gcc patch to move ld.so to /lib/arm-linux-gnueabihf/
I've been testing and tweaking dannf's gcc patch as proposed at
http://lists.linaro.org/pipermail/cross-distro/2011-October/000078.html
to get to the attached patch. I've updated it to match the comments that were made here, and it seems to work fine for me:
root@panda-smcintyre:/home/steve/src# strings /bin/ls | grep /ld /lib/ld-linux.so.3 root@panda-smcintyre:/home/steve/src# strings ./test | grep /ld /lib/arm-linux-gnueabihf/ld-linux.so.3
Can anyone think of any reasons to not submit it now?
Cheers,