Skip to content

Fix debug package variables for syncd#18319

Merged
yxieca merged 2 commits intosonic-net:masterfrom
saiarcot895:fix-syncd-dbg-packages
Mar 19, 2024
Merged

Fix debug package variables for syncd#18319
yxieca merged 2 commits intosonic-net:masterfrom
saiarcot895:fix-syncd-dbg-packages

Conversation

@saiarcot895
Copy link
Copy Markdown
Contributor

Why I did it

PR #16072 renamed the debug package variables from *_DBG to *_DBGSYM, since the package names had changed. However, the references weren't updated. Since all the other debug packages (including ones that are named *-dbgsym) use *_DBG, just use that here as well.

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

PR sonic-net#16072 renamed the debug package variables from `*_DBG` to
`*_DBGSYM`, since the package names had changed. However, the references
weren't updated. Since all the other debug packages (including ones that
are named `*-dbgsym`) use `*_DBG`, just use that here as well.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@k-v1
Copy link
Copy Markdown
Contributor

k-v1 commented Mar 11, 2024

@saiarcot895
Also need fix libs in rules/sairedis.mk

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@saiarcot895
Copy link
Copy Markdown
Contributor Author

@k-v1 fixed, thanks!

@dgsudharsan
Copy link
Copy Markdown
Collaborator

dgsudharsan commented Mar 19, 2024

@yxieca @saiarcot895 This PR is important without which we are missing debug symbols with ASAN. Can you please prioritize this?

@yxieca yxieca merged commit 53d8b1a into sonic-net:master Mar 19, 2024
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Mar 19, 2024
* Fix debug package variables for syncd

PR sonic-net#16072 renamed the debug package variables from `*_DBG` to
`*_DBGSYM`, since the package names had changed. However, the references
weren't updated. Since all the other debug packages (including ones that
are named `*-dbgsym`) use `*_DBG`, just use that here as well.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

* Update sairedis.mk as well

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

---------

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202311: #18394

mssonicbld pushed a commit that referenced this pull request Mar 19, 2024
* Fix debug package variables for syncd

PR #16072 renamed the debug package variables from `*_DBG` to
`*_DBGSYM`, since the package names had changed. However, the references
weren't updated. Since all the other debug packages (including ones that
are named `*-dbgsym`) use `*_DBG`, just use that here as well.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

* Update sairedis.mk as well

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

---------

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@saiarcot895 saiarcot895 deleted the fix-syncd-dbg-packages branch March 29, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants