Hi,

I'm currently upgrading to Scarthgap and I have one outstanding issue in
that rust-native is not installing.  The error message I see is

 = note: /ws//build/tmp/hosttools/ld: cannot find -lc++
|           collect2: error: ld returned 1 exit status

I'm using clang by default, I have the following in local.conf
TOOLCHAIN = "clang"
TC_CXX_RUNTIME = "llvm"
LIBCPLUSPLUS = "-stdlib=libc++

and the following in a distro conf

PREFERRED_PROVIDER_llvm = "clang"
PREFERRED_PROVIDER_llvm-native = "clang-native"
PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang"
PROVIDES:pn-clang = "llvm"
PROVIDES:pn-clang-native = "llvm-native"
PROVIDES:pn-nativesdk-clang = "nativesdk-llvm"

I've tried the head of Scarthgap for poky and also the 5.0_M3 tag.

Any help greatly appreciated,

Many Thanks,
Martin.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63960): https://lists.yoctoproject.org/g/yocto/message/63960
Mute This Topic: https://lists.yoctoproject.org/mt/108885691/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to