[201811][dhcp] enable building dhcpmon and dhcp6relay debug symbols#9959
Merged
yxieca merged 3 commits intosonic-net:201811from Feb 11, 2022
Merged
[201811][dhcp] enable building dhcpmon and dhcp6relay debug symbols#9959yxieca merged 3 commits intosonic-net:201811from
yxieca merged 3 commits intosonic-net:201811from
Conversation
…#9013) This makes it possible to install the debug symbols if needed. Also install the package into the debug version of sonic-dhcp-relay container. Signed-off-by: Saikrishna Arcot <[email protected]>
…#9862) Enable dbgsym package for dhcpmon. Allow CFLAGS and LDFLAGS from environment variables to be used in the dhcp6relay build. This makes sure that the -O2 flag from dpkg-buildflags gets used. Finally, enable all hardening flags in dpkg-buildflags for dhcp6relay and dhcpmon. The change from the default set of flags is that during linking, immediate binding of symbols is done instead of lazy binding. Signed-off-by: Saikrishna Arcot <[email protected]>
Signed-off-by: Ying Xie <[email protected]>
saiarcot895
approved these changes
Feb 11, 2022
kellyyeh
approved these changes
Feb 11, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
dhcpmon and dhcp6relay debug symbols are not built for 201811 branch
How I did it
Cherry-pick #9013 and #9862, then made changes to fit 201811/Jessie.
How to verify it
Run dhcp6 relay tests.