C++: Can't build libstdc++ today

Chip Salzenberg chip@valinux.com
Wed Dec 29 22:51:00 GMT 1999


While bootstrapping on a K6 under Debian potato, I got this failure in
the libstdc++ directory:

    std/fcomplex.h:82: prior parameter's size depends on `float x'
    Internal compiler error in `emit_move_insn', at expr.c:2551

Here's a more complete error output:

-----------------------------------------------------------------------
make[2]: Leaving directory `/u/build/gcc/egcs/i686-pc-linux-gnu/libio'
echo fcomplex
fcomplex
if [ x"yes" = xyes ]; then \
  /u/build/gcc/egcs/gcc/xgcc -B/u/build/gcc/egcs/gcc/ -B/usr/local/egcs/i686-pc-linux-gnu/bin/ -c -pipe -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I../../SRC/libstdc++ -I../../SRC/libstdc++/stl -I../libio -I../../SRC/libstdc++/../libio -nostdinc++ -D_IO_MTSAFE_IO -fpic -DF \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
    ../../SRC/libstdc++/cinst.cc -o pic/fcomplex.o; \
else true ; fi
../../SRC/libstdc++/std/complext.cc: In function `complex<_FLT> pow (const complex<_FLT> &, int) [with _FLT = float]':
../../SRC/libstdc++/cinst.cc:135:   instantiated from here
../../SRC/libstdc++/std/fcomplex.h:82: prior parameter's size depends on `float x'
../../SRC/libstdc++/std/complext.cc:239: Internal compiler error in `emit_move_insn', at expr.c:2551
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[1]: *** [bigstmp-complx] Error 1
make[1]: Leaving directory `/u/build/gcc/egcs/i686-pc-linux-gnu/libstdc++'
make: *** [all-target-libstdc++] Error 2
-----------------------------------------------------------------------


-- 
Chip Salzenberg             - a.k.a. -              <chip@valinux.com>
     "Fleagal.  Bingo.  Drooper.  Snork.  They're cops."   //MST3K


More information about the Gcc-bugs mailing list