* [dpdk-test-report] |FAILURE| pw(98974) sid(18955) job(PER_PATCH_BUILD7888)[v2] Enable AddressSanitizer feature on DPDK
@ 2021-09-16 16:04 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2021-09-16 16:04 UTC (permalink / raw)
To: test-report, zhihongx.peng
[-- Attachment #1: Type: text/plain, Size: 24858 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/98974
_Compilation issues_
Submitter: Peng, ZhihongX <zhihongx.peng@intel.com>
Date: 2021-09-16 01:38:43
Reply_mail: 20210916013843.342366-1-zhihongx.peng@intel.com
DPDK git baseline: Repo:dpdk, CommitID: 8ef09fdc506b76d505d90e064d1f73533388b640
Meson Build Summary: 22 Builds Done, 17 Successful, 5 Failures, 0 Blocked
+----------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64 | fail | pass | pass | | | fail |
| RHEL83-64 | pass | pass | pass | pass | pass | |
| FC34-64 | fail | pass | | | | |
| UB2104-64 | fail | | | | | |
| WIN10-64 | | pass | | | | |
| UB2004-32 | fail | | | | | |
| CENTOS83-64 | pass | pass | | | | |
| FreeBSD1201-64 | pass | pass | | pass | pass | |
| SUSE15-64 | pass | pass | | | | |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: RHEL83-64
Kernel Version: 4.18.0-305.3.1.el8.x86_64
GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-icc
OS: FC34-64
Kernel Version: 5.11.15-300.fc34.x86_64
GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2104-64
Kernel Version: 5.11.0-16-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
Clang Version: 12.0.0-1ubuntu1
x86_64-native-linuxapp-gcc
OS: WIN10-64
Kernel Version: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: UB2004-32
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: CENTOS83-64
Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.3.18-lp152.57-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 9.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:27:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
27 | p[9] = 'a';
| ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:22:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
22 | char *p = rte_zmalloc(NULL, malloc_size, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2247/2440] Compiling C object app/test/dpdk-test.p/test_asan_use_after_free.c.o
[2248/2440] Compiling C object app/test/dpdk-test.p/test_telemetry_json.c.o
[2249/2440] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2250/2440] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2251/2440] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2252/2440] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2253/2440] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2254/2440] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2255/2440] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped
*Build Failed #2:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:27:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
27 | p[9] = 'a';
| ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:22:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
22 | char *p = rte_zmalloc(NULL, malloc_size, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2827/3066] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2828/3066] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2829/3066] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2830/3066] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2831/3066] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2832/3066] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2833/3066] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2834/3066] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2835/3066] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #3:
OS: UB2104-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:27:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
27 | p[9] = 'a';
| ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:22:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
22 | char *p = rte_zmalloc(NULL, malloc_size, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2843/3080] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2844/3080] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2845/3080] Compiling C object app/test/dpdk-test.p/test_thash.c.o
[2846/3080] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2847/3080] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2848/3080] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2849/3080] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2850/3080] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2851/3080] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #4:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: app/test/3062f5d@@dpdk-test@exe/test_asan_heap_buffer_overflow.c.o
gcc -Iapp/test/3062f5d@@dpdk-test@exe -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/metrics -I../lib/metrics -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test@exe/test_asan_heap_buffer_overflow.c.o' -MF 'app/test/3062f5d@@dpdk-test@exe/test_asan_heap_buffer_overflow.c.o.d' -o 'app/test/3062f5d@@dpdk-test@exe/test_asan_heap_buffer_overflow.c.o' -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:27:7: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
27 | p[9] = 'a';
| ~~~~~^~~~~
../app/test/test_asan_heap_buffer_overflow.c:22:12: note: at offset 9 to an object with size 9 allocated by ‘rte_zmalloc’ here
22 | char *p = rte_zmalloc(NULL, malloc_size, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2612/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_telemetry_json.c.o'.
[2613/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_timer_secondary.c.o'.
[2614/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_table_combined.c.o'.
[2615/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/virtual_pmd.c.o'.
[2616/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'.
[2617/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_trace_perf.c.o'.
[2618/2658] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'.
[2619/2658] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'.
[2620/2658] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'.
ninja: build stopped
*Build Failed #5:
OS: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/kni -I../lib/kni -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Ilib/compressdev -I../lib/compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -MF app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o.d -o app/test/dpdk-test.p/test_asan_heap_buffer_overflow.c.o -c ../app/test/test_asan_heap_buffer_overflow.c
../app/test/test_asan_heap_buffer_overflow.c: In function ‘asan_heap_buffer_overflow’:
../app/test/test_asan_heap_buffer_overflow.c:27:10: error: array subscript 9 is outside array bounds of ‘char[9]’ [-Werror=array-bounds]
27 | p[9] = 'a';
| ~^~~
../app/test/test_asan_heap_buffer_overflow.c:22:19: note: referencing an object of size 9 allocated by ‘rte_zmalloc’
22 | char *p = rte_zmalloc(NULL, malloc_size, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2808/3045] Compiling C object app/test/dpdk-test.p/test_asan_use_after_free.c.o
[2809/3045] Compiling C object app/test/dpdk-test.p/test_telemetry_json.c.o
[2810/3045] Compiling C object app/test/dpdk-test.p/test_timer_secondary.c.o
[2811/3045] Compiling C object app/test/dpdk-test.p/test_table_combined.c.o
[2812/3045] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2813/3045] Compiling C object app/test/dpdk-test.p/virtual_pmd.c.o
[2814/3045] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2815/3045] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2816/3045] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2817/3045] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2818/3045] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-16 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 16:04 [dpdk-test-report] |FAILURE| pw(98974) sid(18955) job(PER_PATCH_BUILD7888)[v2] Enable AddressSanitizer feature on DPDK sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).