From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1400 invoked by alias); 16 Feb 2004 14:48:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1393 invoked by uid 48); 16 Feb 2004 14:48:17 -0000 Date: Mon, 16 Feb 2004 14:48:00 -0000 Message-ID: <20040216144817.1392.qmail@sources.redhat.com> From: "cmosis5 at hotmail dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040216131401.14157.cmosis5@hotmail.com> References: <20040216131401.14157.cmosis5@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/14157] undefined reference to `__ctype_b' (can't compile gcc for avr using gcc3.3.3) X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg01633.txt.bz2 List-Id: ------- Additional Comments From cmosis5 at hotmail dot com 2004-02-16 14:48 ------- Hi, Yes, it appears that applications should NOT be using this __ctype_b, and thus REDHAT isn't supporting it anymore with their glibc libraries. So should gcc avoid this? What's the status on this? Why has Red Hat suddenly changed this in Red Hat 9 between glibc-2.3.2-5 and glibc-2.3.2-11.9? And will Red Hat exports __ctype_b as compatibility symbol again? Or should I open a new ticket? Werner ------- Additional Comment #6 From Michael Young on 2003-06-20 17:19 ------- I am sure I have seen the answer to this query elsewhere in bugzilla. The reasoning (if I remember correctly) is that the __ctype_b isn't safe in the TLS environment, so they removed it to discourage people from using it. Hence don't expect it to reappear, though it is apparently quite easy to modify the glibc source to turn the exporting back on. ------- Additional Comment #7 From Michael Young on 2003-06-20 17:33 ------- See http://lists.debian.org/debian-glibc/2002/debian-glibc-200210/msg00093.html for information on how to modify the glibc source so the symbols work again. Also the problem is with uselocale, not TLS. ------- Additional Comment #8 From Shawn Walker on 2003-06-20 22:03 ------- The point is that they're internal symbols and no sane application should be using them anyway. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14157