https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341

--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The function says:
    // 3.2.79+ is OK.
    // 3.12.58+ is OK.
    // Otherwise, bad.
    // 4.1.21+ is OK.
    // 4.4.6+ is OK.
    // Otherwise, OK if 4.5+.
    // Linux 5 and up are fine.
Perhaps it would be useful to do some check at distro kernels (RHEL, SUSE) and
if they are fixes for this, adjust that function.
E.g. for RHEL{6,7} it seems the fixes came in
2.6.32-642.11.1.el6 for RHEL6 and 3.10.0-327.28.2.el7 for RHE7.
The errata claims RHEL5 kernels are not affected, so it is strange that the
function doesn't accept very old kernels.

Reply via email to