This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/35938] New: Fixincludes failure with 'make check'
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Apr 2008 19:18:57 -0000
- Subject: [Bug bootstrap/35938] New: Fixincludes failure with 'make check'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With a clean svn checkout (gcc version 4.4.0 20080414 (experimental) (GCC)),
--enable-languages=c,c++
I can successfully "make bootstrap" and "make install", and the resulting
compiler seems to work.
However, trying to 'make check' results in the output below:
~/gccbin$ make check
autogen -T ../../gcc/fixincludes/check.tpl ../../gcc/fixincludes/inclhack.def
/bin/sh ./check.sh ../../gcc/fixincludes/tests/base
Fixed: testing.h
Fixed: testing.h
Fixed: AvailabilityMacros.h
Fixed: X11/ShellP.h
Fixed: X11/Xmu.h
Fixed: Xm/BaseClassI.h
Fixed: Xm/Traversal.h
Fixed: _G_config.h
Fixed: ansi/math.h
Fixed: ansi/stdlib.h
Fixed: arch/i960/archI960.h
Fixed: architecture/ppc/math.h
Fixed: arpa/inet.h
Fixed: assert.h
Fixed: bits/huge_val.h
Fixed: bits/string2.h
Fixed: bsd/libc.h
Fixed: c_asm.h
Fixed: com_err.h
Fixed: ctrl-quotes-def-1.h
Fixed: ctype.h
Fixed: curses.h
Fixed: errno.h
Fixed: features.h
Fixed: fixinc-test-limits.h
Fixed: fs/rfs/rf_cache.h
Fixed: hsfs/hsfs_spec.h
Fixed: ia64/sys/getppdp.h
Fixed: internal/math_core.h
Fixed: internal/sgimacros.h
Fixed: internal/wchar_core.h
Fixed: inttypes.h
Fixed: io-quotes-def-1.h
Fixed: iso/math_c99.h
Fixed: locale.h
Fixed: mach-o/dyld.h
Fixed: mach-o/swap.h
Fixed: machine/cpu.h
Fixed: malloc.h
Fixed: math.h
Fixed: netdnet/dnetdb.h
Fixed: netinet/in.h
Fixed: netinet/ip.h
Fixed: obstack.h
Fixed: pixrect/memvar.h
sed: 1: "/define[ \t]\+PTHREAD_MU ...": expected context address
Fixed: reg_types.h
Fixed: regex.h
Fixed: regexp.h
Fixed: rpc/auth.h
Fixed: rpc/rpc.h
Fixed: rpc/svc.h
Fixed: rpc/xdr.h
Fixed: rpcsvc/rstat.h
Fixed: rpcsvc/rusers.h
Fixed: signal.h
Fixed: sparc/asm_linkage.h
Fixed: standards.h
Fixed: stdint.h
Fixed: stdio.h
Fixed: stdio_tag.h
Fixed: stdlib.h
Fixed: string.h
Fixed: strings.h
Fixed: sundev/vuid_event.h
Fixed: sunwindow/win_lock.h
Fixed: sym.h
Fixed: sys/asm.h
Fixed: sys/cdefs.h
Fixed: sys/file.h
Fixed: sys/ioctl.h
Fixed: sys/limits.h
Fixed: sys/machine.h
Fixed: sys/mman.h
Fixed: sys/pthread.h
Fixed: sys/regset.h
Fixed: sys/signal.h
Fixed: sys/socket.h
Fixed: sys/spinlock.h
Fixed: sys/stat.h
Fixed: sys/sysmacros.h
Fixed: sys/time.h
Fixed: sys/times.h
Fixed: sys/types.h
Fixed: sys/ucontext.h
Fixed: sys/utsname.h
Fixed: sys/wait.h
Fixed: testing.h
Fixed: time.h
Fixed: tinfo.h
Fixed: types/vxTypesBase.h
Fixed: unistd.h
Fixed: wchar.h
Fixed: widec.h
Xm/Traversal.h /Users/caj/gcc/fixincludes/tests/base/Xm/Traversal.h differ:
char 296, line 15
*** Xm/Traversal.h 2008-04-14 20:09:00.000000000 +0100
--- /Users/caj/gcc/fixincludes/tests/base/Xm/Traversal.h 2008-02-26
18:15:39.000000000 +0000
***************
*** 12,18 ****
#if defined( X11_NEW_CHECK )
struct wedge {
#ifdef __cplusplus
! Widget old, c_new;
#else
Widget old, new; /* fixinc check FAILS ON BSD */
#endif
--- 12,18 ----
#if defined( X11_NEW_CHECK )
struct wedge {
#ifdef __cplusplus
! Widget old, c_new;
#else
Widget old, new; /* fixinc check FAILS ON BSD */
#endif
strings.h /Users/caj/gcc/fixincludes/tests/base/strings.h differ: char 687,
line 31
*** strings.h 2008-04-14 20:09:01.000000000 +0100
--- /Users/caj/gcc/fixincludes/tests/base/strings.h 2008-02-26
18:15:40.000000000 +0000
***************
*** 28,39 ****
strncmp( const char *__s1, const char *__s2, size_t __n );
extern int
! strcasecmp( const char *__s1, const char *__s2),
! strncasecmp( const char *__s1, const char *__s2, size_t __n );
strncmp();
extern int
! strcasecmp(),
! strncasecmp();
#endif /* ULTRIX_STRINGS2_CHECK */
--- 28,39 ----
strncmp( const char *__s1, const char *__s2, size_t __n );
extern int
! strcasecmp( const char *__s1, const char *__s2),
! strncasecmp( const char *__s1, const char *__s2, size_t __n );
strncmp();
extern int
! strcasecmp(),
! strncasecmp();
#endif /* ULTRIX_STRINGS2_CHECK */
sys/stat.h /Users/caj/gcc/fixincludes/tests/base/sys/stat.h differ: char 432,
line 18
*** sys/stat.h 2008-04-14 20:09:01.000000000 +0100
--- /Users/caj/gcc/fixincludes/tests/base/sys/stat.h 2008-02-26
18:15:40.000000000 +0000
***************
*** 15,21 ****
#if defined( GLIBC_C99_INLINE_2_CHECK )
! extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
#ifdef __GNUC_GNU_INLINE__
extern
#endif
--- 15,24 ----
#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
***************
*** 39,45 ****
return __stat32(__f, __p);
}
#if __cplusplus
! }
#endif /* __cplusplus */
# else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
--- 42,48 ----
return __stat32(__f, __p);
}
#if __cplusplus
! }
#endif /* __cplusplus */
# else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
***************
*** 53,59 ****
return __stat32(__f, __p);
}
#if __cplusplus
! }
#endif /* __cplusplus */
#endif
#endif /* SCO_STATIC_FUNC_CHECK */
--- 56,62 ----
return __stat32(__f, __p);
}
#if __cplusplus
! }
#endif /* __cplusplus */
#endif
#endif /* SCO_STATIC_FUNC_CHECK */
***************
*** 65,72 ****
/* macro to test for symbolic link */
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
fstat(),
! lstat(),
/* THE INSERTION LINE FAILS ON BSD SYSTEMS */
#endif /* ULTRIX_STAT_CHECK */
--- 68,76 ----
/* macro to test for symbolic link */
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
+
fstat(),
! lstat(),
/* THE INSERTION LINE FAILS ON BSD SYSTEMS */
#endif /* ULTRIX_STAT_CHECK */
unistd.h /Users/caj/gcc/fixincludes/tests/base/unistd.h differ: char 637, line
29
*** unistd.h 2008-04-14 20:09:01.000000000 +0100
--- /Users/caj/gcc/fixincludes/tests/base/unistd.h 2008-02-26
18:15:40.000000000 +0000
***************
*** 26,33 ****
#if defined( ULTRIX_UNISTD_CHECK )
@(#)unistd.h 6.1 (ULTRIX)
getgroups(),
! getpagesize(),
fork(),
! vfork(),
#endif /* ULTRIX_UNISTD_CHECK */
--- 26,33 ----
#if defined( ULTRIX_UNISTD_CHECK )
@(#)unistd.h 6.1 (ULTRIX)
getgroups(),
! getpagesize(),
fork(),
! vfork(),
#endif /* ULTRIX_UNISTD_CHECK */
Missing header fix: pthread.h
There were fixinclude test FAILURES
make[2]: *** [check] Error 1
make[1]: *** [check-fixincludes] Error 2
make: *** [do-check] Error 2
--
Summary: Fixincludes failure with 'make check'
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris at bubblescope dot net
GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35938