From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3461 invoked by alias); 13 Nov 2012 07:40:27 -0000 Received: (qmail 3333 invoked by uid 48); 13 Nov 2012 07:40:09 -0000 From: "dclarke at blastwave dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive] Date: Tue, 13 Nov 2012 07:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: Component Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01116.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293 Dennis Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- Component|bootstrap |c --- Comment #12 from Dennis Clarke 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.