The minimum supported glibc version is now 2.31 and the compat code was dealing with symbols added in 2.28 and 2.29.
This concludes backport of core#22405 and core#22930[[https://github.com/bitcoin/bitcoin/pull/22405 | core#22405]] and [[https://github.com/bitcoin/bitcoin/pull/22930 | core#22930]]