[Bug libc/23867] New: [arm/microblaze] __ASSUME_MLOCK2 incorrect

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

[Bug libc/23867] New: [arm/microblaze] __ASSUME_MLOCK2 incorrect

albert.aribaud at 3adev dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=23867

            Bug ID: 23867
           Summary: [arm/microblaze] __ASSUME_MLOCK2 incorrect
           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: arm*-*-linux* microblaze*-*-linux*

The generic kernel-features.h defines __ASSUME_MLOCK2 for 4.4 and later
kernels.  However, for 32-bit ARM binaries running on 64-bit ARM kernels, and
for MicroBlaze, the syscall was only wired up in the 4.7 kernel.  (32-bit ARM
kernels did have the syscall from 4.4 onwards.)

--
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/23867] [arm/microblaze] __ASSUME_MLOCK2 incorrect

albert.aribaud at 3adev dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=23867

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/23867] [arm/microblaze] __ASSUME_MLOCK2 incorrect

albert.aribaud at 3adev dot fr
In reply to this post by albert.aribaud at 3adev dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=23867

--- 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  596cc360aa9f0484d6621fd9dfa5de83c3a24dc5 (commit)
      from  00c86a37d1b63044e3169d1f2ebec23447c73f79 (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=596cc360aa9f0484d6621fd9dfa5de83c3a24dc5

commit 596cc360aa9f0484d6621fd9dfa5de83c3a24dc5
Author: Joseph Myers <[hidden email]>
Date:   Wed Nov 7 16:27:35 2018 +0000

    Fix __ASSUME_MLOCK2 for ARM, MicroBlaze (bug 23867).

    The generic kernel-features.h defines __ASSUME_MLOCK2 for 4.4 and
    later kernels.  However, for 32-bit ARM binaries running on 64-bit ARM
    kernels, and for MicroBlaze, the syscall was only wired up in the 4.7
    kernel.  (32-bit ARM kernels did have the syscall from 4.4 onwards.)
    This patch duly arranges for the macro to be undefined for those
    architectures for kernels before 4.7.

    Tested with build-many-glibcs.py for its ARM and MicroBlaze
    configurations.

        [BZ #23867]
        * sysdeps/unix/sysv/linux/arm/kernel-features.h
        [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
        * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
        [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.

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

Summary of changes:
 ChangeLog                                          |    8 ++++++++
 sysdeps/unix/sysv/linux/arm/kernel-features.h      |    7 +++++++
 .../unix/sysv/linux/microblaze/kernel-features.h   |    5 +++++
 3 files changed, 20 insertions(+), 0 deletions(-)

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