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]

C++ ICE compiling libstdc++-v3 (Still!)


Since apparently not many people are seeing the same thing I am, I'm
including the problematic preprocessor output in this report.  Maybe
someone who is good at debugging memory corruption will take pity.
(Oddly enough, compiling with "-fno-strict-aliasing" works....)

Here's the configuration:

      SRC/configure
      --with-gcc-version-trigger=/u/build/gcc/egcs/SRC/gcc/version.c
      --host=i686-pc-linux-gnu --prefix=/usr/local/egcs
      --enable-languages=objc,c++ --enable-threads=posix --enable-shared
      --enable-version-specific-runtime-libs --enable-libstdcxx-v3
      --enable-namespaces --enable-long-long --norecursion

Here's the cc1plus command that fails:

      /u/build/gcc/egcs/gcc/cc1plus -quiet -dumpbase misc-inst.cc -g -g -O2 -Wall -Wno-format -W -Wwrite-strings -Winline -Werror -version -fvtable-thunks -fno-implicit-templates -fimplicit-templates -fPIC -o - <mi.i >mi.s
GNU C++ version 2.96 20000520 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 20000520 (experimental).
In file included from ../../../SRC/libstdc++-v3/bits/ostream.tcc:364:
../../../SRC/libstdc++-v3/bits/basic_ios.h: In instantiation of `std::basic_ostream<_CharT, _Traits>::tellp () [with _CharT = char, _Traits = std::char_traits<char>]':
../../../SRC/libstdc++-v3/src/misc-inst.cc:116:   instantiated from here
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: Internal compiler error.
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: Please submit a full bug report.
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.

And I've attached the preprocessor output ("mi.i").

HELP?!
-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K

mi.i.gz


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