Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[buildimage][master] fix enable SONIC_DEBUG_ON compiling error #6031

Closed

Conversation

tim-rj
Copy link
Contributor

@tim-rj tim-rj commented Nov 25, 2020

Signed-off-by: tim-rj sonic_rd@ruijie.com.cn

- Why I did it
fix #5982
- How I did it
check dbgsym debs exist on folder before move to target/debs/xxx
- How to verify it
set SONIC_DEBUG_ON=y and compile the whole image

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

  • 201811
  • 201911
  • 202006

- Description for the changelog

If SONIC_DEBUG_ON or SONIC_PROFILING_ON set to y, no dbgsym debs will trip from the origin deb, so mv dbgsym deb to some other folders will fail and compiling will stop.

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

Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
@tim-rj
Copy link
Contributor Author

tim-rj commented Nov 26, 2020

seems has some problem, will add one more commit.

Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
@tim-rj
Copy link
Contributor Author

tim-rj commented Nov 27, 2020

will create new pr to optimize patches soon, no need to review this one.

@tim-rj
Copy link
Contributor Author

tim-rj commented Nov 29, 2020

mv to new pr #6058, close this one

@tim-rj tim-rj closed this Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[build] [debug] [201911] compile failed when enable SONIC_DEBUGGING_ON or SONIC_PROFILING_ON
1 participant