tn3399_openwrt/toolchain/uClibc/patches-0.9.33.2
Felix Fietkau 309cdd6101 toolchain: uClibc: fix compile with full language support enabled (fixes #13095)
When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following
message (or similar, according to https://dev.openwrt.org/ticket/13095):

-snip-
...
Warning: adding UNDEFINED entry for ar_AE
Warning: adding UNDEFINED entry for am_ET
Warning: adding UNDEFINED entry for af_ZA
grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
gcc extra/locale/gen_wctype.c  -o extra/locale/gen_wctype    -Os -Wall  -D__UCLIBC_GEN_LOCALE -I./
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
for locale in  en_US en_GB; do \
                extra/locale/gen_wctype  $locale > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.UTF-8 > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.iso8859-1 > extra/locale/wctables.h && break; \
        done
make[4]: *** [extra/locale/wctables.h] Error 1
-snap-

This seems to also depend on the host system used, e.g. running a fresh
checkout on a Debian 7.6 system triggered this error, while running the
very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it.

This is the configuration I used:

-snip-
buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_NLS=y
CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads"
-snap-

In the ticket mentioned above, a patch is referenced which solves this issue.

Note, that this issue is also present on 14.07.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43446
2014-11-30 22:22:24 +00:00
..
009_backport_mount.h-update.patch uClibc: backport mount.h update 2014-03-24 00:19:33 +00:00
010-backport_sscanf_alloc.patch toolchain: refresh uClibc patches 2013-09-11 12:08:37 +00:00
011-dlsym_rtld_next_fix.patch toolchain: refresh uClibc patches 2013-09-11 12:08:37 +00:00
100-fix_unifdef.patch uClibc: get rid of bogus unused strlcpy definition to fix build errors 2013-10-28 15:15:35 +00:00
110-compat_macros.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
120-adjtimex.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
131-inet-fix-__read_etc_hosts_r-segfault.patch toolchain: refresh uClibc patches 2013-09-11 12:08:37 +00:00
132-inet_fix_res_init.patch toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup 2012-06-30 18:12:23 +00:00
133-inet6-scoped-getnameinfo.patch uClibc: fix scoped-IPv6-addresses in getnameinfo 2013-09-30 08:41:00 +00:00
135-inet_fix_threaded_use_of_res_functions.patch uClibc: Fix threaded use of res_ functions. 2013-12-28 15:05:56 +00:00
136-inet_make_res_init_thread_safe.patch uClibc: make res_init() thread safe 2013-12-28 15:06:04 +00:00
137-inet_fix_threaded_res_init.patch uClibc: Fix lookup with DNS search in multi-threaded application. 2013-12-28 15:06:14 +00:00
140-avr32_atomic_fix.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
150-vasprintf_size_reduce.patch uClibc: add a patch to reduce vasprintf allocation size (fixes #13024) 2014-05-17 17:36:08 +00:00
170-math_finite.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
180-pthread_cleanup_fix.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
190-nptl_use_arch_default_stack_limit.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
200-no_forced_unwind.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
210-mips_use_pic_crt1.patch uClibc: use position independent code for crt1, slightly reduces size of all executables 2013-06-30 07:54:51 +00:00
350-use-fputs_unlocked.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
410-llvm_workaround.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
450-powerpc_copysignl.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
480-powerpc_rel24_support.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
500-eventfd.patch toolchain: refresh uClibc patches 2013-09-11 12:08:37 +00:00
600-mips64_abi_selection.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
610-mips64_syscall_fix.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
611-mips_syscall_error_argument.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
612-mips64_relocation_fix.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
613-mips64_more_relocation_fixes.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
614-mips64_fix_setjmp_longjmp.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
615-mips_fix_sigev_pad_size.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
616-mips_fix_stat_time.patch uClibc: fix copy&pasted typo in the stat fix 2014-07-10 20:14:58 +00:00
617-mips_fix_setjmp_ptrsize.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
618-mips64_fix_syscall_error.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
619-mips64_fix_sysdep_cancel.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
960-remove_eabi_oabi_selection.patch uClibc: update to 0.9.33.2, fixes #4420 2012-05-15 13:42:32 +00:00
970-add___kernel_long_and___kernel_ulong.patch toolchain: refresh uClibc patches 2013-09-11 12:08:37 +00:00
981-fix_setting_arch_native_bit.patch uClibc: add a whole bunch of mips64 related fixes 2014-07-10 19:28:45 +00:00
990-no-stack-cache.patch uClibc: Deactivate oversized thread stack cache 2013-11-18 13:32:06 +00:00
991-gen_wctype.patch toolchain: uClibc: fix compile with full language support enabled (fixes #13095) 2014-11-30 22:22:24 +00:00
999-eventfd_use_bits_scheme.patch uClibc: Backport uClibc master git commit fd355bc1dbcb794ae1abf0fad1459e28d8567ba0 (eventfd.h: Use new "bits/" scheme for arch-specific flags) 2014-10-14 12:57:39 +00:00