Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 2017 20:43:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218125] compiler:c++11-lib feature should choose gcc5+ or clang3x for powerpc64
Message-ID:  <bug-218125-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218125

            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@FreeBSD.org
          Reporter: hiroo.ono+freebsd@gmail.com
                CC: freebsd-ports-bugs@FreeBSD.org

If we specify USES=3Dcompiler:c++11-lib feature, on powerpc64, gcc49 is cho=
sen.
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=3DC++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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218125-13>