Hanspeter, I verified that the boost 1.58 packaging does indeed build on MacPorts under darwin12 (but my first attempts to recreate this from your info file and patch file including their patch and suppression of -std=cxx=+ fails on darwin12 under fink). In any case, using the MacPorts boost 1.58, I was able to confirm that https://svn.boost.org/trac/boost/ticket/10785 also exists for the darwin12 build of boost 1.58 against libstdc++ and that -std=c++11 has to be invoked to suppress it. Since obviously we don't have functional c++11 support with libstdc++, the boost 1.58 build on darwin12 and earlier will be crippled. Jack
On Mon, Apr 20, 2015 at 12:32 PM, Jack Howarth <howarth.at.f...@gmail.com> wrote: > Hanspeter, > I see that you are limiting the build of boost 1.58 to just > 10.9/10.10. The MacPorts boost 5.18 packaging uses the patch at... > > https://trac.macports.org/browser/trunk/dports/devel/boost/files/patch-apple-clang-no-libcxx.diff > > with the comment... > > # error that occurs on OS X 10.7 and 10.8 due to the > assumption > # that if clang is the compiler in use it must be using > libc++. > # Apple Clang uses libstdc++ by default on these OS versions. > # The patch adds an additional BOOST_* configuration flag > # that is set if Apple clang is being used but libc++ > # is not. This flag is then used to prevent boost or a > # dependent package from using functions such as > std::forward that > # are only available in libc++. Fixes build of libcdr on > these > # OS versions without affecting build on 10.6 and less > (where clang is not > # the default compiler) or 10.9 and up (where libc++ > is the default). > > It may be worth supporting 10.7/10.8 with this patch provided that the > test case from https://svn.boost.org/trac/boost/ticket/10785 compiles > okay under the clang++/libstdc++ combination. The bug report is silent > about which c++ library was used for the tested but I assume it was > likely libc++. Hopefully the bug is libc++-specific, otherwise there > isn't much reason to add boost 1.58 for 10.7/10.8 since we don't have > the option of the -std=c++11 workaround with libstdc++. > Jack > > On Mon, Apr 20, 2015 at 10:36 AM, Hanspeter Niederstrasser > <f...@snaggledworks.com> wrote: >> I've updated boost1.58.info in my experimental to use the just released >> boost-1_58_0 from upstream. Please test and report back any problems. >> Upstream screwed up their (lack of) use of -install_name and c_v even >> more, so there's way more games being played in the .info file now to make >> sure the libraries are all properly named and versioned. I think I got >> them all. >> >> http://cvs.snaggledworks.com/viewvc.cgi/fink/10.7/main/finkinfo/libs/ >> >> Hanspeter >> >> -- >> >>
boost1.58-nolibcxx.patch
Description: Binary data
------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel