Wind River Support Network

HomeDefectsLIN10-6917
Fixed

LIN10-6917 : OV: compile cross-localedef-native failed 'argp-help.c:(.text+0x2021): undefined reference to '_IO_fwide''

Created: Jan 9, 2020    Updated: Mar 23, 2020
Resolved Date: Jan 21, 2020
Found In Version: 10.17.41.11
Fix Version: 10.17.41.20
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config, Userspace

Description

| glibc/argp/argp-fmtstream.c: In function ‘_argp_fmtstream_update’:
| glibc/argp/argp-fmtstream.c:152:9: warning: implicit declaration of function ‘_IO_fwide’ [-Wimplicit-function-declaration]
|      if (_IO_fwide (fs->stream, 0) > 0)
|          ^~~~~~~~~
| glibc/argp/argp-fmtstream.c:153:7: warning: implicit declaration of function ‘putwc_unlocked’; did you mean ‘putc_unlocked’? [-Wimplicit-function-declaration]
|        putwc_unlocked (L' ', fs->stream);
|        ^~~~~~~~~~~~~~
|        putc_unlocked

-----

ERROR: cross-localedef-native-2.26-r0 do_compile: oe_runmake failed
ERROR: cross-localedef-native-2.26-r0 do_compile: Function failed: do_compile (log file is located at /buildarea1/nightly/WRL10_17_GIT/build_dir/OVP/GIT_202001/lxbuilds/qemux86-64-preempt-rt-ovp-guest/wrlinux/build_wrlinux/tmp-glibc/work/x86_64-linux/cross-localedef-native/2.26-r0/temp/log.do_compile.2322215)
ERROR: Logfile of failure stored in: /buildarea1/nightly/WRL10_17_GIT/build_dir/OVP/GIT_202001/lxbuilds/qemux86-64-preempt-rt-ovp-guest/wrlinux/build_wrlinux/tmp-glibc/work/x86_64-linux/cross-localedef-native/2.26-r0/temp/log.do_compile.2322215
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 24
| gcc  -o localedef charmap.o charmap-dir.o ld-address.o ld-collate.o ld-ctype.o ld-identification.o ld-measurement.o ld-messages.o ld-monetary.o ld-name.o ld-numeric.o ld-paper.o ld-telephone.o ld-time.o linereader.o localedef.o locarchive.o locfile.o repertoire.o simple-hash.o xmalloc.o xstrdup.o argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-xinl.o error.o getopt.o getopt1.o md5.o obstack.o asprintf.o getdelim.o localedef_extra.o obstack_printf.o vasprintf.o
| argp-fmtstream.o: In function `_argp_fmtstream_update':
| argp-fmtstream.c:(.text+0x4d2): undefined reference to `_IO_fwide'
| argp-fmtstream.c:(.text+0x525): undefined reference to `_IO_fwide'
| argp-help.o: In function `argp_failure':
| argp-help.c:(.text+0x2021): undefined reference to `_IO_fwide'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:62: localedef] Error 1
| ERROR: oe_runmake failed
| WARNING: 

Steps to Reproduce

/wrlinux-10/setup.sh --machines qemux86-64 --distros wrlinux-ovp --templates feature/kernel-ovp-guest --dl-layers --accept-eula=yes 
source environment-setup-x86_64-wrlinuxsdk-linux 
source oe-init-build-env build_wrlinux
echo IMAGE_ROOTFS_EXTRA_SPACE = \\"2097152\\" >> conf/local.conf && echo KERNEL_VERSION_SANITY_SKIP=\\"1\\" >> conf/local.conf && echo IMAGE_FSTYPES += \\" tar.bz2\\"  >> conf/local.conf && echo BB_NUMBER_THREADS ?= \\"24\\" >> conf/local.conf && echo PARALLEL_MAKE ?= \\"-j 24\\" >> conf/local.conf
bitbake wrlinux-image-ovp-guest

 
Live chat
Online