This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc trunk (3.3) on sparc64-linux
On Tue, Dec 03, 2002 at 05:42:39PM +0100, chj wrote:
> On Tue, Dec 03, 2002 at 08:29:43AM -0800, David S. Miller wrote:
> > From: Christian Jönsson <c.christian.joensson@telia.com>
> > Date: Tue, 3 Dec 2002 17:29:17 +0100
> >
> > On Sun, Dec 01, 2002 at 11:28:52PM -0800, David S. Miller wrote:
> > >
> > > I build with "make bootstrap BOOT_CFLAGS="-O2 -mcpu=ultrasparc3".
> > > Try with that :-)
> >
> > uhm, what are you saying here?
> >
> > I'm saying, try those BOOT_CFLAGS and it may solve the
> > problem, and if it does that's a clue.
> >
> > When some says "I build with blah blah blah", it meant
> > "try that yourself and see if it helps".
> >
> > I don't understand why this is so confusing. I even
> > said "try with that" meaning "try with the same BOOT_CFLAGS
> > I use" in particular the -mcpu=ultrasparc3 option which I bet
> > is what makes the difference and tickles the bug to go away.
> >
> > I can't believe I need to sit here and explain this. :(
>
> sorry, but I kind of thought you were joking with me, I am on a Ultra1
> UPA/SBUS machine, and I got confused by the -mcpu=ultrasparc3
> option.... I'll try that then.
hmm, trying like this:
export BOOT_CFLAGS='-g -O2 -mcpu=ultrasparc3'
env LD_LIBRARY_PATH=/usr/local/gcc-binutils/lib:/usr/lib64 \
/usr/local/src/gcc-binutils/trunk/gcc/configure \
sparc64-linux \
--prefix=/usr/local/gcc-binutils \
--enable-shared --enable-threads=posix \
>& configure.log;
make bootstrap-lean >& build.log
still get's me a problem:
/bin/sh ../libtool --tag CXX --mode=compile /usr/local/src/gcc-binutils/trunk/objdir/gcc/xgcc -shared-libgcc -B/usr/local/src/gcc-binutils/trunk/objdir/gcc/ -nostdinc++ -L/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/src -L/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/src/.libs -B/usr/local/gcc-binutils/sparc64-linux/bin/ -B/usr/local/gcc-binutils/sparc64-linux/lib/ -isystem /usr/local/gcc-binutils/sparc64-linux/include -L/usr/local/src/gcc-binutils/trunk/objdir/ld -nostdinc++ -I/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/sparc64-linux -I/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/libsupc++ -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/src/complex_io.cc
/usr/local/src/gcc-binutils/trunk/objdir/gcc/xgcc -shared-libgcc -B/usr/local/src/gcc-binutils/trunk/objdir/gcc/ -nostdinc++ -L/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/src -L/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/src/.libs -B/usr/local/gcc-binutils/sparc64-linux/bin/ -B/usr/local/gcc-binutils/sparc64-linux/lib/ -isystem /usr/local/gcc-binutils/sparc64-linux/include -L/usr/local/src/gcc-binutils/trunk/objdir/ld -nostdinc++ -I/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/sparc64-linux -I/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/libsupc++ -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/src/complex_io.cc -fPIC -DPIC -o .libs/complex_io.o
In file included from /usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/sstream:635,
from /usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/complex:51,
from /usr/local/src/gcc-binutils/trunk/gcc-binutils/libstdc++-v3/src/complex_io.cc:30:
/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/iosfwd: In instantiation of `std::basic_iostream<char, std::char_traits<char> >':
/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/bits/sstream.tcc:231: instantiated from `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >'
/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/bits/sstream.tcc:231: instantiated from here
/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/include/iosfwd:64: internal compiler error: in
lookup_base_r, at cp/search.c:283
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[4]: *** [complex_io.lo] Error 1
make[4]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/sparc64-linux/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir'
make: *** [bootstrap-lean] Error 2