This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22742] New: [aarch64] mcontext_t __reserved field got renamed
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 24 Jan 2018 11:44:24 +0000
- Subject: [Bug libc/22742] New: [aarch64] mcontext_t __reserved field got renamed
- Auto-submitted: auto-generated
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.