This is the mail archive of the libc-alpha@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]

Re: Fix sparc64 bits/setjmp.h namespace (bug 21261)


On Fri, 17 Mar 2017, David Miller wrote:

> From: Joseph Myers <joseph@codesourcery.com>
> Date: Fri, 17 Mar 2017 03:08:58 +0000
> 
> > sysdeps/unix/sysv/linux/sparc/bits/setjmp.h defines 64-bit __jmp_buf
> > with a load of identifiers that are not part of any standard
> > namespace, resulting in conform/ tests failing.  This patch fixes this
> > by moving those identifiers to the implementation namespace, so
> > enabling the conform/ tests to pass for sparc64.
> 
> This is going to break the build of the address sanitizer on sparc64.
> 
> It will also probably break lots of other programs too that grovel
> through the mcontext register bits for unwinding and state inspection.

Are those things really looking at jmp_buf, rather than ucontext / 
mcontext from sys/ucontext.h (which are unchanged by the patch)?

-- 
Joseph S. Myers
joseph@codesourcery.com


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