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]

boostrap fails on Solaris 2.7 with gnu tools



Hi,

I can sucessfully bootstrap gcc-2.95.1 under Solaris 2.7 with the Sun
tools; however, there seems to be a problem with the gnu tools. 
An additional annoyance is that even if gcc is explicitely configured
--without-gnu-as and --without-gnu-ld, gnu as and gnu ld are used during
dring the bootstrap process if they happen to have been
previously installed under $prefix/sparc-sun-solaris2.7/bin ...  

Can someone confirm the problem with the gnu tools under Solaris ? Are the
gnu tools currently unusable under Solaris with gcc-2.95.1 or is there a
simple fix ?

Regards,

-Francois

----------------------------------------------------------------------------
Dr. Jean-Francois OSTIGUY                              voice: (630) 840-2231 
Beam Physics Dept MS220                                  FAX: (630) 840-6039   
Fermi National Accelerator Laboratory                email: ostiguy@fnal.gov  
Batavia IL 60510-0500                           WWW:www-ap.fnal.gov/~ostiguy


waldo% uname -a
SunOS waldo 5.7 Generic_106541-05 sun4m sparc
SUNW,SPARCstation-5

waldo% /usr/local/ap/sparc-sun-solaris2.7/bin/as --version
GNU assembler 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.7'.

waldo% /usr/local/ap/sparc-sun-solaris2.7/bin/ld --version
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf32_sparc

.....

  ../../gcc/gencheck.c
stage1/xgcc -Bstage1/ -B/usr/local/ap/sparc-sun-solaris2.7/bin/  -DIN_GCC
-DHAIFA  -DSVR4  -O2 -g -O  -DHAVE_CONFIG_H  -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
"alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac `
` case "
" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./gencheck > tmp-check.h
../../gcc/move-if-change tmp-check.h tree-check.h
touch s-check
stage1/xgcc -Bstage1/ -B/usr/local/ap/sparc-sun-solaris2.7/bin/ -c
-DIN_GCC -DHAIFA  -DSVR4  -O2 -g -O  -DHAVE_CONFIG_H    -I. -I../../gcc
-I../../gcc/co
nfig -I../../gcc/../include ../../gcc/gengenrtl.c
stage1/xgcc -Bstage1/ -B/usr/local/ap/sparc-sun-solaris2.7/bin/  -DIN_GCC
-DHAIFA  -DSVR4  -O2 -g -O  -DHAVE_CONFIG_H  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
"alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac `
` case 
"" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./gengenrtl tmp-genrtl.h tmp-genrtl.c
gmake[2]: *** [s-genrtl] Segmentation Fault (core dumped)
gmake[2]: Leaving directory
`/usr/local/src/gcc-2.95.1/build-with-suntools/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory
`/usr/local/src/gcc-2.95.1/build-with-suntools/gcc'
gmake: *** [bootstrap] Error 2
waldo%                     




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