[Bug libc/23862] New: [sh] missing kernel-features.h undefines

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug libc/23862] New: [sh] missing kernel-features.h undefines

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23862

            Bug ID: 23862
           Summary: [sh] missing kernel-features.h undefines
           Product: glibc
           Version: 2.28
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
              Host: sh*-*-linux*

The SH kernel-features.h undefines __ASSUME_RENAMEAT2 for kernel versions
before 4.8, but fails to undefine __ASSUME_EXECVEAT, __ASSUME_MLOCK2 and
__ASSUME_COPY_FILE_RANGE, although all those syscalls (and several others) were
added for SH in the same Linux kernel commit (first released in 4.8).

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/23862] [sh] missing kernel-features.h undefines

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23862

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.29

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.29.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/23862] [sh] missing kernel-features.h undefines

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23862

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e143ceba564a94922f6e46bb3a22d7a53a909a03 (commit)
      from  4a938cb273e164a475dc123cc80ea6354d7248d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e143ceba564a94922f6e46bb3a22d7a53a909a03

commit e143ceba564a94922f6e46bb3a22d7a53a909a03
Author: Joseph Myers <[hidden email]>
Date:   Tue Nov 6 17:22:50 2018 +0000

    Correct SH kernel-features.h undefines (bug 23862).

    The SH kernel-features.h undefines __ASSUME_RENAMEAT2 for kernel
    versions before 4.8, but fails to undefine __ASSUME_EXECVEAT,
    __ASSUME_MLOCK2 and __ASSUME_COPY_FILE_RANGE, although all those
    syscalls (and several others) were added for SH in the same Linux
    kernel commit (first released in 4.8).  This patch adds the proper
    undefines of those macros.

    Tested with build-many-glibcs.py for its SH configurations.

        [BZ #23862]
        * sysdeps/unix/sysv/linux/sh/kernel-features.h
        [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
        [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
        [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
        Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                    |    9 +++++++++
 sysdeps/unix/sysv/linux/sh/kernel-features.h |    5 ++++-
 2 files changed, 13 insertions(+), 1 deletions(-)

--
You are receiving this mail because:
You are on the CC list for the bug.