Hi list,

Could you please advice a simple way to get VPP deb packages with all debug
info?
I am trying this change:
diff --git a/build-data/platforms/vpp_lite.mk b/build-data/platforms/
vpp_lite.mk
index 81ba90d..f9ee550 100644
--- a/build-data/platforms/vpp_lite.mk
+++ b/build-data/platforms/vpp_lite.mk
@@ -39,9 +39,9 @@ vpp_lite_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG
-DFORTIFY_SOURCE=2 -march=$(MARC
 vpp_lite_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2
-march=$(MARCH) \
        -fstack-protector-all -fPIC -Werror

-vpp_lite_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH)
-mtune=$(MTUNE) \
+vpp_lite_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG  -DFORTIFY_SOURCE=2
-march=$(MARCH) \
        -fstack-protector -fPIC -Werror
-vpp_lite_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH)
-mtune=$(MTUNE) \
+vpp_lite_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2
-march=$(MARCH) \
        -fstack-protector -fPIC -Werror

 vpp_lite_gcov_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -march=$(MARCH) \

But still see that all linking tasks are done with -O2.
My target platform is vpp_lite, this is not a mistake.

Thanks a lot for any help.

Dmitry
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to