Re: Macports Clang 3.9 compilation failures due to missing include

2017-10-01 Thread Mojca Miklavec
On 28 September 2017 at 17:05, Chris Jones wrote: > On 28/09/17 16:02, Mojca Miklavec wrote: >> On 28 September 2017 at 16:57, Chris Jones wrote: >>> >>> Hi, >>> >>> Thanks. In fact I tried adding >>> >>> PortGroup cxx11 1.1 >>> >>> but that gave me the error below. Presumably I am missio

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Chris Jones
Hi Ken, Thanks for your useful comments. I am sure you are right and I can clean things up a bit. See as the portfile is now committed and working, I’ll put this on the todo list for when i next update the port due to a version update... Its great to have this available, with it I have been abl

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Ken Cunningham
Hi Chris, Looking over the xrootd commit, and to hopefully make your life much easier when using the PortGroup cxx11 1.1, you generally don't need to do much of anything beyond adding the PortGroup. You can pretty much expect to delete all the other compiler selection components in your Portfil

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Mojca Miklavec
On 28 September 2017 at 17:05, Chris Jones wrote: > >> You need the variant +libstdcxx and clang-4.0 has that one enabled by >> default, while 3.9 doesn't. > > OK thanks. One of the ports I am interested in fixing will not compile with > clang 4.0 though. Is there a why to do this with 3.9 as well

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Chris Jones
On 28/09/17 16:02, Mojca Miklavec wrote: On 28 September 2017 at 16:57, Chris Jones wrote: Hi, Thanks. In fact I tried adding PortGroup cxx11 1.1 but that gave me the error below. Presumably I am missiong something else ? clang: error: invalid library name in argument '-stdli

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Mojca Miklavec
On 28 September 2017 at 16:57, Chris Jones wrote: > Hi, > > Thanks. In fact I tried adding > > PortGroup cxx11 1.1 > > but that gave me the error below. Presumably I am missiong something else ? > > clang: error: invalid library name in argument > '-stdlib=macports-libstdc++' This mea

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Chris Jones
Hi, Thanks. In fact I tried adding PortGroup cxx11 1.1 but that gave me the error below. Presumably I am missiong something else ? cheers Chris -- Check for working CXX compiler: /opt/local/bin/clang++-mp-3.9 -- Check for working CXX compiler: /opt/local/bin/clang++-mp-3.9 -- broke

Re: Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Mojca Miklavec
Dear Chris, On 28 September 2017 at 16:48, Chris Jones wrote: > Hi All, > > I am investigating some build failures, with port that are being built with > macports clang 3.9 What I am seeing is on some older systems, OSX10.(6,7,8) > failures like > > fatal error: 'atomic' file not found > #include

Macports Clang 3.9 compilation failures due to missing include

2017-09-28 Thread Chris Jones
Hi All, I am investigating some build failures, with port that are being built with macports clang 3.9 What I am seeing is on some older systems, OSX10.(6,7,8) failures like [ 7%] Building CXX object src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysIOEvents.cc.o cd /opt/local/var/macports/build/_U