Khem Raj
Khem Raj
@Lorac I think the problem comes from OE-core so you need to try poky/oe-core master as well along with meta-clang
OK I guess we need to deep dive into it since its seem in many instances. Can you share what is your host OS and version.
@Atomisirsi can you try commenting out the line below https://github.com/kraj/meta-clang/blob/master/classes/clang.bbclass#L30
Can you try to install this SDK on the SDK host where you see this error https://uclibc.org/~kraj/yoe-glibc-sysvinit-wayland-glibc-x86_64-meta-toolchain-aarch64-raspberrypi3-64-toolchain-2.6.sh
line 30 fixes that exact problem of nativesdk not using nativesdk ldso. But I think we have nailed the cause of the issue which is good.
This is a hairy problem and especially seen with components compiled with clang targetted for nativesdk, It would need teaching some tricks to clang driver when it comes to creating...
@Atomisirsi thanks for report
``` SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" ``` Should be set in `conf/local.conf`
yes, as long as your install path is smaller than build path, it will work. The real fix is to create space in ELF header to expand the paths but...
A solution would be to do something what we do for binutils/gcc/glibc where it introduces padding section .gccrelocprefix which is then edited by the SDK installer during install to input...