[Bug 218125] compiler:c++11-lib feature should choose gcc5+ or clang3x for powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 25 20:43:46 UTC 2017


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

            Bug ID: 218125
           Summary: compiler:c++11-lib feature should choose gcc5+ or
                    clang3x for powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: hiroo.ono+freebsd at gmail.com
                CC: freebsd-ports-bugs at FreeBSD.org

If we specify USES=compiler:c++11-lib feature, on powerpc64, gcc49 is chosen.
Some ports written in C++ require <codecvt>, which is a c++11 feature, but
gcc49 does not support it.
So, the ports which use <codecvt> fail in building. One of such ports is
devel/llvm40.

if USES=C++11-lib is specified, gcc5 or later (or clang) should be chosen
instead of gcc49.
Unfortunately, I do not understand ports framework well, and could not find
which file and what to change.

see this discussion on Stack Overflow:
http://stackoverflow.com/questions/15615136/is-codecvt-not-a-std-header

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


More information about the freebsd-ports-bugs mailing list