Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUILD] Fixes glibc++ 5 checking #3355

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

Merged
merged 4 commits into from
Apr 29, 2025
Merged

Conversation

owent
Copy link
Member

@owent owent commented Apr 9, 2025

Fixes #3354

Changes

Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for opentelemetry-cpp-api-docs canceled.

Name Link
🔨 Latest commit c510a4a
🔍 Latest deploy log https://app.netlify.com/sites/opentelemetry-cpp-api-docs/deploys/6810414bee9ddb00081d304b

Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.69%. Comparing base (7801cd9) to head (c510a4a).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3355      +/-   ##
==========================================
+ Coverage   89.67%   89.69%   +0.02%     
==========================================
  Files         211      211              
  Lines        6832     6832              
==========================================
+ Hits         6126     6127       +1     
+ Misses        706      705       -1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@agrawroh agrawroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue we observed in Envoy while bumping up to v1.20. Thanks!

Copy link
Contributor

@dbarker dbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks. Thanks for testing @agrawroh

@lalitb
Copy link
Member

lalitb commented Apr 28, 2025

The PR looks good overall!
Just one small suggestion — instead of deleting config.h, should we move these changes there?
config.h is a public header, and some users might still have a dependency on it (directly or indirectly).

@ThomsonTan
Copy link
Contributor

looks good overall!
Just one small suggestion — instead of deleting config.h, should we move these changes there?
config.h is a public header, and some users might still have a dependency on it (directly or indirectly).

Is the original file name also kind of misleading, because the config.h is usually used to store the status of configuration process? If so, probably it is a good time to remove it then it will not conflict the name if we add it later.

@lalitb
Copy link
Member

lalitb commented Apr 28, 2025

Is the original file name also kind of misleading, because the config.h is usually used to store the status of configuration process? If so, probably it is a good time to remove it then it will not conflict the name if we add it later.

I see your point about the naming — agree that config.h could have been better named originally.

However, since config.h is already part of the public API in stable release, removing it would technically be a breaking change for downstream users. Even if it was meant to be used internally, we never documented that. I would recommend keeping config.h for now, even if it's mostly empty, and cleaning it up properly in separate PR as part of ABIv2.

@owent
Copy link
Member Author

owent commented Apr 29, 2025

Is the original file name also kind of misleading, because the config.h is usually used to store the status of configuration process? If so, probably it is a good time to remove it then it will not conflict the name if we add it later.

I see your point about the naming — agree that config.h could have been better named originally.

However, since config.h is already part of the public API in stable release, removing it would technically be a breaking change for downstream users. Even if it was meant to be used internally, we never documented that. I would recommend keeping config.h for now, even if it's mostly empty, and cleaning it up properly in separate PR as part of ABIv2.

Good point, I restore config.h, but only add error message for ABI v2 and warning messages for v1. How do you think about it?

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@lalitb lalitb merged commit 9fd8511 into open-telemetry:main Apr 29, 2025
65 of 66 checks passed
@owent owent deleted the fixes_3354 branch May 22, 2025 03:20
@marcalff marcalff changed the title Fixes glibc++ 5 checking [BUILD] Fixes glibc++ 5 checking May 26, 2025
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.

1.20 no longer builds due to deprecated stuff being activated (solution suggestion included)
5 participants