Wind River Support Network

HomeDefectsLIN7-4847
Fixed

LIN7-4847 : netcf: do_compile fails "c-ctype.c:85:5: error: duplicate case value"

Created: Sep 23, 2015    Updated: Sep 8, 2018
Resolved Date: Sep 24, 2015
Found In Version: 7.0.0.10
Fix Version: 7.0.0.10
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

WRAXL build failure of qemuarm64_world_bp on  fedora21_64 x86_64

omit-frame-pointer -fvisibility=default -c unistd.c  -fPIC -DPIC -o .libs/unistd.o
c-ctype.c: In function 'c_isascii':
c-ctype.c:82:5: warning: case label value is less than minimum value for type
     case '\xff' < 0 ? 0xff : -1:
     ^
c-ctype.c:85:5: error: duplicate case value
     case '&': case '\'': case '(': case ')': case '*': case '+':
     ^
c-ctype.c:79:31: error: previously used here
     case '\x1e': case '\x1f': case '\x26': case '\x27': case '\x2d':
                               ^
c-ctype.c:85:15: error: duplicate case value
     case '&': case '\'': case '(': case ')': case '*': case '+':
               ^
c-ctype.c:79:44: error: previously used here
     case '\x1e': case '\x1f': case '\x26': case '\x27': case '\x2d':
                                            ^
c-ctype.c:86:15: error: duplicate case value
     case ',': case '-': case '.': case '/':
               ^
c-ctype.c:79:57: error: previously used here
     case '\x1e': case '\x1f': case '\x26': case '\x27': case '\x2d':
                                                         ^
c-ctype.c:86:25: error: duplicate case value
     case ',': case '-': case '.': case '/':
                         ^
c-ctype.c:80:5: error: previously used here
     case '\x2e': case '\x2f': case '\x32': case '\x37': case '\x3c':
     ^
c-ctype.c:86:35: error: duplicate case value
     case ',': case '-': case '.': case '/':
                                   ^
c-ctype.c:80:18: error: previously used here
     case '\x2e': case '\x2f': case '\x32': case '\x37': case '\x3c':
                  ^
c-ctype.c:87:25: error: duplicate case value
     case '0': case '1': case '2': case '3': case '4': case '5':
                         ^
c-ctype.c:80:31: error: previously used here
     case '\x2e': case '\x2f': case '\x32': case '\x37': case '\x3c':
                               ^
c-ctype.c:88:15: error: duplicate case value
     case '6': case '7': case '8': case '9':
               ^
c-ctype.c:80:44: error: previously used here
     case '\x2e': case '\x2f': case '\x32': case '\x37': case '\x3c':
                                            ^
c-ctype.c:89:25: error: duplicate case value
     case ':': case ';': case '<': case '=': case '>': case '?':
                         ^
c-ctype.c:80:57: error: previously used here
     case '\x2e': case '\x2f': case '\x32': case '\x37': case '\x3c':
                                                         ^
c-ctype.c:89:35: error: duplicate case value
     case ':': case ';': case '<': case '=': case '>': case '?':
                                   ^
c-ctype.c:81:5: error: previously used here
     case '\x3d': case '\x3f': case '\xff':
     ^
c-ctype.c:89:55: error: duplicate case value
     case ':': case ';': case '<': case '=': case '>': case '?':
                                                       ^
c-ctype.c:81:18: error: previously used here
     case '\x3d': case '\x3f': case '\xff':
                  ^
aarch64-wrs-linux-libtool: compile:  aarch64-wrs-linux-gcc --sysroot=/home/wrlbuild/builds/builds-2015-09-23-070550-8q7y/qemuarm64_world_bp/bitbake_build/tmp/sysroots/qemuarm64 -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -c glthread/lock.c  -fPIC -DPIC -o .libs/lock.o
aarch64-wrs-linux-libtool: compile:  aarch64-wrs-linux-gcc --sysroot=/home/wrlbuild/builds/builds-2015-09-23-070550-8q7y/qemuarm64_world_bp/bitbake_build/tmp/sysroots/qemuarm64 -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -c sockets.c  -fPIC -DPIC -o .libs/sockets.o
Makefile:1435: recipe for target 'c-ctype.lo' failed


WRAXL logs:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=qemuarm64_world_bp-netcf_git-2015-09-23-083720

NOTE: This seems to be happening on many different builders so should not be specific to the builder OS.

Steps to Reproduce

Configure and build:
--enable-board=qemuarm64 --enable-rootfs=glibc-std-sato --enable-kernel=standard --with-layer=meta-selinux --enable-unsupported-host=i686 --enable-build=profiling --with-template=feature/analysis --enable-parallel-pkgbuilds=20 --enable-jobs=10 --enable-patchresolve=noop --enable-buildstats=yes --enable-bootimage=noimage

Other Downloads


Live chat
Online