Recently, glibc (namely with glibc 2.31, included in Ubuntu 20.04) seems to have removed families of functions like __exp_finite()
.
These functions were used when compiling with gcc's option -ffinite-math-only
(or -ffast-math
, which enables the said option).
My problem is that I have compiled closed sources static libraries provided by third parties which have been presumably compiled with this flag and those libraries generate linking errors to missing math functions like __exp_finite()
.
My question is what is my better solution?
- Submit the issue to the third parties, ask them to remove the offending flag from their command line and wait (months...) ?
- Submit the issue to the glibc developpers, explaining that they broke compatibility with this build option ?
- Define myself the missing functions ?
- ?
I would prefer to omit solutions which involes compiling in a different environment than the native one provided by Ubuntu (and later probably other distribution as they upgrade glibc).
Hopefully I have understood the problem correctly and any help is appreciated.