glibc-2.2.93 can't compile gcc-3.2

Kaoru Fukui k_fukui@highway.ne.jp
Thu Sep 5 00:36:00 GMT 2002


On  5 Sep, Jeff Chua wrote:
> 
> __ctype_b
> __ctype_toupper
> __ctype_tolower
> 
> ... undeclared while recompiling gcc-3.2 with glibc-2.2.93 using gcc-3.2
> (originally compiled with glibc-2.2.5)

Get current gcc from cvs, which probably is fixed.
Or Jakub.s that patches are in gcc-patches@gcc.gnu.org.
There are some patches.
Look for in archive.

Kaoru
------------------------------------------------------------
2002-09-01  Jakub Jelinek  <jakub@redhat.com>

	* config/os/gnu-linux/bits/ctype_noninline.h
	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
	and return __ctype_b.
	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
	initialize using __ctype_{b,tolower,toupper}.
	(ctype<char>::ctype(const mask*, bool, size_t)): If
	_GLIBCPP_C_LOCALE_GNU, initialize using
	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.




More information about the Libc-alpha mailing list