Hi All, I want to build and *make pkg-rpm with Address sanitizer=ON on CentOS Stream release 8*
While compiling it is working fine with this command : make build VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON, and also showing that address sanitizer(flag) is enabled. But, when while doing make pkg-rpm with the command : make pkg-rpm VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON It is producing the below error: home/usr/vpp/build-root/rpmbuild/vpp-23.02/src/vppinfra/vec_bootstrap.h: *In function 'vec_header':* /home/usr/vpp/build-root/rpmbuild/vpp-23.02/src/vppinfra/vec_bootstrap.h:90:1: *error: inlining failed in call to always_inline 'vec_get_header_size': function attribute mismatch* vec_get_header_size (void *v) ^~~~~~~~~~~~~~~~~~~ /home/usr/vpp/build-root/rpmbuild/vpp-23.02/src/vppinfra/vec_bootstrap.h:105:18: note: called from here return v ? v - vec_get_header_size (v) : 0; ^~~~~~~~~~~~~~~~~~~~~~~
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22399): https://lists.fd.io/g/vpp-dev/message/22399 Mute This Topic: https://lists.fd.io/mt/96024358/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-