This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5749: unable to build processor-SDK 6.03

Part Number: AM5749
Other Parts Discussed in Thread: CSD

We made decision to move from PSDK 5.02 to 6.03 because to many packages in v5 is obsolette.

But we still unable to finish assembly of arago-core-tisdk-bundle.

We used provided build instruction. 6.03 version contain errors pleas fix.

We already pass problem with tenslorflow-lite-demo.bb receipt error adding 

DISTRO_FEATURES_append= " opencv opencl" in conf.

But problem with chromium at compilation stage.

There are error with task chromium-ozone-wayland_75.0.3770.142.bb:do_compile

log.do_compile file has size 125MB.

last record in log:

In file included from ../../v8/src/compiler/effect-control-linearizer.cc:21:
../../v8/src/objects/ordered-hash-table.h:685:7: note: ‘class v8::internal::OrderedNameDictionary’ declared here
class OrderedNameDictionary
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../v8/src/base/atomicops_internals_portable.h:35,
from ../../v8/src/base/atomicops.h:140,
from ../../v8/src/base/atomic-utils.h:11,
from ../../v8/src/globals.h:15,
from ../../v8/src/builtins/builtins.h:10,
from ../../v8/src/compiler/frame-states.h:8,
from ../../v8/src/compiler/common-operator.h:9,
from ../../v8/src/compiler/effect-control-linearizer.h:8,
from ../../v8/src/compiler/effect-control-linearizer.cc:5:
../../v8/src/base/macros.h: In instantiation of ‘Dest bit_cast(const Source&) [with Dest = v8::internal::SmallOrderedNameDictionary; Source = v8::internal::Object]’:
../../v8/src/objects/ordered-hash-table.h:781:3: required from here
../../v8/src/base/macros.h:107:9: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class v8::internal::SmallOrderedNameDictionary’ from an array of ‘const class v8::internal::Object’ [-Wclass-memaccess]
memcpy(&dest, &source, sizeof(dest));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../v8/src/compiler/effect-control-linearizer.cc:21:
../../v8/src/objects/ordered-hash-table.h:778:7: note: ‘class v8::internal::SmallOrderedNameDictionary’ declared here
class SmallOrderedNameDictionary
^~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
WARNING: /home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/temp/run.do_compile.8821:1 exit 1 from 'ninja -v -j 9 chrome chrome_sandbox chromedriver'
ERROR: Function failed: do_compile (log file is located at /home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/temp/log.do_compile.8821)

  • In addition: 

    our workstation is ubuntu 16. upgrade is not acceptable (there are installed caffe neural networks SDK)

    I`m found similar problem on forum with ubuntu 16.04 

    Error from our compile log:

    [14229/37430] arm-linux-gnueabihf-g++ -march=armv7-a -mfpu=neon -mfloat-abi=hard --sysroot=/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot -MMD -MF obj/v8/v8_nosnapshot/extras-libraries.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_USE_SNAPSHOT -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_CONCURRENT_MARKING -DV8_EMBEDDED_BUILTINS -DV8_DEPRECATION_WARNINGS -DV8_TARGET_ARCH_ARM -DCAN_USE_ARMV7_INSTRUCTIONS -DCAN_USE_VFP3_INSTRUCTIONS -DCAN_USE_VFP32DREGS -DCAN_USE_NEON -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_DEPRECATION_WARNINGS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I../.. -Igen -I../../v8 -Igen/v8 -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -mfpu=neon -mthumb -Wall -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -isystem/home/rock/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -isystem/home/rock/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -feliminate-unused-debug-types -fdebug-prefix-map=/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0=/usr/src/debug/chromium-ozone-wayland/75.0.3770.142-r0.arago0 -fdebug-prefix-map=/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot= -fdebug-prefix-map=/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native= -g1 -c gen/v8/extras-libraries.cc -o obj/v8/v8_nosnapshot/extras-libraries.o
    [14230/37430] g++ -MMD -MF yocto_native/obj/base/base/any_internal.o.d -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I../.. -Iyocto_native/gen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../base/containers/any_internal.cc -o yocto_native/obj/base/base/any_internal.o
    FAILED: yocto_native/obj/base/base/any_internal.o
    g++ -MMD -MF yocto_native/obj/base/base/any_internal.o.d -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I../.. -Iyocto_native/gen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../base/containers/any_internal.cc -o yocto_native/obj/base/base/any_internal.o
    In file included from ../../base/containers/any_internal.cc:5:0:
    ../../base/containers/any_internal.h:48:18: error: enclosing class of constexpr non-static member function ‘bool base::internal::AnyInternal::has_value() const’ is not a literal type
    constexpr bool has_value() const noexcept { return !!type_ops_; }
    ^
    ../../base/containers/any_internal.h:24:19: note: ‘base::internal::AnyInternal’ is not literal because:
    class BASE_EXPORT AnyInternal {
    ^
    ../../base/containers/any_internal.h:24:19: note: ‘base::internal::AnyInternal’ has a non-trivial destructor
    ../../base/containers/any_internal.h:163:59: error: ‘constexpr’ needed for in-class initialization of static data member ‘const base::internal::AnyInternal::TypeOps base::internal::AnyInternal::TypeOpsHelper<T>::type_ops’ of non-integral type [-fpermissive]
    const AnyInternal::TypeOps AnyInternal::TypeOpsHelper<T>::type_ops;
    ^
    [14231/37430] g++ -MMD -MF yocto_native/obj/base/base/unique_any.o.d -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I../.. -Iyocto_native/gen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../base/containers/unique_any.cc -o yocto_native/obj/base/base/unique_any.o
    FAILED: yocto_native/obj/base/base/unique_any.o
    g++ -MMD -MF yocto_native/obj/base/base/unique_any.o.d -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I../.. -Iyocto_native/gen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -isystem/home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../base/containers/unique_any.cc -o yocto_native/obj/base/base/unique_any.o
    In file included from ../../base/containers/unique_any.h:10:0,
    from ../../base/containers/unique_any.cc:5:
    ../../base/containers/any_internal.h:48:18: error: enclosing class of constexpr non-static member function ‘bool base::internal::AnyInternal::has_value() const’ is not a literal type
    constexpr bool has_value() const noexcept { return !!type_ops_; }

    But i think

  • Hi Ivan,

    Please follow the instructions in this link, and make sure that you have all pre-requisites installed.

    e2e.ti.com/.../3352199

    Regards

    Karthik

  • Our workstation had 64GB RAM. But i`m repeat all instructions in provided link.

    Unable to finish arago-core-tisdk-bundle 

    compiler related error with chromium-ozone

    ninja: build stopped: subcommand failed.
    WARNING: /home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/temp/run.do_compile.8821:1 exit 1 from 'ninja -v -j 9 chrome chrome_sandbox chromedriver'
    ERROR: Function failed: do_compile (log file is located at /home/rock/tisdk6/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/chromium-ozone-wayland/75.0.3770.142-r0.arago0/temp/log.do_compile.8821)

    I`m attached compile log

    7356.log.do_compile.zip

  • Hi Ivan,

    One thing that you help in this situation is for you to clean the "chromium-ozone-wayland" using the below commands.

    MACHINE=am57xx-evm bitbake -c cleanall chromium-ozone-wayland

    MACHINE=am57xx-evm bitbake chromium-ozone-wayland

    MACHINE=am57xx-evm bitbake -k arago-core-tisdk-bundle

    Regards

    Karthik