This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/22742] New: [aarch64] mcontext_t __reserved field got renamed


https://sourceware.org/bugzilla/show_bug.cgi?id=22742

            Bug ID: 22742
           Summary: [aarch64] mcontext_t __reserved field got renamed
           Product: glibc
           Version: 2.26
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

in glibc 2.26 the __reserved field of mcontext_t got renamed to
__glibc_reserved1
assuming it is not supposed to be accessed by user code, however it is needed
for accessing processor state extensions and there are existing users of it:

libsanitizer/sanitizer_common/sanitizer_linux.cc:1265:35: error: ‘struct
mcontext_t’ has no member named ‘__reserved’; did you mean ‘__glibc_reserved1’?
   u8 *aux = ucontext->uc_mcontext.__reserved;
                                   ^~~~~~~~~~
                                   __glibc_reserved1

Build issue introduced by:
https://sourceware.org/git/?p=glibc.git;a=commit;h=4fa9b3bfe6759c82beb4b043a54a3598ca467289

        * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
        __glibc_reserved1 instead of __reserved.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]