In case of Prefix, host sh may cause compatible problem. One case is that perl is being built against a new glibc-2.17 and host /bin/sh is linked with glibc-2.5. LD_PRELOAD=libperl.so /bin/sh in the build system will cause symbol lookup error. The fix is quite trivial though. Reproducible: Always
Created attachment 351296 [details, diff] perl.patch
fixed.