"make info" currently fails on trunk: Doing info in i686-pc-linux-gnu/libiberty make[2]: Entering directory `/home/ig25/gcc-bin/trunk/i686-pc-linux-gnu/libiberty' perl ../../../../gcc/trunk/libiberty/gather-docs ../../../../gcc/trunk/libiberty ../../../../gcc/trunk/libiberty/functions.texi alloca.c argv.c asprintf.c atexit.c basename.c bcmp.c bcopy.c bsearch.c bzero.c calloc.c choose-temp.c clock.c concat.c cp-demangle.c cp-demint.c cplus-dem.c dyn-string.c fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c fnmatch.c fopen_unlocked.c getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c gettimeofday.c hashtab.c hex.c index.c insque.c lbasename.c lrealpath.c make-relative-prefix.c make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c mempcpy.c memset.c mkstemps.c objalloc.c obstack.c partition.c pexecute.c pex-common.c pex-djgpp.c pex-msdos.c pex-one.c pex-unix.c pex-win32.c physmem.c putenv.c random.c regex.c rename.c rindex.c safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c ternary.c tmpnam.c unlink-if-ordinary.c vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c waitpid.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c xstrndup.c fnmatch.txh pexecute.txh echo stamp > stamp-functions makeinfo --split-size=5000000 --split-size=5000000 -I../../../../gcc/trunk/libiberty ../../../../gcc/trunk/libiberty/libiberty.texi ../../../../gcc/trunk/libiberty//functions.texi:1477: Unmatched }. makeinfo: Removing output file `/home/ig25/gcc-bin/trunk/i686-pc-linux-gnu/libiberty/libiberty.info' due to errors; use --force to preserve. make[2]: *** [libiberty.info] Error 1 make[2]: Leaving directory `/home/ig25/gcc-bin/trunk/i686-pc-linux-gnu/libiberty' make[1]: *** [info-target-libiberty] Error 1 make[1]: Leaving directory `/home/ig25/gcc-bin/trunk' make: *** [do-info] Error 2
gcc was configured with ../../gcc/trunk/configure --enable-languages=c,fortran --prefix=$HOME --enable-maintainer-mode --disable-multilib (Shouldn't there be a libiberty component?) This is a bit of a nuisance because I can't test other documentation patches. I have a dded dj to the CC because he was last to touch that directory. I've added dj to the CC list because he was the last one to touch that directory. After the "make info", I get $ svn diff Index: functions.texi =================================================================== --- functions.texi (revision 126829) +++ functions.texi (working copy) @@ -214,7 +214,7 @@ symbolic name or message. @end deftypefn [EMAIL PROTECTED] argv.c:293 [EMAIL PROTECTED] argv.c:348 @deftypefn Extension void expandargv (int [EMAIL PROTECTED], char [EMAIL PROTECTED]) The @var{argcp} and @code{argvp} arguments are pointers to the usual @@ -268,15 +268,16 @@ value 1). If @var{valu} is zero, zero i @end deftypefn [EMAIL PROTECTED] filename_cmp.c:28 [EMAIL PROTECTED] filename_cmp.c:32 @deftypefn Extension int filename_cmp (const char [EMAIL PROTECTED], const char [EMAIL PROTECTED]) -Return zero if the two paths @var{s1} and @var{s2} are equivalent. -If not equivalent, the returned value is similar to what strcmp would -return. In other words, it returns a negative value if @var{s1} is less -than @var{s2}, or a positive value if @var{s2} is greater than @var{s2}. +Return zero if the two file names @var{s1} and @var{s2} are equivalent. +If not equivalent, the returned value is similar to what @code{strcmp} +would return. In other words, it returns a negative value if @var{s1} +is less than @var{s2}, or a positive value if @var{s2} is greater than [EMAIL PROTECTED] -This function does not normalize path names. As a result, this function +This function does not normalize file names. As a result, this function will treat filenames that are spelled differently as different even in the case when the two filenames point to the same underlying file. However, it does handle the fact that on DOS-like file systems, forward @@ -1471,6 +1472,15 @@ does the return value. The third argume @end deftypefn [EMAIL PROTECTED] argv.c:293 [EMAIL PROTECTED] Extension int writeargv (const char [EMAIL PROTECTED], FILE [EMAIL PROTECTED]) + +Write each member of ARGV, handling all necessary quoting, to the file +named by FILE, separated by whitespace. Return 0 on success, non-zero +if an error occurred while writing to FILE. + [EMAIL PROTECTED] deftypefn + @c xatexit.c:11 @deftypefun int xatexit (void ([EMAIL PROTECTED]) (void)) -- Summary: [4.3 Regression] "make info" fails in libiberty Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32859