-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[v624] gcc12's regex header file relies on a std::vector<int> instance, expo… #11574
[v624] gcc12's regex header file relies on a std::vector<int> instance, expo… #11574
Conversation
…rt it. The C++ modules marks the std::vector<int> instantiation as not visible because it came from the `regex` header file which we did not explicitly include. root-project/root@a785402 introduces checks if certain declaration is visible in dictionary generation time which was intending to semantically improve the coherence by what the user "allowed" (or requested) rootcling to see vs what it can see globally. While this model works well it seems to not work for template instantiations as they won't be re-instantiated with visible modifier. This patch works around the current issue seen with libstdc++ 12 but a better solution would be to implement a finer grained control over the implicit template instatiations when generating a dictionary. Fixes root-project#11329
Starting build on |
Build failed on windows10/cxx14. Errors:
And 9 more |
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
@phsft-bot build! |
Starting build on |
Build failed on mac12/noimt. Errors:
|
Build failed on ROOT-performance-centos8-multicore/cxx17. Failing tests: |
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
@phsft-bot build! |
Starting build on |
Build failed on mac12/noimt. Errors:
|
Build failed on windows10/cxx14. Errors:
And 126 more |
Build failed on ROOT-performance-centos8-multicore/cxx17. Failing tests: |
Build failed on ROOT-ubuntu2004/python3. Failing tests:
|
@Axel-Naumann, what should we do - these failures seem unrelated... |
will we merge this PR now that v632 is approaching? |
I have not seen complaints and we are far ahead in releases. Let’s not bother. |
I close it following @vgvassilev 's observation, feel free to re-open if this becomes a problem |
…rt it.
The C++ modules marks the std::vector instantiation as not visible because it came from the
regex
header file which we did not explicitly include.a785402 introduces checks if certain declaration is visible in dictionary generation time which was intending to semantically improve the coherence by what the user "allowed" (or requested) rootcling to see vs what it can see globally. While this model works well it seems to not work for template instantiations as they won't be re-instantiated with visible modifier.
This patch works around the current issue seen with libstdc++ 12 but a better solution would be to implement a finer grained control over the implicit template instatiations when generating a dictionary.
Fixes #11329