gcc-2.95.3-test2 fails to bootstrap on sparc-sun-solaris2.7

Martin Buchholz martin@xemacs.org
Fri Jan 19 23:57:00 GMT 2001


>>>>> "Bernd" == Bernd Schmidt <bernds@redhat.com> writes:

Bernd> On Thu, 18 Jan 2001, Martin Buchholz wrote:
>> gcc seems to want to do glibc-related things, even though this is a
>> fairly standard Solaris system.  No glibc anywhere to be found.

Bernd> Does this work with 2.95.2?  If it does, can you try backing out the
Bernd> changes in the gcc/fixinc directory?

I tried it, and was surprised to discover that bootstraping 2.95.2
didn't work either.

I think my problems come from trying to build with srcdir=objdir,
which the installation instructions warn against.

I think that building this way should really be supported, especially
since much software on the Net can only be built this way.

Anyways, it's hard to generate good bug reports since it takes so long
to bootstrap gcc.  But here's one:

I untar'ed a pristine gcc-2.95.3-test2.tar.gz, and then did

(on Linux)
(martin@lasker) ~cdx/import/bernd $ cd gcc-2.95.3.test2
(martin@lasker) ~cdx/import/bernd/gcc-2.95.3.test2 $ (make distclean; ./configure --prefix=/usr/local --disable-nls --enable-languages='c,c++' && make bootstrap && make distclean) > /dev/null 2>&1

Then I compared the resulting directory to another pristine
gcc-2.95.3.test2.  They should have been identical, since `make
distclean' is supposed to remove all files not in the distribution
tarball.  So all the files reported below should be considered a bug
in the `distclean' target.

By the way, I think you should include the gcc.info* files in the
distribution tarballs, so that the user doesn't have to install texinfo.

I suspect, but haven't tested, that my bootstrap failures on Solaris
are caused by reusing the directory used to build Linux.  `make
distclean' should have been sufficient, but perhaps wasn't.


(martin@lasker) ~cdx/import/bernd/gcc-2.95.3.test2 $ diff -r --brief . ../../gcc-2.95.3.test2
Only in ./gcc: cpp.info
Only in ./gcc: cpp.info-1
Only in ./gcc: cpp.info-2
Only in ./gcc: cpp.info-3
Only in ./gcc: cxxmain.c
Only in ./gcc/fixinc: Makefile
Only in ./gcc: fixinc.sh
Only in ./gcc: gcc.info
Only in ./gcc: gcc.info-1
Only in ./gcc: gcc.info-10
Only in ./gcc: gcc.info-11
Only in ./gcc: gcc.info-12
Only in ./gcc: gcc.info-13
Only in ./gcc: gcc.info-14
Only in ./gcc: gcc.info-15
Only in ./gcc: gcc.info-16
Only in ./gcc: gcc.info-17
Only in ./gcc: gcc.info-18
Only in ./gcc: gcc.info-19
Only in ./gcc: gcc.info-2
Only in ./gcc: gcc.info-20
Only in ./gcc: gcc.info-21
Only in ./gcc: gcc.info-22
Only in ./gcc: gcc.info-23
Only in ./gcc: gcc.info-24
Only in ./gcc: gcc.info-25
Only in ./gcc: gcc.info-26
Only in ./gcc: gcc.info-27
Only in ./gcc: gcc.info-28
Only in ./gcc: gcc.info-29
Only in ./gcc: gcc.info-3
Only in ./gcc: gcc.info-30
Only in ./gcc: gcc.info-4
Only in ./gcc: gcc.info-5
Only in ./gcc: gcc.info-6
Only in ./gcc: gcc.info-7
Only in ./gcc: gcc.info-8
Only in ./gcc: gcc.info-9
Only in ./gcc: genrtl.c
Only in ./gcc: genrtl.h
Only in ./gcc: obstack.c
Only in ./gcc/po: Makefile
Only in ./gcc/po: Makefile.in
Only in ./gcc/po: POTFILES
Only in ./gcc: splay-tree.c
Only in ./texinfo/doc: Makefile
Only in ./texinfo/info: Makefile
Only in ./texinfo/po: Makefile
Only in ./texinfo/po: Makefile.in
Only in ./texinfo/po: POTFILES
Only in ./texinfo/util: Makefile


More information about the Gcc-bugs mailing list