Maamoun TK maamoun.tk@googlemail.com writes:
fat-ppc.c uses getauxval() function to detect cpu features for Linux systems, the problem is that getauxval was introduced in glibc v2.16 which released in 2012 so in case fat option enabled, the build will fail for older glibc versions.
I agree it's not so nice that the build fails on old systems. Do you have any idea how common such old systems might be?
Maybe add a configure check for getauxval, and either fail at configure time if --enable-fat is specified but we can't support it, or fall back to assuming that none of the optional features are present at runtime?
Some preprocessor check of glibc version in fat-ppc.c could work too, if that's simpler.
Regards, /Niels