On Tue, Oct 21, 2014 at 11:30:49AM +0200, Uros Bizjak wrote: > At the end of the day, adding pthread.h to glibc_c99_inline_4 fix > fixes the bootstrap. The fix applies __attribute__((__gnu_inline__)) > to the declaration: > > extern __inline __attribute__ ((__gnu_inline__)) void > __pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame) > > 2014-10-21 Uros Bizjak <ubiz...@gmail.com> > > * inclhack.def (glibc_c99_inline_4): Add pthread.h to files. > * fixincl.x: Regenerate. > > Bootstrapped and regression tested on CentOS 5.11 x86_64-linux-gnu {,-m32}. > > OK for mainline?
Ok, thanks. > --- inclhack.def (revision 216501) > +++ inclhack.def (working copy) > @@ -1687,7 +1687,8 @@ > */ > fix = { > hackname = glibc_c99_inline_4; > - files = sys/sysmacros.h, '*/sys/sysmacros.h', wchar.h, '*/wchar.h'; > + files = sys/sysmacros.h, '*/sys/sysmacros.h', wchar.h, '*/wchar.h', > + pthread.h, '*/pthread.h'; > bypass = "__extern_inline|__gnu_inline__"; > select = "(^| )extern __inline"; > c_fix = format; Jakub