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

Gcc7 issues #457

Merged
merged 2 commits into from
Feb 6, 2017
Merged

Gcc7 issues #457

merged 2 commits into from
Feb 6, 2017

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Feb 6, 2017

Here are two issues I found while extracting the gcc 7 fixes from git.

  1. The compilation fails where logical not is used instead if bitwise not in XrdClient.cc
  2. In XrdSecProtocolpwd.cc the if statements added to replace the fall though doesn't actually fall through.

@ellert ellert mentioned this pull request Feb 6, 2017
@davidlt
Copy link

davidlt commented Feb 6, 2017

XrdClient will be deprecated. They are not fixing on purpose. They will remove/disable it from default build before cutting 4.6 release.

@ellert
Copy link
Contributor Author

ellert commented Feb 6, 2017

There is other software, such as gfal and parts of root, that use the old client library. So removing it completely would be very disruptive. Disabling it in the default build while having a configuration option to enable it is OK, but removing the code from the sources or on purpose make it un-compilable I think would be a bad idea.
Backward incompatible changes like the complete removal of a library usually happens for major releases, not minor.

@simonmichal
Copy link
Contributor

Indeed, when we were planning with Andy to remove the old client completely we didn't realized that the old client has some public header files, etc. So yes, Mattias is right.

@ellert you're also right about the fall through, good catch!!! Thanks!

@simonmichal simonmichal merged commit 57d5687 into xrootd:master Feb 6, 2017
@ljanyst
Copy link
Contributor

ljanyst commented Feb 6, 2017

Just to add my two cents here. We announced the intention to drop the old client some six years ago and officially deprecated it on Jun 5th, 2014. That's a lot of time for people to move on. AFAIR, the parts of ROOT that depend on the old client are redundant, not used for years now and can be disabled. There was the same resistance to dropping the proprietary makefiles and autotools builds. Sometimes you just need to make a cut.

Lukasz

@ljanyst
Copy link
Contributor

ljanyst commented Feb 6, 2017

I also vaguely recall working with Alejandro to port GFAL to the new client circa beginning of 2014, so probably that's not a problem either.

@simonmichal
Copy link
Contributor

Thanks for your feedback! :-)

@ljanyst
Copy link
Contributor

ljanyst commented Feb 7, 2017

No problem. Make sure you double check though. Have a special look at PROOF.

@davidlt
Copy link

davidlt commented Feb 7, 2017

Have you modified XrdClient to include various deprecated attributes and #warning to be verbose as possible about it? Could you also share a list of deprecated headers, which I could use to cross-check who might be using them? Mainly I want to check CMSSW.

@ellert ellert deleted the gcc7-issues branch February 8, 2017 10:38
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.

None yet

4 participants