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

Address runtime warnings on xeus-cpp-lite while building with assertions #250

Open
anutosh491 opened this issue Feb 3, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@anutosh491
Copy link
Collaborator

If xeus-cpp-lite is built with debug flags or a combination of them like (-O0 -g -s ASSERTIONS=2 -fsanitize=address)

Image

There are warnings for duplicate symbols or something.

Look into this and try getting rid of it !

@anutosh491 anutosh491 added the bug Something isn't working label Feb 3, 2025
@github-actions github-actions bot added the Needs triage Used in auto labelling of new issues label Feb 3, 2025
@anutosh491 anutosh491 removed the Needs triage Used in auto labelling of new issues label Feb 3, 2025
@kr-2003
Copy link
Contributor

kr-2003 commented Feb 24, 2025

Does passing -Wl,--allow-multiple-definition while building be a good approach to go with? I think this is only a temporary solution and can sometimes result in inconsistencies and undefined behaviour.

@anutosh491
Copy link
Collaborator Author

Where would you be adding it ?

Here are some questions

  1. What is the pool of symbols that are being duplicated ? And from where (as in what is source_1 and source_2 and other sources from where these symbols are being duplicated)

@kr-2003
Copy link
Contributor

kr-2003 commented Feb 24, 2025

Where would you be adding it ?

Here are some questions

  1. What is the pool of symbols that are being duplicated ? And from where (as in what is source_1 and source_2 and other sources from where these symbols are being duplicated)

Working on it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants