[Bug 237886] devel/llvm: adding libc++ to LLVM ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 13 18:46:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237886
Bug ID: 237886
Summary: devel/llvm: adding libc++ to LLVM ports
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: brooks at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Assignee: brooks at FreeBSD.org
Flags: maintainer-feedback?(brooks at FreeBSD.org)
I'm creating this PR to discuss adding libc++ to LLVM ports.
The problem:
root at talos:$~$ cat test.cpp; clang++80 test.cpp; uname -a
#include<iostream>
#include<string>
using namespace std;
int main(){
string greeting("Hello world!");
cout << greeting << endl;
return 0;
}
test.cpp:1:9: fatal error: 'iostream' file not found
#include<iostream>
^~~~~~~~~~
1 error generated.
FreeBSD talos.anongoth.pl 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 #5 r343843M:
Wed Feb 6 21:25:38 CET 2019
toor at talos.anongoth.pl:/usr/obj/usr/src/powerpc.powerpc64/sys/GENERIC64
powerpc
As you can see, libc++ is currently unavailable on e.g. powerpc64 (and other
GCC architectures). libc++ is present neither in base nor in LLVM ports.
There's also no separate libc++ port (there used to be). Would it be possible
to either:
a) add libc++ port, on which LLVM ports would depend on (at least on GCC
architectures), or
b) include libc++ in LLVM ports (at least on GCC architectures)
?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list