Wind River Support Network

HomeDefectsLIN6-8569
Fixed

LIN6-8569 : toolchain 4.8-38 uses a more aggressive analysis for the number of iterations of loops

Created: Oct 15, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 20, 2014
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Toolchain

Description

project properties
ERROR: Function failed: do_compile (log file is located at /toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/temp/do_compile/log.do_compile.3926)
ERROR: Logfile of failure stored in: /toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/temp/do_compile/log.do_compile.3926
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 10
| make  all-recursive
| make[1]: Entering directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15'
| Making all in doc
| make[2]: Entering directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15/doc'
| make  all-am
| make[3]: Entering directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15/doc'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15/doc'
| make[2]: Leaving directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15/doc'
| make[2]: Entering directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15'
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-hash.o `test -f 'hash.c' || echo './'`hash.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-slabs.o `test -f 'slabs.c' || echo './'`slabs.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-items.o `test -f 'items.c' || echo './'`items.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-assoc.o `test -f 'assoc.c' || echo './'`assoc.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-thread.o `test -f 'thread.c' || echo './'`thread.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-daemon.o `test -f 'daemon.c' || echo './'`daemon.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-stats.o `test -f 'stats.c' || echo './'`stats.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-util.o `test -f 'util.c' || echo './'`util.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG   -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached-cache.o `test -f 'cache.c' || echo './'`cache.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-hash.o `test -f 'hash.c' || echo './'`hash.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-slabs.o `test -f 'slabs.c' || echo './'`slabs.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-items.o `test -f 'items.c' || echo './'`items.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-assoc.o `test -f 'assoc.c' || echo './'`assoc.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-thread.o `test -f 'thread.c' || echo './'`thread.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-daemon.o `test -f 'daemon.c' || echo './'`daemon.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-stats.o `test -f 'stats.c' || echo './'`stats.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-util.o `test -f 'util.c' || echo './'`util.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o memcached_debug-cache.o `test -f 'cache.c' || echo './'`cache.c
| x86_64-wrs-linux-gcc  -m64  --sysroot=/toolchain/wrokshop/verify-dir/bitbake_build/tmp/sysroots/qemux86-64 -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -pipe -g -feliminate-unused-debug-types -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c sizes.c
| memcached.c: In function 'grow_stats_buf':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| memcached.c: In function 'bin_read_key':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| memcached.c: In function 'event_handler':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| cc1: all warnings being treated as errors
| make[2]: *** [memcached_debug-memcached.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| assoc.c: In function 'assoc_find':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| assoc.c: In function 'assoc_delete':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| cc1: all warnings being treated as errors
| make[2]: *** [memcached_debug-assoc.o] Error 1
| items.c: In function 'do_item_stats_sizes':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| stats.c: In function 'stats_prefix_find':
| cc1: error: the final iteration invokes undefined behavior [-Werror=aggressive-loop-optimizations]
| cc1: note: containing loop
| cc1: all warnings being treated as errors
| make[2]: *** [memcached_debug-items.o] Error 1
| cc1: all warnings being treated as errors
| make[2]: *** [memcached_debug-stats.o] Error 1
| make[2]: Leaving directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/memcached-1.4.15'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/temp/do_compile/run.do_compile.3926:137 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /toolchain/wrokshop/verify-dir/bitbake_build/tmp/work/x86_64-wrs-linux/memcached/1.4.15-r0/temp/do_compile/log.do_compile.3926)
ERROR: Task 6 (/toolchain/wrokshop/verify-dir/layers/meta-networking/recipes-support/memcached/memcached_1.4.15.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 449 tasks of whic

Other Downloads


Live chat
Online