Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-09 Thread chetan bhasin
Thanks Benoit for the clarification of compilation issue. I will try with gcc8. Thanks and Regards, Chetan Bhasin On Thu, Jan 9, 2020 at 7:04 PM Benoit Ganne (bganne) wrote: > Hi, > > > I have tried with GCC (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) > > (GCC)) , but still facing the compil

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-09 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi, > I have tried with GCC (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) > (GCC)) , but still facing the compilation error. I just reproduced the issue with GCC-7 for release builds, however GCC-8 and GCC-9 works fine. If possible, please use GCC-8 for that: ~# yum install devtoolset-8-libasa

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-08 Thread chetan bhasin
Hi Benoit, Thank you for your response. I have tried with GCC (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)) , but still facing the compilation error. Another issue I am facing while bringing up debug sanitized build in api #5 0x2bca8a33 in VL_MSG_API_POISON (a=0x2aaab988ed90)

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-08 Thread Benoit Ganne (bganne) via Lists.Fd.Io
>>> While working with Address sanitizer I am facing compilation >>> error in vpp >> Can you share on which sha1 you are, which distro and which >> compiler and compiler version? > gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) Outch... Your problem is right there: gcc-4 is too old. Address S

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-07 Thread chetan bhasin
+ 1) make build-release (Issue is coming while compilation) 2) make build (Compilation successful.) On Wed, Jan 8, 2020 at 10:19 AM chetan bhasin wrote: > Hi Benoit, > > Please find the details as below : > > 1) As per git log , last check-in is : > commit 22e108d9a94a9ccc0c31c2479

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-07 Thread chetan bhasin
Hi Benoit, Please find the details as below : 1) As per git log , last check-in is : commit 22e108d9a94a9ccc0c31c2479740c57cf2a09126 Author: Ole Troan Date: Tue Jan 7 09:30:05 2020 +0100 Change-Id: I8bd6bb95135dc280565f357aa5850292f66979a1

Re: [vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-07 Thread Benoit Ganne (bganne) via Lists.Fd.Io
> While working with Address sanitizer I am facing compilation error in vpp > master branch. Can you share on which sha1 you are, which distro and which compiler and compiler version? Ben -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15084): htt

[vpp-dev] Compilation failure in master branch after enabling ENABLE_SANITIZE_ADDR

2020-01-07 Thread chetan bhasin
Hello Everyone, While working with Address sanitizer I am facing compilation error in vpp master branch. Can anybody guide me please . vpp/src/vppinfra/dlmalloc.c:8: vpp/src/vppinfra/dlmalloc.c: In function ‘mspace_get_aligned’: vpp/src/vppinfra/clib.h:226:1: error: inlining failed in call to al