.hgtags
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Wed Dec 14 16:55:22 2011 +0100 (2011-12-14)
branch1.13
changeset 2848 1ff89596dab0
parent 2747 644dc338436b
child 2850 0c96d77a6ce4
permissions -rw-r--r--
libc/eglibc: fix localedef 2.14 build

The localedef of eglibc 2.14 requires NOT_IN_libc to be defined in order to
compile intl/l10nflist.c.

This is because localedef is built separately from eglibc and uses some parts of
eglibc that don't compile in standalone without this preprocessor definition.

This fixes the following error:

[ALL ] gcc -g -O2 -DNO_SYSCONF -DNO_UNCOMPRESS
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs -Iglibc/locale
-I/<snip>/.build/src/eglibc-localedef-2_14/include
-I/<snip>/.build/src/eglibc-localedef-2_14 -I.
-include /<snip>/.build/src/eglibc-localedef-2_14/include/always.h -Wall
-Wno-format -c -o locarchive.o glibc/locale/programs/locarchive.c
[ALL ] glibc/locale/programs/locarchive.c: In function 'enlarge_archive':
[ALL ] glibc/locale/programs/locarchive.c:303:21: warning: variable
'oldlocrectab' set but not used [-Wunused-but-set-variable]
[ALL ] In file included from glibc/locale/programs/locarchive.c:651:0:
[ALL ] glibc/locale/programs/../../intl/l10nflist.c: In function
'_nl_normalize_codeset':
[ERROR] glibc/locale/programs/../../intl/l10nflist.c:342:9: error:
'_nl_C_locobj_ptr' undeclared (first use in this function)
[ALL ] glibc/locale/programs/../../intl/l10nflist.c:342:9: note: each
undeclared identifier is reported only once for each function it appears in
[ALL ] glibc/locale/programs/locarchive.c: In function
'add_locales_to_archive':
[ALL ] glibc/locale/programs/locarchive.c:1450:7: warning: passing argument
1 of '__xpg_basename' discards 'const' qualifier from pointer target type
[enabled by default]
[ALL ] /usr/include/libgen.h:35:14: note: expected 'char *' but argument is
of type 'const char *'
[ERROR] make[1]: *** [locarchive.o] Error 1

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
(transplanted from 4cd9134739b594451794cf61a6e1b137422cdafd)
     1 1161124240eecdd9985ed8bb1f656f73e11ac7f5 crosstool-ng-1.0.0
     2 1853cda9d5fcc8f00c1b8825a3cdd35ab186f5a2 crosstool-ng-1.4.1
     3 1ee5aab4c728e9af94d978c6beb722804ec6445e crosstool-ng-0.1.1
     4 26c0b9e2925f2517d1e245c2f851195926e55402 crosstool-ng-1.2.4
     5 29233430562ffa6fa2c6c1231df0a42893ed1a8d crosstool-ng-1.1.2
     6 2be7232a73ac3fe09d2fb73b9c01678d3b14e577 crosstool-ng-0.2.2
     7 30c199c6c1d883bce387079c5008f6fc88575ad4 crosstool-ng-1.2.5
     8 35aaf07763d1e5d0736ca32e307e6c1d6a54947a crosstool-ng-1.1.3
     9 39b1c755f19bfd5b714ca85cc7640d976dcefdff crosstool-ng-1.4.0
    10 4150b61102e471c4fbc08f107e863505eff77864 crosstool-ng-1.3.3
    11 535c6e0a057c64a88b5bba9a3f57f2bbff5657c3 crosstool-ng-1.3.0
    12 565d6d12f13974dbec80ae83c9af8311d7baa845 crosstool-ng-0.0.1
    13 5d14c00467ab59eabe9b1066f3d32fb893c2cda3 crosstool-ng-0.2.0
    14 60e62e0a90e249fc010065838e0c5be96d744af7 crosstool-ng-0.0.5
    15 696c97af4379cdcdaad1ac14875385cfeee8ca00 crosstool-ng-0.3.1
    16 6ca745eb9aaa1a91cb3721210749d1105a6b1b81 crosstool-ng-0.2.1
    17 6d8384a866925ab311d1c096e260512752f22528 crosstool-ng-0.3.2
    18 6ed7374c84784e677bbfcbb783bc14db619e9205 crosstool-ng-1.3.1
    19 6f4ad1b466b57c90259f82e4540df21e99a99881 crosstool-ng-1.2.2
    20 78e3bf9373e2d80c0ffde27f9462b12cfe787eb6 crosstool-ng-1.3.2
    21 8031c8ac452a2d3e66862f914127831c1dca895e crosstool-ng-1.1.1
    22 8451e5083069718465430c6fe7b3e0b192f40d75 crosstool-ng-1.2.0
    23 88cc5f5c0807c349e37d889b4ad58ede4f09ee68 crosstool-ng-0.1.2
    24 a393e449f6ba3987298a1154ca48b15c8f66f2fa crosstool-ng-0.0.3
    25 a44f2ee18392a60c6097c32dbd7ad28dc67e28fe crosstool-ng-1.1.0
    26 a8cd2d0d06bd0a9233c897c165bd8dfc927fa317 crosstool-ng-0.3.0
    27 b48b98717e16ebb58235c106e048bad729e79bbb crosstool-ng-1.2.1
    28 b8de3e11c8b49fd290c15e576cd6611db35ab3dd crosstool-ng-1.2.3
    29 c71b4f4da4b46aa83e6c013208731edfffd249a1 crosstool-ng-0.0.4
    30 ce34b7cd6509906de6885c084dbef7ddecd603c6 crosstool-ng-1.1.3a
    31 e016efb7036c14f86e1592114e621cfadeaf714c crosstool-ng-0.0.2
    32 fec15dd785b1ab52e15a350665362c3f58852931 crosstool-ng-0.1.0
    33 adc12224e93cb1ec76193529e26aae152cb4b528 crosstool-ng-1.13.0
    34 d3fccce443b6d98e8ee3ea9f683b6d78b48fe1d3 crosstool-ng-1.13.1
    35 d2c675360a172a5e5cafc92cf7bc411aa51e6095 crosstool-ng-1.13.2