[v3] debug mode
Eric Botcazou
ebotcazou@libertysurf.fr
Wed Nov 19 15:14:00 GMT 2003
> libstdc++
> http://people.redhat.com/bkoz/libstdc++_debug_mode.patch
This broke bootstrap on sparc-sun-solaris2.5.1:
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_Parameter::_M_print_field(const
__gnu_debug::_Error_formatter*, const char*) const':
../../../src/libstdc++-v3/src/debug.cc:249: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc:249: error: (Each undeclared
identifier is reported only once for each function it appears in.)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_Parameter::_M_print_description(const
__gnu_debug::_Error_formatter*) const':
../../../src/libstdc++-v3/src/debug.cc:356: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_M_error() const':
../../../src/libstdc++-v3/src/debug.cc:438: error: `snprintf' undeclared
(first use this function)
../../../src/libstdc++-v3/src/debug.cc: In member function `void
__gnu_debug::_Error_formatter::_M_print_string(const char*) const':
../../../src/libstdc++-v3/src/debug.cc:543: error: `snprintf' undeclared
(first use this function)
gmake[4]: *** [debug.lo] Error 1
gmake[4]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc'
gmake: *** [bootstrap] Error 2
See the thread starting at
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00831.html
for a possible fix.
--
Eric Botcazou
More information about the Gcc-patches
mailing list