libc++ on FreeBSD-11.1 powerpc32

Justin Hibbits chmeeedalf at gmail.com
Fri Oct 20 13:54:21 UTC 2017


On Oct 19, 2017, at 12:54 AM, Thaison Nguyen wrote:

> Hi,
> I have successfully compiled llvm50 on my ibook G4 using the latest  
> stable release of FreeBSD.
>
> Anyhow i could not make use of it yet as it cannot find libc++.
> I cannot install it through ports, too because the port has been  
> deleted recently.
>
> What am i doing wrong here?
>
> Greetings,
> TN

Hi,

Unfortunately right now libc++ isn't built for powerpc (neither 32 nor  
64).  Why is llvm50 looking for libc++?  Do you have a test case I can  
try with?

The hope is that soon (in time for FreeBSD 12 to branch) we'll have a  
full clang world+kernel for all powerpc targets, so this should  
eventually be resolved naturally.  That said, as part of our goal for  
driving FreeBSD forward we want to also move to a modern toolchain  
regardless, which can include migrating to an external GCC if needed.   
This will also allow us to build libc++ as part of base.

Long story short -- libc++ isn't in base for powerpc right now, but  
should be in the not-too-distant future.

- Justin



More information about the freebsd-ppc mailing list