This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build Bug In gcc-4.1.2


Gentle People:

  First of all I would like to thank all of you for the help you have
provided so far. With your help I have been able to build and install
Gcc versions 3.4.6 and 4.0.4.

  However I have encountered another bug in Gcc version gcc-4.1.2.
Shown at the bottom below. Please note that while the build complains
the makeinfo is not present, a makeinfo --version was successful when
executed in the SAME shell after the failed build. Also note that I did
not edit or modify the referenced .texi' or `.texinfo files.

- The command sequence used is as follows:

1) Md5sum Verification:
cd /export/home/tools/gcc
gmd5sum gcc-4.1.1.tar.gz
diff md5sum_new md5sum_orig
- Md5sun was correct

2) Gunzip:
gunzip gcc-4.1.1.tar.gz
- No Errors

3) Inflate:
tar -xvf gcc-4.1.1.tar
- No Errors

4) Make and condition directories:
mkdir gcc-gcc-4.1.1 gcc-4.1.1-bin
chmod 777 gcc-4.1.1-obj gcc-4.1.1-bin
cd gcc-4.1.1-obj

5) Configure Command:
/export/home/tools/gcc/gcc-4.1.1/configure --with-gnu-ld --with-gnu-as --with-as=/opt/sfw/bin/gas --with-ld=/opt/sfw/bin/gld
- No Errors displayed.


6) Create Links:
- Required to fix previously discussed bugs.
ln -s /opt/sfw/bin/gmake make
ln -s /opt/sfw/bin/gld ld
ln -s /opt/sfw/bin/gas as

7) Actual Build:
gmake
gmake DESTDIR=/export/home/tools/gcc/gcc-4.1.1-bin install

- Build error:

gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/export/home/tools/gcc/gcc-4.1.2/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes /export/home/tools/gcc/gcc-4.1.2/libiberty/vasprintf.c -o vasprintf.o
rm -f ./libiberty.a pic/./libiberty.a
ar rc ./libiberty.a \
./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./asprintf.o ./mempcpy.o ./mkstemps.o ./setenv.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./vasprintf.o
ranlib ./libiberty.a
if [ x"" != x ]; then \
cd pic; \
ar rc ./libiberty.a \
./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./asprintf.o ./mempcpy.o ./mkstemps.o ./setenv.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./vasprintf.o; \
ranlib ./libiberty.a; \
cd ..; \
else true; fi
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
for g in ./asprintf.o ./mempcpy.o ./mkstemps.o ./setenv.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./vasprintf.o ; do \
case "$g" in \
*$f*) echo $g >> needed-list ;; \
esac; \
done; \
done
echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list
gmake[3]: Entering directory `/export/home/tools/gcc/gcc-4.1.2-obj/libiberty/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/export/home/tools/gcc/gcc-4.1.2-obj/libiberty/testsuite'
gmake[2]: Leaving directory `/export/home/tools/gcc/gcc-4.1.2-obj/libiberty'
gmake[2]: Entering directory `/export/home/tools/gcc/gcc-4.1.2-obj/fastjar'
gmake "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2 " "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/opt/sfw/bin/ginstall -c" "INSTALL_DATA=/opt/sfw/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/opt/sfw/bin/ginstall -c" "INSTALL_SCRIPT=/opt/sfw/bin/ginstall -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2 " "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=gmake" "MAKEINFO=/export/home/tools/gcc/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=/usr/ccs/bin/ld" "LIBCFLAGS=-g -O2 " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
gmake[3]: Entering directory `/export/home/tools/gcc/gcc-4.1.2-obj/fastjar'
(echo "@set version-GCC 4.1.2"; \
if [ "" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /export/home/tools/gcc/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 -I /export/home/tools/gcc/gcc-4.1.2/fastjar/../gcc/doc/include -I /export/home/tools/gcc/gcc-4.1.2/fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo '/export/home/tools/gcc/gcc-4.1.2/fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
gmake[3]: *** [fastjar.info] Error 1
gmake[3]: Leaving directory `/export/home/tools/gcc/gcc-4.1.2-obj/fastjar'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/tools/gcc/gcc-4.1.2-obj/fastjar'
gmake[1]: *** [all-fastjar] Error 2
gmake[1]: Leaving directory `/export/home/tools/gcc/gcc-4.1.2-obj'
gmake: *** [all] Error 2
root@Sun# root@Sun#
root@Sun# makeinfo --version
makeinfo (GNU texinfo) 4.0
Copyright (C) 1999 Free Software Foundation, Inc.
There is NO warranty. You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.
root@Sun#




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]