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
Bug fix so will compile -O0 -g #9725
Conversation
Fix so that TrackingLayer will compile with -O0 0g flags.
A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_5_X. Bug fix so will compile -O0 -g It involves the following packages: FastSimulation/Tracking @cmsbuild, @ssekmen, @civanch, @mdhildreth, @lveldere can you please review it and eventually sign? Thanks. |
please test |
Hi David Would you mind explaining me what this new line actually does? Thanks Lukas |
The tests are being triggered in jenkins. |
Hi. There is a static data member of the class TrackingLayer that /build/wdd/reldebugbuild/CMSSW_7_5_X_2015-06-20-1100/src/FastSimulation/Tracking/interface/TrackingLayer.h:92: undefined reference to `TrackingLayer::_eqfct' Finally, the error only shows up when the -O0 -g options are passed to the |
Thanks you.
|
It depends on how
It's not odr-used IIUC. |
+1 thanks |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs once checked with relvals in the development release cycle of CMSSW (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
Bug fix so will compile -O0 -g
_hashfct is not a problem because it is only used in one inline function and the inline function that uses it is never called. It is not odr used, because it is not used at all. I suspect if it did get used in a part of the code that was compiled it would also be a problem, although these rules are complex enough I could be wrong. I did not test this. I did not fix that one simply because I did not notice it, the compiler did not give an error. |
Fix so that TrackingLayer will compile
with -O0 0g flags.