This fails on sparc 32-bit because the regexp is expecting leading zeros but the address is 32-bits and therefore there is no reason for readelf to output leading zeros for the .interp section Addr field. [ 1] .interp PROGBITS 10000400 000400 000013 00 A 0 0 1