Re: boost1.57 test packaging

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0AfzuRXbgLBmgb9THe8PrEcsvxLMgWgJkWN569WjWMenw@mail.gmail.com>
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
<[email protected]> 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
>
> --
>
>

------------------------------------------------------------------------------
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.