While building on GNU/Linux systems with non-English locale, common/native-elf-format fails to parse readelf output and cannot generate a proper common/native-elf-format.h.
Attached patch was enough for me but perhaps locale should be enforced for the whole building process.
It seems reasonable to me to enforce it within native-elf-format as a user may run the script manually to test.
Committed to my branch here:
https://github.com/emaste/elftoolchain/commit/8a69df9593e502df82ab117438768d64967e259d
Fixed in [r3167]
Related
Commit: [r3167]