Re: [vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-03 Thread 2201kamaljeet
Thanks for the frequent reply.

Hi Benoit,
I am using GCC version 8.5.0 20210514 (Red Hat 8.5.0-17) (GCC) which is 
upgraded and has the above errors.
How it can be fixed?

Regards,
Kamaljeet

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22404): https://lists.fd.io/g/vpp-dev/message/22404
Mute This Topic: https://lists.fd.io/mt/96024389/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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
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;
^~~
Regards,
Kamaljeet

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22401): https://lists.fd.io/g/vpp-dev/message/22401
Mute This Topic: https://lists.fd.io/mt/96024389/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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
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;
^~~

Regards,
Kamaljeet

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22400): https://lists.fd.io/g/vpp-dev/message/22400
Mute This Topic: https://lists.fd.io/mt/96024370/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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Unable to run make pkg-rpm with Sanitizer enable.

2023-01-02 Thread 2201kamaljeet
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]
-=-=-=-=-=-=-=-=-=-=-=-