[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question about your new upload of libg++



First of all, on our systems here, with the latest release of libg++,
this fails:

  #include <iostream.h>

  int
  main(int argc, char ** argv) {
    char foo[80] = "<uninitialized>\n";
    cout << foo << endl;
  }

  $ g++ -o dummy -D_REENTRANT -lpthread dummy.cc
  $ dummy
  <uninitialized>
  Segmentation fault (core dumped)

So does sscanf, sprintf, etc.

Does anyone have any ideas?  Also we can't even rebuild libg++
locally.  It fails as listed below.  Any help would be greatly
appreciated.

make[3]: Leaving directory `/home/rlb/libg++272-2.7.2.8/libio'
echo cstring
cstring
if [ -n "-fpic" ]; then \
  gcc -c -O2 -g0 -D_REENTRANT -fno-implicit-templates -I. -I../libio -I./../libi
    `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS
P LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done` \
    ./sinst.cc -o pic/cstrmain.o; \
else true ; fi
gcc -c -O2 -g0 -D_REENTRANT -fno-implicit-templates -I. -I../libio -I./../libio
ITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP G
 GESP; do echo " -D${N}"; done` \
  ./sinst.cc -o cstrmain.o
echo cstrio
cstrio
if [ -n "-fpic" ]; then \
  gcc -c -O2 -g0 -D_REENTRANT -fno-implicit-templates -I. -I../libio -I./../libi
    `for N in EXTRACT INSERT GETLINE; do echo " -D${N}"; done` \
    ./sinst.cc -o pic/cstrio.o; \
else true ; fi
./sinst.cc:146: no matching template for `getline(istream &, basic_string<char,s
make[2]: *** [bigstmp-string] Error 1
make[2]: Leaving directory `/home/rlb/libg++272-2.7.2.8/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/home/rlb/libg++272-2.7.2.8'
make: *** [build] Error 2
$                       

Thanks

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: