This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: the struggle for a 64-bit GCC on Solaris 10 - part 2
> On 12/11/2012 4:00 PM, Dennis Clarke wrote:
> >> On Mon, Nov 12, 2012 at 8:10 AM, Dennis Clarke <dclarke@blastwave.org>
> >> wrote:
> >>>
> >> /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/g++
> >> -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/
> >> -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -nostdinc++
> >> -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
> >> -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
> >> -I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include/sparc64-sun-solaris2.10
> >> -I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include
> >> -I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++
> >> -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
> >> -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
> >> -c
> >>> -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing
> >> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
> >> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> >> -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.7.2/gcc -I../../gcc-4.7.2/gcc/.
> >> -I../../gcc-4.7.2/gcc/../include -I./../intl
> >> -I../../gcc-4.7.2/gcc/../libcpp/include -I/usr/local/include
> >> -I/usr/local/include -I/usr/local/include
> >> -I../../gcc-4.7.2/gcc/../libdecnumber
> >> -I../../gcc-4.7.2/gcc/../libdecnumber/dpd -I../libdecnumber
> >> -I/usr/local/include:/opt/csw/gcc4/include
> >> ../../gcc-4.7.2/gcc/pretty-print.c -o pretty-print.o
> >>> ../../gcc-4.7.2/gcc/pretty-print.c: In function 'const char*
> >> identifier_to_locale(const char*)':
> >>> ../../gcc-4.7.2/gcc/pretty-print.c:954:28: error: invalid conversion
> >> from 'char**' to 'const char**' [-fpermissive]
> >>> gmake[3]: *** [pretty-print.o] Error 1
> >>
> >> Looks a lot like http://gcc.gnu.org/PR49794 , although that is said
> to
> >> have been fixed in 4.7. Other than that I don't know, but it may
> >> suggest the people to talk to.
> > * sigh *
> >
> > After all this struggle just to get to a bootstrap I am stopped by a
> bug.
> I'm still really unclear on why you're having so much trouble with
> this.
> Have you tried bootstrapping with SunCC like I did? Granted, I'm only
> on
> 5.9, but if newer versions fall down that's Oracle's fault, not gcc's.
Since this is a purely gcc 4.7.2 bootstrapped with gcc 4.5.1 as the compiler then it would be
entirely in GCC land and not Oracle.
Regardless, I have reached out to Rainer Orth and hope to hear back from him.
Dennis
ps: also .. I will try this on Solaris 8 which has always worked in the past.