public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cmosis5 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/14157] undefined reference to `__ctype_b'  (can't compile gcc for avr using gcc3.3.3)
Date: Mon, 16 Feb 2004 14:48:00 -0000	[thread overview]
Message-ID: <20040216144817.1392.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040216131401.14157.cmosis5@hotmail.com>


------- 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


  parent reply	other threads:[~2004-02-16 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16 13:14 [Bug c/14157] New: " cmosis5 at hotmail dot com
2004-02-16 13:27 ` [Bug c/14157] " pinskia at gcc dot gnu dot org
2004-02-16 14:45 ` cmosis5 at hotmail dot com
2004-02-16 14:48 ` cmosis5 at hotmail dot com [this message]
2004-02-16 15:01 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040216144817.1392.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).