Bug 381769 - Use ucontext_t instead of struct ucontext
Summary: Use ucontext_t instead of struct ucontext
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.13 SVN
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-28 18:13 UTC by Khem Raj
Modified: 2017-06-29 15:27 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
proposed fix (846 bytes, patch)
2017-06-28 18:13 UTC, Khem Raj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2017-06-28 18:13:09 UTC
Created attachment 106359 [details]
proposed fix

glibc 2.26 does not expose struct ucontext anymore. Attached patch fixes it
Comment 1 Carlos O'Donell 2017-06-29 12:54:26 UTC
(In reply to Khem Raj from comment #0)
> Created attachment 106359 [details]
> proposed fix
> 
> glibc 2.26 does not expose struct ucontext anymore. Attached patch fixes it

This patch looks good to me.

Keep in mind that 2.26 is not out yet, but it will be released August 1st, and the packaging changes required are being documented for the release in the usual place:

https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27struct_ucontext.27
Comment 2 Mark Wielaard 2017-06-29 15:27:37 UTC
Thanks. Pushed as valgrind svn r16457.