Hello,
I started a new SDK build procedure exactly as the recommendations of your procedure:
- Installation of Ubuntu 18.04.3 on a new PC (reformatted disk, only the standard installation without any other software or applications)
- Ubuntu update (apt-get update / upgrade)
-Installation of the build procedure following exactly the procedure indicated on your site.
Unfortunately the build of the SDK stops with an error on the compilation of the PCL layer
Here are some indications on the launch of the build and the error indicated:
==================================
ndaher@hplinux:~/tisdk$ cd build
ndaher@hplinux:~/tisdk/build$ . conf/setenv
ndaher@hplinux:~/tisdk/build$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
ndaher@hplinux:~/tisdk/build$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
ndaher@hplinux:~/tisdk/build$ MACHINE=am57xx-evm bitbake arago-base-tisdk-image
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
Parsing recipes: 0% | | ETA: --:--:--
Keyboard Interrupt, closing down...
Parsing recipes: 100% |##########################################| Time: 0:00:03
Parsing of 3593 .bb files complete (0 cached, 25 parsed). 50 targets, 24 skipped, 0 masked, 0 errors.
Summary: There were 8 WARNING messages shown.
Execution was interrupted, returning a non-zero exit code.
ndaher@hplinux:~/tisdk/build$ MACHINE=am335x-evm bitbake arago-core-tisdk-bundle
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: /home/ndaher/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-linaro-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain) replaces original key PREFERRED_PROVIDER_binutils-cross-canadian- (external-arm-secondary-sdk-toolchain).
WARNING: /home/ndaher/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-linaro-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain) replaces original key PREFERRED_PROVIDER_gcc-cross-canadian- (external-arm-secondary-sdk-toolchain).
WARNING: /home/ndaher/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain) replaces original key PREFERRED_PROVIDER_binutils-cross-canadian- (external-arm-secondary-sdk-toolchain).
WARNING: /home/ndaher/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: Variable key PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} (external-arm-sdk-toolchain) replaces original key PREFERRED_PROVIDER_gcc-cross-canadian- (external-arm-secondary-sdk-toolchain).
Parsing recipes: 100% |######################################################################################################| Time: 0:05:14
Parsing of 3593 .bb files complete (0 cached, 3593 parsed). 4730 targets, 573 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/ndaher/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
/home/ndaher/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
Consider defining a PREFERRED_RPROVIDER entry to match python-bson
Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am335x-evm"
DISTRO = "arago"
DISTRO_VERSION = "2019.07"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:0d3220f2aa26c6069df78c68bb6009a35067866c"
meta-ros = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701"
meta-arago-distro
meta-arago-extras = "HEAD:9736c7d3e5c4c5a823e9caa712aa27ae24a40e4e"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-virtualization = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5"
meta-networking
meta-python
meta-oe
meta-gnome
meta-multimedia
meta-filesystems = "HEAD:2d088d252624b19df384aecc434d23afb636178f"
meta-ti = "HEAD:a65f0a338d8f4dcce902cde64fb1413727f1ac20"
meta-linaro-toolchain
meta-optee = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab"
meta = "HEAD:cd7cf933b3235560ec71576d8f3836dff736a39f"
Initialising tasks: 100% |###################################################################################################| Time: 0:00:50
Sstate summary: Wanted 6809 Found 0 Missed 6809 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: external-arm-toolchain-2019.03-r0 do_package: QA Issue: external-arm-toolchain: Files/directories were installed but not shipped in any package:
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdnoreturn.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stddef.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdarg.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/unwind-arm-common.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/arm_acle.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/unwind.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdint-gcc.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/float.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdbool.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdalign.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/stdatomic.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/varargs.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/iso646.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/mmintrin.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/arm_neon.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/arm_cmse.h
/usr/lib/gcc/arm-linux-gnueabi/8.3.0/include/gcov.h
/usr/lib/gcc/
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
ERROR: pcl-1.8.0-r0 do_compile: Function failed: do_compile (log file is located at /home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/temp/log.do_compile.3962)
ERROR: Logfile of failure stored in: /home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/temp/log.do_compile.3962
Log data follows:
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
| SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
| ^~~~~~~~~~~~~~~
| /home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/pcl-pcl-1.8.0/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
| {standard input}: Assembler messages:
| {standard input}:3877797: Warning: end of file not at end of a line; newline inserted
| {standard input}:3878271: Error: bad arguments to instruction -- `ldr r4'
| {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
| arm-linux-gnueabihf-g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: /home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/temp/run.do_compile.3962:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/build' "$@" -- -j1'
| ERROR: Function failed: do_compile (log file is located at /home/ndaher/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/pcl/1.8.0-r0/temp/log.do_compile.3962)
ERROR: Task (/home/ndaher/tisdk/sources/meta-ros/recipes-extended/pcl/pcl_1.8.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2563 tasks of which 0 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/ndaher/tisdk/sources/meta-ros/recipes-extended/pcl/pcl_1.8.0.bb:do_compile
Summary: There were 11 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
==================================
In attachment the log
Thank you in advance for your help,
Regards,