[kde-freebsd] [Bug 199601] devel/boost-all: Upgrade to 1.58, 1.59, or 1.60

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 2 19:58:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199601

--- Comment #66 from Don Lewis <truckman at FreeBSD.org> ---
(In reply to Dmitry Marakasov from comment #64)

Problems with boost + compiler:c++11-lang on FreeBSD 9 should not be new other
than in ports that were patched to add -lboost_system for compatibility with
the new version of boost.  This generally doesn't show up at build time, but
rather as a fatal runtime problem.

On FreeBSD 9, this will cause the port to be build with clang34++ from ports,
which causes linkage to the version of libc++ from ports, whereas boost is
compiled with the base c++ compiler (normally g++ on FreeBSD 9), and is linked
to the base libstdc++.  Mixing these two libraries in the same executable is
fatal.

Tweaking the port to use c++11-lib is likely to work better since it will use
the default ports version of gcc to compile the port.  That will usually work
as long as the runtime linker pulls in the version of libstdc++ bundled with
the ports gcc rather than the version of libstdc++ in base.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list