[MacPorts] #40238: ROOT Update to fix C++11 and gfortran issues
#40238: ROOT Update to fix C++11 and gfortran issues ---------------------------------+-------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: haspatch maintainer | Port: root ---------------------------------+-------------------------------- Small update that fixes a couple of issues ticket:40226 ticket:39975 Chris -- Ticket URL: <https://trac.macports.org/ticket/40238> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by ryandesign@…): Why add a cxx11 variant? Under what circumstances should the user select or deselect this? Does this variant work on all OS X versions MacPorts runs on? -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by jonesc@…): I provide a variant for the same reason as providing various different gcc and clang vesions. ROOT provides an interactive build environment, and thus the USER might have a particular reason to select a certain compiler. In the same way the user might not want to enabled c++11 in that in build environment, and as this environment is defined by the compiler used to build ROOT, a variant is needed to turn it off if required. I can only test on OSX10.8, nothing older, as I do not have access to those OSes. On OSX10.8 though, the variant works fine enabled with all the compilers I can test. For those that do not support c++11, the features are just disabled automatically. If someone else wants to check on older OSX versions, that would be great. Chris -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: wontfix | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => wontfix Comment: Replying to [comment:2 jonesc@…]:
I provide a variant for the same reason as providing various different gcc and clang vesions. ROOT provides an interactive build environment, and thus the USER might have a particular reason to select a certain compiler.
Those variants allow the user to shoot themselves in the foot. We should remove them for the same reason we should not have this variant. -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: wontfix | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by jonesc@…): I understand the issues with the gcc variants, so if the idea is now these should be removed from all ports, thats fine with me. But, are you also saying there is an issue enabling c++11 support with the MacPorts clang compilers, or the system ones, where supported (actually, do any of them support c++11). Should the clang variants also be removed, I thought the issues that affect the gcc compilers didn't affect these ? Chris -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: wontfix | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by jeremyhu@…): Replying to [comment:4 jonesc@…]:
I understand the issues with the gcc variants, so if the idea is now these should be removed from all ports, thats fine with me.
But, are you also saying there is an issue enabling c++11 support with the MacPorts clang compilers, or the system ones, where supported (actually, do any of them support c++11). Should the clang variants also be removed, I thought the issues that affect the gcc compilers didn't affect these ?
I'm sure that the C++ support works great when using the Macports clang++ compilers along with the host libc++. The problem is that other ports will be using libstdc++. They will end up being incompatible with the C++11 variant of this port. If we want to support C++11 on Mountain Lion and earlier, we need to have a flag day where all of our C++ ports start using libc++ instead of libstdc++. That is going to be very messy, and I don't see it happening in 2013. -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: wontfix | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by jonesc@…): So enabling c++11 support in ROOT is there OK, as long as we have removed the gcc variants, as the system compilers and the Macports clang compilers, all use libc++ and not libstdc++ ? Or am I still missing something .... ;) cheers Chris -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40238: ROOT Update to fix C++11 and gfortran issues -----------------------+--------------------------------- Reporter: jonesc@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: wontfix | Keywords: haspatch maintainer Port: root | -----------------------+--------------------------------- Comment (by jonesc@…): Forget my last post. I think i belatedly got what you are saying ... -- Ticket URL: <https://trac.macports.org/ticket/40238#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts