Hi team,
Here's an issue from the customer may need your help:
TDA4 after installing sdk, execute source linux-devkit/environment-setup, make linux compilation failed, error is reported as follows:
ASN.1 crypto/asymmetric_keys/x509.asn1.[ch]
*** stack smashing detected ***: <unknown> terminated
AR fs/kernfs/built-in.a
CC fs/sysfs/file.o
Aborted (core dumped)
scripts/Makefile.build:383: recipe for target 'crypto/asymmetric_keys/x509.asn1.c' failed
make[3]: *** [crypto/asymmetric_keys/x509.asn1.c] Error 134
make[3]: *** Deleting file 'crypto/asymmetric_keys/x509.asn1.c'
make[3]: *** [crypto/asymmetric_keys/x509.asn1.c] Deleting file 'crypto/asymmetric_keys/x509.asn1.h'
scripts/Makefile.build:497: recipe for target 'crypto/asymmetric_keys' failed
make[2]: *** [crypto/asymmetric_keys] Error 2
Makefile:1825: recipe for target 'crypto' failed
make[1]: *** [crypto] Error 2
make[1]: *** Waiting for unfinished jobs....
The following steps yocto were not used to compile, it is too space-intensive and the customer just wanted to compile the kernel.
cd yocto-build ./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-<version>.txt cd build echo "INHERIT += \"own-mirrors\"" >> conf/local.conf echo "SOURCE_MIRROR_URL = \""">software-dl.ti.com/.../\"" >> conf/local.conf echo "ARAGO_BRAND = \"psdkla\"" >> conf/local.conf echo "DISTRO_FEATURES_append = \" virtualization\"" >> conf/local.conf echo "IMAGE_INSTALL_append = \" docker\"">> conf/local.conf . conf/setenv TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=<machine> bitbake -k tisdk-default-image
Could you help check this case? Thanks.
Best Regards,
Cherry