This is the mail archive of the gcc-bugs@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]

Re: bootstrap/5187: gcc 3.0.3 fails to bootstrap on Sun Ultra 60with Solaris 8


> 
> If I understand well, now the "plain" compiler (built and installed with gmake
> 3.79.1) is able to find the libraries and everything else, is perfectly usable
> indeed, *provided* only additionally link cc1 and the other stages into the
> ~/bin dir, right?
> 
> Could you possibly post the current output of a gcc --verbose test.c for the
> "plain" compiler (*no* links added in ~/bin) ??
> 
> Thanks,
> Paolo.

parrot / # gcc --verbose test.c
Using builtin specs.
Configured with: ../gcc-3.0.3/configure
--prefix=/usr/local/stow/gcc-3.0.3-make.3.79.1
Thread model: posix
gcc version 3.0.3
 cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=3 -Dsparc
-Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__
-D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__
-D__STDC_HOSTED__=1 -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc test.c
-quiet -dumpbase test.c -version -o /var/tmp/cck8NIUJ.s

If I make the link, it does not work, but note that this time it seems to be
looking for a directory with the name @target_alias@, despite the fact that the
directory has been created with the correct name, and so gcc can't find it. 

parrot / # gcc --verbose test.c
Using builtin specs.
Configured with: ../gcc-3.0.3/configure
--prefix=/usr/local/stow/gcc-3.0.3-make.3.79.1
Thread model: posix
gcc version 3.0.3
 cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=3 -Dsparc
-Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__
-D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__
-D__STDC_HOSTED__=1 -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc test.c
-quiet -dumpbase test.c -version -o /var/tmp/cczPzWXf.s
GNU CPP version 3.0.3 (cpplib) (sparc)
GNU C version 3.0.3 (@target_alias@)
        compiled by GNU C version 3.0.3.
ignoring nonexistent directory
"/usr/local/stow/gcc-3.0.3-make.3.79.1/lib/gcc-lib/@target_alias@/3.0.3/include"
ignoring nonexistent directory
"/usr/local/stow/gcc-3.0.3-make.3.79.1/lib/gcc-lib/@target_alias@/3.0.3/../../../../@target_alias@/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/stow/gcc-3.0.3-make.3.79.1/include
 /usr/include
End of search list.
 /usr/ccs/bin/as -V -Qy -s -o /var/tmp/ccLT6IVh.o /var/tmp/cczPzWXf.s
/usr/ccs/bin/as: Sun WorkShop 6 99/08/18
 /usr/ccs/bin/ld -V -Y P,/usr/ccs/lib:/usr/lib -Qy crt1.o crti.o
/usr/ccs/lib/values-Xa.o crtbegin.o -L/usr/ccs/bin -L/usr/ccs/lib
/var/tmp/ccLT6IVh.o -lgcc -lc -lgcc crtend.o crtn.o
ld: fatal: file crt1.o: open failed: No such file or directory

-- 
Dr. David Kirkby Ph.D,
email: drkirkby@ntlworld.com 
former email address: davek@medphys.ucl.ac.uk
web page: http://www.david-kirkby.co.uk/
Amateur radio callsign: G8WRB


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