[yocto] building SDK artifacts with external toolchain

Belisko Marek marek.belisko at gmail.com
Sun Aug 18 13:34:49 PDT 2019


Hi,

I have an dilema to solve. I have an SDK from vendor which contains
scripts to build u-boot + kernel + some kind of application and create
initramfs out of that and this can be flashed to NOR device and boot.
But setup and using is really horrible. Idea is to port this process
to yocto and have possibility to be used as yocto SDK for development.
Issue is that u-boot and kernel are obsolete (u-boot 2010 and kernel
3.18) and after few fixed I was able to buld and run u-boto with 7.3
arm ggc but when building kernel I got some issue with asm and I'm
kind of lost ;). So idea was to use toolchain which SDK provide but
it's again 4.9.4 (some linaro clone). Target is to use poky rocko with
this setup. I tried to build minimal image with external toolchain but
got some QA issues like:

gmp-6.1.2-r0 do_package_qa: QA Issue: libgmpxx rdepends on
external-linaro-toolchain-dbg [debug-deps]
 ERROR: gmp-6.1.2-r0 do_package_qa: QA Issue:
/usr/lib/libgmpxx.so.4.5.2 contained in package libgmpxx requires
libstdc++.so.6(CXXABI_1.3), but no providers found in
RDEPENDS_libgmpxx? [file-rdeps]
 ERROR: gmp-6.1.2-r0 do_package_qa: QA Issue:
/usr/lib/libgmpxx.so.4.5.2 contained in package libgmpxx requires
libstdc++.so.6(CXXABI_ARM_1.3.3), but no providers found in
RDEPENDS_libgmpxx? [file-rdeps]
 ERROR: gmp-6.1.2-r0 do_package_qa: QA Issue:
/usr/lib/libgmpxx.so.4.5.2 contained in package libgmpxx requires
libstdc++.so.6(GLIBCXX_3.4), but no providers found in
RDEPENDS_libgmpxx? [file-rdeps]
 ERROR: gmp-6.1.2-r0 do_package_qa: QA Issue:
/usr/lib/libgmpxx.so.4.5.2 contained in package libgmpxx requires
libstdc++.so.6(GLIBCXX_3.4.11), but no providers found in
RDEPENDS_libgmpxx? [file-rdeps]
 ERROR: gmp-6.1.2-r0 do_package_qa: QA Issue:
/usr/lib/libgmpxx.so.4.5.2 contained in package libgmpxx requires
libstdc++.so.6, but no providers found in RDEPENDS_libgmpxx?
[file-rdeps]

I can workaround those but to me it looks like it's somehow not
compatible or so (was using 4.9.4 linaro toolchain). My idea was to
maybe use older poky (when 4.9 toolchain was used) but I'm not sure I
like this approach. Other ideas? Thanks.

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


More information about the yocto mailing list