http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293



Dennis Clarke <dclarke at blastwave dot org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

          Component|bootstrap                   |c



--- Comment #12 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-13 
07:40:05 UTC ---

(In reply to comment #11)

> > Actually I just tried this : 

> > 

> > $ pwd

> > /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10

> > $ date -u

> > Tue Nov 13 03:37:19 GMT 2012

> > 

> > $ CC='gcc -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \

> > > CXX='g++ -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \

> > > ../gcc-4.7.2/configure --prefix=/usr/local/gcc4 \

> > > --build=sparc64-sun-solaris2.10 --without-gnu-as --without-gnu-ld \

> > > --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \

> > > --with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix 
> > > --enable-shared \

> > > --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \

> > > --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \

> > > --libexecdir=/usr/local/gcc4/lib \

> > > --with-pkgversion=Blastwave.org\ Inc.\ Tues\ Nov\ 13\ 03\:37\:19\ GMT\ 
> > > 2012 \

> > > --with-bugurl=http\:\/\/www.blastwave.org\/support \

> > > --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap

> 

> Why on Earth are you *again* using all these flags?  Remove all the flags you

> added back to CC and CXX.  Remove --with-cpu=v9 --enable-stage1-languages=c 
> and

> -enable-bootstrap as well.

> 

> > The end result of the long long experiment is that there is something wrong 
> > in

> > gcc 4.7.2 that make it near impossible to bootstrap.  

> > 

> > OR 

> > 

> > There is something wrong with the headers in Oracle Solaris 10 that makes it

> > impossible ( or near impossible ) to bootstrap GCC 4.7.2. 

> 

> Neither of course, people do it routinely and this works fine *if you follow

> the documented procedures*.



Just to annoy you?  No. 



I have gcc 4.7.2 bootstrapping on a few Solaris 8 servers, flawlessly. 

At least thus far. Every attempt and incantation of attempts on Solaris 10,

within or without the "documented" approach has failed. So, go easy on me. 

I have in fact, done this before. Just never on Solaris 10.

Reply via email to