Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 18:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237886] devel/llvm: adding libc++ to LLVM ports
Message-ID:  <bug-237886-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

I'm creating this PR to discuss adding libc++ to LLVM ports.

The problem:
root@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 r34384=
3M:
Wed Feb  6 21:25:38 CET 2019=20=20=20=20
toor@talos.anongoth.pl:/usr/obj/usr/src/powerpc.powerpc64/sys/GENERIC64=20
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 possib=
le
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)
?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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