This is the mail archive of the gcc@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++ breakage in Linux EGCS 980302.


Hi,
 C++ is broken in 980302 and also the previous version. System is:
(root@jackalz):/# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.12/specs
gcc version egcs-2.91.12 980302 (gcc-2.8.0 release)
(root@jackalz):/# uname -a
Linux jackalz 2.1.88 #7 Sat Feb 21 02:41:52 EST 1998 i486
with glibc 2.0.6.

I try to run a program that's linked dynamically with libstdc++:
(root@jackalz):/# lftp
lftp: error in loading shared libraries
/usr/lib/libstdc++.so.2.8: undefined symbol: _t24__default_alloc_template2b1i0.__node_allocator_lock

If I try to compile a fairly simple program:
(root@jackalz):/usr/src/linux/scripts# g++ -o ksymoops ksymoops.cc
/usr/include/g++/iostream.h: In method `int ostream::opfx()':
In file included from /usr/include/g++/fstream.h:30,
                 from ksymoops.cc:34:
/usr/include/g++/iostream.h:53: warning: implicit declaration of function `int _IO_flockfile(...)'
/usr/include/g++/iostream.h: In method `void ostream::osfx()':
/usr/include/g++/iostream.h:54: warning: implicit declaration of function `int _IO_funlockfile(...)'
/usr/lib/libstdc++.so: undefined reference to `__default_alloc_template<true, 0>::free_list'
/usr/lib/libstdc++.so: undefined reference to `__default_alloc_template<true, 0>::__node_allocator_lock'
/usr/lib/libstdc++.so: undefined reference to `__default_alloc_template<true, 0>::refill(unsigned int)'
collect2: ld returned 1 exit status

If you need more information, just tell me.
 -Myrdraal


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