Closed parazyd closed 7 years ago
Thanks for the report and the patch. Apparently musl, glibc and libiberty all have a different understanding on how to declare basename(3). Your patch works around that. However, it does so rather hacky, so I will fix it slightly differently. ;)
Fixed with commit 99af2b65dbe4 ("pax, size_overflow: fix build with musl headers").
Since GCC6 the size_overflow_plugin fails to build due to the prototype in musl's libgen.h being different than libiberty. The error message is as such:
To fix it, we can apply the following patch:
Keep in mind I haven't done a test on glibc or versions of GCC older than 6. Would you consider applying this patch for future releases?