96boards/oe-rpb-manifest

DragonBoard 410c / SDK / gcc lib install location

jwinarske opened this issue · 0 comments

I've built and installed a DragonBoard SDK (core-image-minimal). Then I use the resultant sysroot post SDK install to cross compile tip-of-the-tree Clang for host, cross compile compiler-rt, libunwind, libcxxabi, and libcxx for target (aarch64).

Using "-v" I see Clang 8.0 discover:
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/gcc/aarch64-linaro-linux/6.2.1/

When I go to cross-compile compiler-rt (the first in the stack), the build fails looking for .o files only found in: /usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/aarch64-linaro-linux/6.2.1/

If I copy the contents of from the non-gcc folder into the gcc folder, it builds and links.

"gcc folder"
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/gcc/aarch64-linaro-linux/6.2.1/

"non-gcc folder"
/usr/local/rpb-wayland-x86_64/sysroots/aarch64-linaro-linux/usr/lib64/aarch64-linaro-linux/6.2.1/

I think the contents of the "non-gcc folder" should only exist in the "gcc folder".