Description of problem: Patch backported for bug 2072329 makes the condition for fortification more complex for the compiler to fold away, resulting in the branch existing until late in the compilation process and sometimes producing spurious warnings in dead code. This affected elfutils build upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=29141
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glibc bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7684