PR libgcc/78064: Add missing include directive to unwind-c.c

Florian Weimer
Fri Oct 21 10:15:00 GMT 2016


for the background.  This causes pthread_cond_wait in glibc to write out 
of bounds on i386.

Fix was suggested by Jim Wilson.

Tested on x86_64-redhat-linux-gnu, with no new regressions.  Also tested 
against the i386 glibc reproducer, and verified that _Unwind_GetIPInfo 
is called from the __gcc_personality_v0.

Okay for trunk?

We probably should backport this to all active branches as well.  The 
risk is fairly low because the C unwinder personality is rarely used 
(Eric Botcazou pointed out that the C++ and Ada personalities are not 
affected by this).

2016-10-21  Florian Weimer  <>

	PR libgcc/78064
	* unwind-c.c: Include auto-target.h.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unwind-c.patch
Type: text/x-patch
Size: 339 bytes
Desc: not available
URL: <>

More information about the Gcc-patches mailing list