Patch from Enrico WEIGELT <weigelt@metux.de> to disable __cxa_atexit for those C libraries with no support (old uClibc).
1 --- glibc-2.3.3/locale/weight.h.old 2003-06-11 14:52:12.000000000 -0700
2 +++ glibc-2.3.3/locale/weight.h 2005-03-15 12:05:37.000000000 -0800
6 /* Find index of weight. */
12 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
13 __attribute ((always_inline))
15 findidx (const unsigned char **cpp)
17 int_fast32_t i = table[*(*cpp)++];
18 --- glibc-2.3.3/locale/weightwc.h.old 2003-06-13 13:44:58.000000000 -0700
19 +++ glibc-2.3.3/locale/weightwc.h 2005-03-15 12:06:46.000000000 -0800
23 /* Find index of weight. */
29 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
30 __attribute ((always_inline))
32 findidx (const wint_t **cpp)