Re: [PATCH v2] configure: Avoid using strings binary

2022-10-13 Thread Paolo Bonzini
On 10/13/22 15:43, Michal Privoznik wrote: When determining the endiandness of the target architecture we're building for a small program is compiled, which in an obfuscated way declares two strings. Then, we look which string is in correct order (using strings binary) and deduct the endiandness.

[PATCH v2] configure: Avoid using strings binary

2022-10-13 Thread Michal Privoznik
When determining the endiandness of the target architecture we're building for a small program is compiled, which in an obfuscated way declares two strings. Then, we look which string is in correct order (using strings binary) and deduct the endiandness. But using the strings binary is problematic,