On Fri, Jan 05, 2018 at 09:36:16AM -0800, Mark Roberts wrote:
> On Tue, Jan 02, 2018 at 02:39:36PM -0800, Mark Roberts wrote:
> > The problem with  valgrind/memcheck/tests/linux/stack_changes.c 
> > appears to be an actual problem with the source.  In June of
> > 2017 the gnu c header file sys/ucontext.h was changed.
> > typedef struct ucontext is now typedef struct ucontext_t.  This change 
> > is included in the latest release of glibc 2.26 (Aug 2017).
> 
> There is already a patch in git:
> https://sourceware.org/git/?p=valgrind.git;a=commitdiff;h=2b5eab6a8db1b0487a3ad7fc4e7eeda6d3513626;hp=02b719e7b2f4c88eedd8b5689d842a62118cb47a

> This patch just changes the definition to the 2.26 version.  What about older 
> versions?  Doesn't this change need to be
> dependent on a GLIBC_VERSION check in configure?

No. ucontext_t works for older glibc versions too.

Cheers,

Mark

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to