You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
10 years ago
..
009_backport_mount.h-update.patch uClibc: backport mount.h update 10 years ago
010-backport_sscanf_alloc.patch toolchain: refresh uClibc patches 11 years ago
011-dlsym_rtld_next_fix.patch toolchain: refresh uClibc patches 11 years ago
100-fix_unifdef.patch uClibc: get rid of bogus unused strlcpy definition to fix build errors 11 years ago
110-compat_macros.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
120-adjtimex.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
131-inet-fix-__read_etc_hosts_r-segfault.patch toolchain: refresh uClibc patches 11 years ago
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 12 years ago
133-inet6-scoped-getnameinfo.patch uClibc: fix scoped-IPv6-addresses in getnameinfo 11 years ago
135-inet_fix_threaded_use_of_res_functions.patch uClibc: Fix threaded use of res_ functions. 11 years ago
136-inet_make_res_init_thread_safe.patch uClibc: make res_init() thread safe 11 years ago
137-inet_fix_threaded_res_init.patch uClibc: Fix lookup with DNS search in multi-threaded application. 11 years ago
140-avr32_atomic_fix.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
150-vasprintf_size_reduce.patch uClibc: add a patch to reduce vasprintf allocation size (fixes #13024) 10 years ago
170-math_finite.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
180-pthread_cleanup_fix.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
190-nptl_use_arch_default_stack_limit.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
200-no_forced_unwind.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
210-mips_use_pic_crt1.patch uClibc: use position independent code for crt1, slightly reduces size of all executables 11 years ago
350-use-fputs_unlocked.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
410-llvm_workaround.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
450-powerpc_copysignl.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
480-powerpc_rel24_support.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
500-eventfd.patch toolchain: refresh uClibc patches 11 years ago
600-mips64_abi_selection.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
610-mips64_syscall_fix.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
611-mips_syscall_error_argument.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
612-mips64_relocation_fix.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
613-mips64_more_relocation_fixes.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
614-mips64_fix_setjmp_longjmp.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
615-mips_fix_sigev_pad_size.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
616-mips_fix_stat_time.patch uClibc: fix copy&pasted typo in the stat fix 10 years ago
617-mips_fix_setjmp_ptrsize.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
618-mips64_fix_syscall_error.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
619-mips64_fix_sysdep_cancel.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
960-remove_eabi_oabi_selection.patch uClibc: update to 0.9.33.2, fixes #4420 12 years ago
970-add___kernel_long_and___kernel_ulong.patch toolchain: refresh uClibc patches 11 years ago
981-fix_setting_arch_native_bit.patch uClibc: add a whole bunch of mips64 related fixes 10 years ago
990-no-stack-cache.patch uClibc: Deactivate oversized thread stack cache 11 years ago
991-gen_wctype.patch toolchain: uClibc: fix compile with full language support enabled (fixes #13095) 10 years ago
999-eventfd_use_bits_scheme.patch uClibc: Backport uClibc master git commit fd355bc1dbcb794ae1abf0fad1459e28d8567ba0 (eventfd.h: Use new "bits/" scheme for arch-specific flags) 10 years ago