sparc-sun-solaris2.10 and pthread.h fixinclude
Bruce Korb
bkorb@gnu.org
Mon Jun 23 15:42:00 GMT 2008
Hi Robert,
Yep, you've contacted the right person. I'm at my day job, so it might
be a few days before I can poke around. Meanwhile:
> Fixed: pixrect/memvar.h
> sed: command garbled:
/define[ ]\+PTHREAD_MUTEX_INITIALIZER[ ]*\\/,+1s/{ { 0, } }/{ { 0,
0, 0, 0, 0, 0 } }/
That does look garbled. Please examine the "fixincl.x" and inclhack.def files
and see if you can see anything. That sed command should be:
/<line-selection-pattern>/s/<original>/<replacement>/
and I do not see the end-of-line-selection-pattern slash.
> sys/stat.h /export/home/gccb/gcc-4.3-20080619/fixincludes/tests/base/sys/stat.h differ: char 432, line 18
> *** sys/stat.h Mon Jun 23 11:02:10 2008
> --- /export/home/gccb/gcc-4.3-20080619/fixincludes/tests/base/sys/stat.h Mon Mar 26 09:25:26 2007
> ***************
> *** 15,23 ****
>
>
> #if defined( GLIBC_C99_INLINE_2_CHECK )
> - extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
> #ifdef __GNUC_GNU_INLINE__
> extern
> #endif
> __inline__ int
> __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
> --- 15,26 ----
>
>
> #if defined( GLIBC_C99_INLINE_2_CHECK )
> #ifdef __GNUC_GNU_INLINE__
> extern
> + #endif
> + __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
> + #ifdef __GNUC_GNU_INLINE__
> + extern
> #endif
> __inline__ int
> __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
> ./check.sh[2157]: syntax error at line 2157 : `then' unmatched
> make: *** [check] Error 2
Somewhere in inclhack.def, there is a fix named "glibc_c99_inline_2".
It did not fire properly. That will need to be debugged.
Thank you for your report.
Regards, Bruce
More information about the Gcc-patches
mailing list