The deal with ia64 is just that its implementations don't use __errno_location directly and so don't have the issue, right? There is no harm in compiling those files again for libm, so unless I am missing something I will omit the ia64-specific bits to minimize the maintenance hair.