[v3] debug mode

Benjamin Kosnik bkoz@redhat.com
Fri Nov 21 00:58:00 GMT 2003


>9215:./g++-dg-compat-eh-nrv1-01: /sbin/loader: Error: Unresolved symbol in /amnt/figaro/volumes/obj-gcc/gcc/obj.alpha/gcc-3.4-20031120/4.0f-gcc/alpha-dec-osf4.0f//libstdc++-v3/src/.libs/libstdc++.so.6: _ZNK11__gnu_debug16_Error_formatter14_M_format_wordImEEvPciPKcT_
>9215:./g++-dg-compat-eh-nrv1-01: /sbin/loader: Fatal Error: this executable
>has unresolvable symbols

Try this.

Index: src/debug.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/debug.cc,v
retrieving revision 1.2
diff -c -p -r1.2 debug.cc
*** src/debug.cc        20 Nov 2003 19:32:13 -0000      1.2
--- src/debug.cc        21 Nov 2003 00:57:56 -0000
*************** namespace __gnu_debug
*** 651,657 ****
    template
      void
      _Error_formatter::_M_format_word(char* __buf, int __n, const char* __fmt,
!                                    unsigned int __s) const;
   
    template
      void
--- 651,657 ----
    template
      void
      _Error_formatter::_M_format_word(char* __buf, int __n, const char* __fmt,
!                                    std::size_t __s) const;
   
    template
      void



More information about the Libstdc++ mailing list