[Bug testsuite/29737] make check fixinclude test FAILURES

2009-09-29 Thread ubizjak at gmail dot com


--- Comment #6 from ubizjak at gmail dot com  2009-09-29 21:52 ---
This is fixed in 4.3+:

All fixinclude tests pass
make[2]: Leaving directory `/space/uros/gcc-build-43/fixincludes'


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.3.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737



[Bug testsuite/29737] make check fixinclude test FAILURES

2009-09-08 Thread rwild at gcc dot gnu dot org


--- Comment #5 from rwild at gcc dot gnu dot org  2009-09-08 17:31 ---
Subject: Bug 29737

Author: rwild
Date: Tue Sep  8 17:30:31 2009
New Revision: 151518

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151518
Log:
sed portability fixes in fixincludes

fixincludes/:
PR testsuite/29737
PR bootstrap/35938
PR testsuite/39655
* check.tpl: Fix typos.
* README: Likewise.  Also, document that 'select' uses ERE.
* mkheaders.in: Update copyright years in --version output.
* inclhack.def (sco_math): Add missing final newline in sed
script 'a', 'c', or 'i' commands, for BSD sed.
(sco_math): In the text of 'a', 'c', or 'i' sed
commands, prepend leading white space with a backslash to avoid
the whitespace to be removed by BSD sed.
(sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
(x11_new): Fix sed expression, for BSD sed.
(glibc_mutex_init): Fix newlines in sed 's' command replacement
part, for GNU sed 3.02 and Solaris sed.
(glibc_mutex_init): Replace unportable \+ sed regex operator
with \{1,\}.
(glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
alternation \| regex operator.
(solaris_complex): Remove superfluous backslashes from
replacement string.  Replace \+ operator with \{1,\}.
* tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
* fixincl.x: Regenerate.

Modified:
trunk/fixincludes/ChangeLog
trunk/fixincludes/README
trunk/fixincludes/check.tpl
trunk/fixincludes/fixincl.x
trunk/fixincludes/inclhack.def
trunk/fixincludes/mkheaders.in
trunk/fixincludes/tests/base/Xm/Traversal.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737



[Bug testsuite/29737] make check fixinclude test FAILURES

2007-07-25 Thread tjk at tksoft dot com


--- Comment #4 from tjk at tksoft dot com  2007-07-25 21:24 ---
I got the same problem using sed 3.02 to build. Upgrading to sed 4.1.5
fixed the problem.

The fixincl program runs sed scripts for glibc pthread checks which fail on sed
3.02, but succeed on sed 4.1.5.

What happens is that pthread.h doesn't get created in the
fixincludes/tests/res directory because sed fails.

My version is gcc 4.2.1 with host i486-pc-linux-gnu.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737



[Bug testsuite/29737] make check fixinclude test FAILURES

2006-11-07 Thread mckelvey at maskull dot com


--- Comment #3 from mckelvey at maskull dot com  2006-11-07 17:01 ---
Fails similarly on Solaris 7:

gmake[1]: Entering directory `/mnt/home3/utilities/gcc-obj'
gmake[2]: Entering directory `/mnt/home3/utilities/gcc-obj/fixincludes'
autogen -T /mnt/home3/utilities/gcc/fixincludes/check.tpl
/mnt/home3/utilities/gcc/fixincludes/inclhack.def
Your shell is '/usr/local/bin/tcsh'.  AutoGen will attempt to use 'sh'
/bin/ksh ./check.sh /mnt/home3/utilities/gcc/fixincludes/tests/base
Fixed:  testing.h
Fixed:  testing.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:  AvailabilityMacros.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:  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:  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: command garbled: /define[  ]\+PTHREAD_MUTEX_INITIALIZER[   ]*\\/,+1s/{ {
0, } }/{ { 0, 0, 0, 0, 0, 0 } }/
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:  sparc/asm_linkage.h
Fixed:  standards.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
Fixed:  X11/ShellP.h
Fixed:  X11/Xmu.h
Fixed:  Xm/BaseClassI.h
Fixed:  Xm/Traversal.h
sys/stat.h /mnt/home3/utilities/gcc/fixincludes/tests/base/sys/stat.h differ:
char 432, line 18
*** sys/stat.h  Tue Nov  7 08:31:48 2006
--- /mnt/home3/utilities/gcc/fixincludes/tests/base/sys/stat.h  Fri Nov  3
08:05:32 2006
***
*** 15,23 


  #if defined( GLIBC_C99_INLINE_2_CHECK )
- extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
  #if __STDC_VERSION__  199901L
  extern
  #endif
  __inline__ int
  __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
--- 15,26 


  #if defined( GLIBC_C99_INLINE_2_CHECK )
  #if __STDC_VERSION__  199901L
  extern
+ #endif
+ __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull
((2));
+ #if __STDC_VERSION__  199901L
+ extern
  #endif
  __inline__ int
  __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
Missing header fix:  pthread.h

There were fixinclude test FAILURES
gmake[2]: *** [check] Error 1
gmake[2]: Leaving directory `/mnt/home3/utilities/gcc-obj/fixincludes'
gmake[1]: *** [check-fixincludes] Error 2
gmake[1]: Leaving directory `/mnt/home3/utilities/gcc-obj'
gmake: *** [do-check] Error 2




Using built-in specs.
Target: sparc-sun-solaris2.7
Configured with: /mnt/home3/utilities/gcc/configure
--prefix=/mnt/home3/utilities --verbose --with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as --with-gnu-ld
--disable-multilib --disable-nls --disable-tls --enable-languages=c,c++
Thread model: posix
gcc version 4.3.0 20061103 (experimental)

SunOS mushroom 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-2

setenv CC gcc ; /mnt/home3/utilities/gcc/configure
--prefix=/mnt/home3/utilities --verbose --with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as --with-gnu-ld
--disable-multilib --disable-nls --disable-tls --enable-languages=c,c++ | tee
clog

nice gmake CFLAGS='' BOOT_CFLAGS='' LIBCFLAGS='-g -O' CXXFLAGS='-O'
LIBCXXFLAGS='-g -O' bootstrap | tee log

I don't know the version of glibc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737



[Bug testsuite/29737] make check fixinclude test FAILURES

2006-11-06 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2006-11-06 10:43 ---
glibc version?


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737



[Bug testsuite/29737] make check fixinclude test FAILURES

2006-11-06 Thread mckelvey at maskull dot com


--- Comment #2 from mckelvey at maskull dot com  2006-11-07 05:43 ---
alpha1:mckelveyrpm -qa | grep glibc
glibc-common-2.2.4-31
glibc-devel-2.2.4-31
compat-glibc-6.2-2.1.3.2
glibc-2.2.4-31
glibc-profile-2.2.4-31


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29737