[Bug 237594] lang/llvm80: improvi clang on GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 27 00:48:10 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237594
Bug ID: 237594
Summary: lang/llvm80: improvi clang on GCC architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Created attachment 204055
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204055&action=edit
patch
Clang thinks FreeBSD uses libc++ everywhere and tries to use it. This doesn't
work on GCC architectures, there's no Clang there. To compile with Clang, one
needs to pass -stdlib=libstdc++ and appriopriate flags to libstdc++ from GCC
from ports (libstdc++ from base is too old).
With this patch, you can simply use -stdlib=libstdc++ and GCC will be found
automatically, making building with clang much easier on GCC architectures.
Tested on powerpc64.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list