This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
glibc locale build broken
- From: David Miller <davem at davemloft dot net>
- To: drepper at gmail dot com
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 15 Aug 2011 00:57:12 -0700 (PDT)
- Subject: glibc locale build broken
I can't figure out a clean way to fix this.
Since adding -DNOT_IN_libc to locale-CPPFLAGS, the build of
locale/uselocale.o breaks because it directly references the
ctype libc_tsd bits.
But NOT_IN_libc makes those definitions not get defined, thus:
uselocale.c: In function '__uselocale':
uselocale.c:66:1: error: '__libc_tsd_CTYPE_B_data' undeclared (first use in this function)
uselocale.c:66:1: note: each undeclared identifier is reported only once for each function it appears in
uselocale.c:68:1: error: '__libc_tsd_CTYPE_TOLOWER_data' undeclared (first use in this function)
uselocale.c:70:1: error: '__libc_tsd_CTYPE_TOUPPER_data' undeclared (first use in this function)