The powerpc32 have an extra versionsort provided by dirent/versionsort64.o. It seems that 5226a81f5517bcbc892679cca792006a6bafc53f used the wrong check to create the alias for the LFS to non-LFS version.
*** Bug 31792 has been marked as a duplicate of this bug. ***
The sparcv9 is also affected by this issue.
Fixed on 2.40.