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.

AM5728: SDK 9.1-legacy: Getting a working yocto build

Part Number: AM5728

Tool/software:

The libdce repo seems to be down.  The gitweb page is loadable but I cannot clone either through HTTP or git.

[2024-09-30T14:40:51.822Z] NOTE: recipe libdce-3.00.15.00-r0: task do_fetch: Started
[2024-09-30T14:43:13.248Z] WARNING: libdce-3.00.15.00-r0 do_fetch: Failed to fetch URL git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master, attempting MIRRORS if available
[2024-09-30T14:45:34.680Z] ERROR: libdce-3.00.15.00-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/work/sources/oe-core/scripts:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot/usr/bin/crossscripts:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/sbin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/bin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/sbin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/bin:/work/sources/bitbake/bin:/work/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/pokyuser"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror git://git.omapzoom.org/repo/libdce.git /work/downloads/git2/git.omapzoom.org.repo.libdce.git --progress failed with exit code 128, no output
[2024-09-30T14:45:34.680Z] ERROR: libdce-3.00.15.00-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master')

  • Hello Jonathan,

    Please see the SDK release notes, This library along with most multimedia support has been descoped from the SDK since 8.x release. 

    This was implied from the descope notes on 8.2 for Arm codec descope. https://software-dl.ti.com/processor-sdk-linux/esd/AM57X/08_02_00_04/exports/docs/linux/Release_Specific_PLSDK_Release_Notes.html but unfortunately the SW team did not specify this.

    Best,

    Josue

  • Thanks Josue,

    I am having a hard time finding the correct oe-layersetup config to use.  The following page says to use processor-sdk-linux-09_02_00.txt however I cannot find that in the oe-layersetup repo, git.ti.com/gitweb

    https://software-dl.ti.com/processor-sdk-linux/esd/AM57X/09_02_00_133/exports/docs/devices/AM57X/linux/Release_Specific_Yocto_layer_Configuration.html#yocto-layer-configuration

    Also what is the difference between the usual processor-sdk configs and the processor-sdk-linux config this one claims to be using.

  • Jonathan,

    Usually you should open a new thread ( ) for question that is not related to the original question. Please do so in the future.

    The config is within the processor-sdk-linux folder. 

    See https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1354396/tmdsevm572x-failed-to-load-boot-am57xx-evm-reva3-dtb/5184770#5184770

    -Josue

  • Sure thing.

    It looks like the processor-sdk-linux-09_02_00.txt config is still missing from the oe-layersetup.git repo.  I will create a separate e2e post.

  • Hi Josue,

    The processor-sdk-linux-09_02_00.txt config is also trying to build the libdce repo but failing the fetch.

    pokyuser@0f1ed78bf344:/work$ ./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-09_02_00.txt
    pokyuser@0f1ed78bf344:/work$ export MACHINE=am57xx-evm
    pokyuser@0f1ed78bf344:/work$ cd build
    pokyuser@0f1ed78bf344:/work$ source conf/setenv
    pokyuser@0f1ed78bf344:/work/build$ bitbake --continue tisdk-default-image
    NOTE: Started PRServer with DBfile: /work/build/cache/prserv.sqlite3, Address: 127.0.0.1:34325, PID: 797206
    Loading cache: 100% |#############################################################################################################################################################################| Time: 0:00:00Build Configuration:
    BB_VERSION           = "2.0.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-18.04"
    TARGET_SYS           = "arm-oe-linux-gnueabi"
    MACHINE              = "am57xx-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2023.10"
    TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU           = "hard"
    meta-arago-distro
    meta-arago-extras
    meta-arago-demos
    meta-arago-test      = "HEAD:98f178314931635c8641d1394dfd4341b86b6be2"
    meta-qt5             = "HEAD:fe0bf7f0e5408aac6cc89ff3b19b1b1941df4f64"
    meta-virtualization  = "HEAD:cb2bc17e96552cdfc141d27bd9f4dbd95a872846"
    meta-networking
    meta-python
    meta-oe
    meta-gnome
    meta-filesystems     = "HEAD:fda737ec0cc1d2a5217548a560074a8e4d5ec580"
    meta-ti-extras
    meta-ti-bsp          = "HEAD:376a2143533c6497b4e79304eccca2a630784436"
    meta-arm
    meta-arm-toolchain   = "HEAD:b187fb9232ca0a6b5f8f90b4715958546fc41d73"
    meta-clang           = "HEAD:c2e89dc7e1dfcc1bbe432afca2dc43d6560cb007"
    meta                 = "HEAD:2501534c9581c6c3439f525d630be11554a57d24"
    meta-tisdk           = "HEAD:cb4bfc1b9082d3f5215ffdfd437c9133771e61dc"
    ...
    WARNING: libdce-3.00.15.00-r0 do_fetch: Failed to fetch URL git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master, attempting MIRRORS if available
    ERROR: libdce-3.00.15.00-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/work/sources/oe-core/scripts:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot/usr/bin/crossscripts:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/sbin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/usr/bin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/sbin:/work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/recipe-sysroot-native/bin:/work/sources/bitbake/bin:/work/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/pokyuser"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror git://git.omapzoom.org/repo/libdce.git /work/downloads/git2/git.omapzoom.org.repo.libdce.git --progress failed with exit code 128, no outputERROR: libdce-3.00.15.00-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master')
    ERROR: Logfile of failure stored in: /work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libdce/3.00.15.00-r0/temp/log.do_fetch.797467
    ERROR: Task (/work/sources/meta-ti/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb:do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 9206 tasks of which 9113 didn't need to be rerun and 1 failed.

    The libdce is being used in several recipes.

    oe-layersetup/sources$ ag libdce
    meta-arago/meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb
    6:DEPENDS = "gstreamer1.0 libdrm libdce ti-ipc wayland weston"
    
    meta-arago/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ti.inc
    2:DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad libdrm libdce"
    
    meta-arago/meta-arago-test/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
    6:DEPENDS = "ffmpeg libdce libdrm virtual/libgbm virtual/libgles2 virtual/egl wayland"
    
    meta-ti/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
    12:RDEPENDS:${PN} = "libdce"
    
    meta-ti/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
    3:LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae"
    9:SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master"

  • Both the scarthgap and master branch, have a fix for this.  Since kirkstone is the latest supported release for the AM57x.  We need this patch as well.

    commit 44c411e544b2393cff7df7edeae9a8bdb7bc9b0e
    Author: Nishanth Menon <nm@ti.com>
    Date:   Thu Jul 25 06:37:03 2024 -0500
    
        meta-ti-extras: recipes-multimedia: libdce: Fix libdce SRC_URI
    
        omapzoom has been down since a long time. Point the repository to the
        mirror in git.ti.com
    
        Reported-by: Daniel Schultz <d.schultz@phytec.de>
        Signed-off-by: Nishanth Menon <nm@ti.com>
        Signed-off-by: Ryan Eatmon <reatmon@ti.com>
    
    diff --git a/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
    index 54f6ff8a6630..f46d9c77fc6a 100644
    --- a/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
    +++ b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
    @@ -6,7 +6,8 @@ inherit autotools pkgconfig
    
     DEPENDS = "libdrm ti-ipc"
    
    -SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master"
    +SRC_URI = "git://git.ti.com/git/omapzoom/libdce.git;protocol=https;branch=master"
    +
     SRCREV = "ec14e1d5cea1ed3c3ea0e2b9cf1fd581acff93e3"
    
     S = "${WORKDIR}/git"

  • Hello Jonathan,

    Will inquire about this with our Yocto engineers.

    Best,

    Josue

  • Hi Jonathan,

    The best way to fix this would be to create a bbappend file for libdce and have it overwrite the SRC_URI.

    You could also just apply the patch to the sources/meta-ti directory, but this isn't a yocto-esque solution.

    Best,
    Jared

  • The best way to fix this would be to create a bbappend file for libdce and have it overwrite the SRC_URI.

    Thanks Jared, I have done so and it did allow me to get a bit farther. 

    However, since this is the latest version of SDK for the AM57x I would expect TI to pull this patch into their kirkstone branch. As they already have for their scarthgap and master branches.  Kirkstone is still LTS...

    I've updated the title since there are now more issues with the yocto build.

    mtd-utils is now failing. And I'm not clear how this ever worked, considering how both of these meta layers are locked down to specific commit hashes...

    There are two bbappends that are trying to fix a SRC_URI issue and are conflicting with each other.

    * meta-tisdk/recipes-devtools/mtd/mtd-utils_git.bbappend

    * meta-arago/meta-arago-test/recipes-devtools/mtd/mtd-utils_git.bbappend

    ERROR: mtd-utils-2.1.5-r0.arago2_tisdk_0 do_ar_original: Cannot determine archive names for original source because 'name' URL parameter is unset in more than one URL. Add it to at least one of these: git://github.com/sigma-star/mtd-utils.git;branch=master;protocol=https git://git.infraroot.at/mtd-utils.git;branch=master;protocol=https
    ERROR: Logfile of failure stored in: /work/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/mtd-utils/2.1.5-r0.arago2_tisdk_0/temp/log.do_ar_original.1135379
    ERROR: Task (/work/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_ar_original) failed with exit code '1'
    

    I'm not clear how I would fix this in a bbappend since the problems are introduced in two separate bbappends.  I'll try a few things

  • The linux-ti-staging recipe is also failing to find the evm device tree.  I'll try to dig into this tomorrow but several things seem pretty broken with this yocto release.

    | make[1]: *** No rule to make target 'arch/arm/boot/dts/ti/omap/am57xx-evm.dtb'.  Stop.
    | make: *** [/work/build/arago-tmp-default-glibc/work-shared/am57xx-evm/kernel-source/Makefile:1467: ti/omap/am57xx-evm.dtb] Error 2
    | ERROR: oe_runmake failed
    | WARNING: /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209:309 exit 1 from 'exit 1'
    | WARNING: Backtrace (BB generated script):
    |       #1: bbfatal_log, /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209, line 309
    |       #2: die, /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209, line 293
    |       #3: oe_runmake, /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209, line 221
    |       #4: do_compile, /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209, line 158
    |       #5: main, /work/build/arago-tmp-default-glibc/work/am57xx_evm-oe-linux-gnueabi/linux-ti-staging/6.1.80+gitAUTOINC+2e423244f8-r7b.arago5_tisdk_5/temp/run.do_compile.1176209, line 313
    ERROR: Task (/work/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb:do_compile) failed with exit code '1'
    

  • The linux-ti-staging recipe is also failing to find the evm device tree.  I'll try to dig into this tomorrow but several things seem pretty broken with this yocto release.

    If I revert the following commit within meta-ti and the kernel builds successfully.  I may need to look into why DTBMERGE isn't okay with ignoring that ti/omap/am57xx-evm.dtb doesn't exist.

        linux-ti-next,conf/machine: Add support for new vendored dts dir
        
        The latest kernel has made the change to add vendor subdirectories into
        the arch/arm/boot/dts directory.  This effectively breaks the
        KERNEL_DEVICETREE settings in the machine configs for 32bit platforms,
        so switch them over to using the PREFIX variable.  Also change the
        linux-ti-next to use the PREFIX setting for KERNEL_DEVICETREE.
        
        Signed-off-by: Ryan Eatmon <reatmon@ti.com>
    
    ------------------- meta-ti-bsp/conf/machine/am57xx-evm.conf -------------------
    index 26b7f78ce1e2..43a6a8332381 100644
    @@ -11,15 +11,18 @@ SERIAL_CONSOLES = "115200;ttyS2"
     KERNEL_DEVICETREE_PREFIX = " \
         am57 \
         ti/am57 \
         ti/lcd \
         ti/ov10635 \
    +    ti/omap/am57 \
     "
     
     KERNEL_DEVICETREE_DTBMERGE = " \
         am57xx-evm.dtb \
         am57xx-evm-reva3.dtb \
    +    ti/omap/am57xx-evm.dtb \
    +    ti/omap/am57xx-evm-reva3.dtb \
     "
    ...

    It seems like ti-kernel-devicetree-prefix.inc checks if the file exists before passing it to the kernel, so I'm not sure why that didn't work out...

    def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
    ...
            makefile = dts_dir + "/" + pattern_dir + "/Makefile"
            if os.path.exists(makefile):
                with open(makefile) as f:
                    if pattern_target in f.read():
                        matches.append(pattern)
        return ' '.join(matches)
    

  • Hi Johnathan,

    I'll start a Yocto build and see what issues I can replicate and dig into.

    Best,
    Jared

  • Hi Jared, how did this go?

  • Hi Jonathan,

    gn-native keeps failing (presumably because the yocto build is crashing when I run it). I've been trying to cut down the number of threads to prevent my PC from crashing.

    If you've seen this error as well though, let me know.

    DEBUG: Executing shell function do_compile
    ninja: Entering directory `/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/chromium-111.0.5563.64/out/Release/gn_build'
    [1/194] CXX src/base/strings/stringprintf.o
    FAILED: src/base/strings/stringprintf.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/stringprintf.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/stringprintf.cc -o src/base/strings/stringprintf.o
    In file included from ../../../tools/gn/src/base/strings/stringprintf.cc:5:
    ../../../tools/gn/src/base/strings/stringprintf.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [2/194] CXX src/base/posix/file_descriptor_shuffle.o
    FAILED: src/base/posix/file_descriptor_shuffle.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/posix/file_descriptor_shuffle.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/posix/file_descriptor_shuffle.cc -o src/base/posix/file_descriptor_shuffle.o
    In file included from ../../../tools/gn/src/base/posix/file_descriptor_shuffle.cc:5:
    ../../../tools/gn/src/base/posix/file_descriptor_shuffle.h:24:10: fatal error: 'vector' file not found
    #include <vector>
             ^~~~~~~~
    1 error generated.
    [3/194] CXX src/base/files/file_path_constants.o
    FAILED: src/base/files/file_path_constants.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_path_constants.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_path_constants.cc -o src/base/files/file_path_constants.o
    ../../../tools/gn/src/base/files/file_path_constants.cc:7:10: fatal error: 'iterator' file not found
    #include <iterator>
             ^~~~~~~~~~
    1 error generated.
    [4/194] CXX src/base/memory/weak_ptr.o
    FAILED: src/base/memory/weak_ptr.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/memory/weak_ptr.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/memory/weak_ptr.cc -o src/base/memory/weak_ptr.o
    In file included from ../../../tools/gn/src/base/memory/weak_ptr.cc:5:
    ../../../tools/gn/src/base/memory/weak_ptr.h:73:10: fatal error: 'cstddef' file not found
    #include <cstddef>
             ^~~~~~~~~
    1 error generated.
    [5/194] CXX src/base/memory/ref_counted.o
    FAILED: src/base/memory/ref_counted.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/memory/ref_counted.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/memory/ref_counted.cc -o src/base/memory/ref_counted.o
    In file included from ../../../tools/gn/src/base/memory/ref_counted.cc:5:
    ../../../tools/gn/src/base/memory/ref_counted.h:10:10: fatal error: 'utility' file not found
    #include <utility>
             ^~~~~~~~~
    1 error generated.
    [6/194] CXX src/base/sha1.o
    FAILED: src/base/sha1.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/sha1.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/sha1.cc -o src/base/sha1.o
    In file included from ../../../tools/gn/src/base/sha1.cc:5:
    ../../../tools/gn/src/base/sha1.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [7/194] CXX src/base/strings/utf_string_conversion_utils.o
    FAILED: src/base/strings/utf_string_conversion_utils.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/utf_string_conversion_utils.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/utf_string_conversion_utils.cc -o src/base/strings/utf_string_conversion_utils.o
    In file included from ../../../tools/gn/src/base/strings/utf_string_conversion_utils.cc:5:
    ../../../tools/gn/src/base/strings/utf_string_conversion_utils.h:14:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [8/194] CXX src/base/json/string_escape.o
    FAILED: src/base/json/string_escape.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/json/string_escape.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/json/string_escape.cc -o src/base/json/string_escape.o
    In file included from ../../../tools/gn/src/base/json/string_escape.cc:5:
    ../../../tools/gn/src/base/json/string_escape.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [9/194] CXX src/base/strings/string_util_constants.o
    FAILED: src/base/strings/string_util_constants.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/string_util_constants.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/string_util_constants.cc -o src/base/strings/string_util_constants.o
    In file included from ../../../tools/gn/src/base/strings/string_util_constants.cc:5:
    ../../../tools/gn/src/base/strings/string_util.h:15:10: fatal error: 'initializer_list' file not found
    #include <initializer_list>
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    [10/194] CXX src/base/md5.o
    FAILED: src/base/md5.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/md5.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/md5.cc -o src/base/md5.o
    In file included from ../../../tools/gn/src/base/md5.cc:24:
    ../../../tools/gn/src/base/md5.h:11:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [11/194] CXX src/base/environment.o
    FAILED: src/base/environment.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/environment.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/environment.cc -o src/base/environment.o
    In file included from ../../../tools/gn/src/base/environment.cc:5:
    ../../../tools/gn/src/base/environment.h:8:10: fatal error: 'map' file not found
    #include <map>
             ^~~~~
    1 error generated.
    [12/194] CXX src/base/json/json_reader.o
    FAILED: src/base/json/json_reader.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/json/json_reader.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/json/json_reader.cc -o src/base/json/json_reader.o
    In file included from ../../../tools/gn/src/base/json/json_reader.cc:5:
    ../../../tools/gn/src/base/json/json_reader.h:31:10: fatal error: 'memory' file not found
    #include <memory>
             ^~~~~~~~
    1 error generated.
    [13/194] CXX src/base/value_iterators.o
    FAILED: src/base/value_iterators.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/value_iterators.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/value_iterators.cc -o src/base/value_iterators.o
    In file included from ../../../tools/gn/src/base/value_iterators.cc:5:
    ../../../tools/gn/src/base/value_iterators.h:8:10: fatal error: 'memory' file not found
    #include <memory>
             ^~~~~~~~
    1 error generated.
    [14/194] CXX src/base/command_line.o
    FAILED: src/base/command_line.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/command_line.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/command_line.cc -o src/base/command_line.o
    In file included from ../../../tools/gn/src/base/command_line.cc:5:
    ../../../tools/gn/src/base/command_line.h:19:10: fatal error: 'map' file not found
    #include <map>
             ^~~~~
    1 error generated.
    [15/194] CXX src/base/posix/safe_strerror.o
    FAILED: src/base/posix/safe_strerror.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/posix/safe_strerror.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/posix/safe_strerror.cc -o src/base/posix/safe_strerror.o
    In file included from ../../../tools/gn/src/base/posix/safe_strerror.cc:13:
    ../../../tools/gn/src/base/posix/safe_strerror.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [16/194] CXX src/base/strings/string_number_conversions.o
    FAILED: src/base/strings/string_number_conversions.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/string_number_conversions.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/string_number_conversions.cc -o src/base/strings/string_number_conversions.o
    In file included from ../../../tools/gn/src/base/strings/string_number_conversions.cc:5:
    ../../../tools/gn/src/base/strings/string_number_conversions.h:11:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [17/194] CXX src/base/files/file_util.o
    FAILED: src/base/files/file_util.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_util.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_util.cc -o src/base/files/file_util.o
    In file included from ../../../tools/gn/src/base/files/file_util.cc:5:
    ../../../tools/gn/src/base/files/file_util.h:15:10: fatal error: 'set' file not found
    #include <set>
             ^~~~~
    1 error generated.
    [18/194] CXX src/base/strings/string_split.o
    FAILED: src/base/strings/string_split.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/string_split.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/string_split.cc -o src/base/strings/string_split.o
    In file included from ../../../tools/gn/src/base/strings/string_split.cc:5:
    ../../../tools/gn/src/base/strings/string_split.h:8:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [19/194] CXX src/base/logging.o
    FAILED: src/base/logging.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/logging.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/logging.cc -o src/base/logging.o
    In file included from ../../../tools/gn/src/base/logging.cc:5:
    ../../../tools/gn/src/base/logging.h:10:10: fatal error: 'cassert' file not found
    #include <cassert>
             ^~~~~~~~~
    1 error generated.
    [20/194] CXX src/base/json/json_parser.o
    FAILED: src/base/json/json_parser.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/json/json_parser.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/json/json_parser.cc -o src/base/json/json_parser.o
    In file included from ../../../tools/gn/src/base/json/json_parser.cc:5:
    ../../../tools/gn/src/base/json/json_parser.h:11:10: fatal error: 'memory' file not found
    #include <memory>
             ^~~~~~~~
    1 error generated.
    [21/194] CXX src/base/strings/utf_string_conversions.o
    FAILED: src/base/strings/utf_string_conversions.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/utf_string_conversions.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/utf_string_conversions.cc -o src/base/strings/utf_string_conversions.o
    In file included from ../../../tools/gn/src/base/strings/utf_string_conversions.cc:5:
    ../../../tools/gn/src/base/strings/utf_string_conversions.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [22/194] CXX src/base/files/scoped_file.o
    FAILED: src/base/files/scoped_file.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/scoped_file.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/scoped_file.cc -o src/base/files/scoped_file.o
    In file included from ../../../tools/gn/src/base/files/scoped_file.cc:5:
    ../../../tools/gn/src/base/files/scoped_file.h:10:10: fatal error: 'memory' file not found
    #include <memory>
             ^~~~~~~~
    1 error generated.
    [23/194] CXX src/base/files/file_path.o
    FAILED: src/base/files/file_path.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_path.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_path.cc -o src/base/files/file_path.o
    In file included from ../../../tools/gn/src/base/files/file_path.cc:5:
    ../../../tools/gn/src/base/files/file_path.h:107:10: fatal error: 'iosfwd' file not found
    #include <iosfwd>
             ^~~~~~~~
    1 error generated.
    [24/194] CXX src/base/files/scoped_temp_dir.o
    FAILED: src/base/files/scoped_temp_dir.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/scoped_temp_dir.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/scoped_temp_dir.cc -o src/base/files/scoped_temp_dir.o
    In file included from ../../../tools/gn/src/base/files/scoped_temp_dir.cc:5:
    In file included from ../../../tools/gn/src/base/files/scoped_temp_dir.h:20:
    ../../../tools/gn/src/base/files/file_path.h:107:10: fatal error: 'iosfwd' file not found
    #include <iosfwd>
             ^~~~~~~~
    1 error generated.
    [25/194] CXX src/base/json/json_writer.o
    FAILED: src/base/json/json_writer.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/json/json_writer.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/json/json_writer.cc -o src/base/json/json_writer.o
    In file included from ../../../tools/gn/src/base/json/json_writer.cc:5:
    ../../../tools/gn/src/base/json/json_writer.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [26/194] CXX src/base/files/file.o
    FAILED: src/base/files/file.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file.cc -o src/base/files/file.o
    In file included from ../../../tools/gn/src/base/files/file.cc:5:
    ../../../tools/gn/src/base/files/file.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [27/194] CXX src/base/strings/string_util.o
    FAILED: src/base/strings/string_util.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/strings/string_util.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/strings/string_util.cc -o src/base/strings/string_util.o
    In file included from ../../../tools/gn/src/base/strings/string_util.cc:5:
    ../../../tools/gn/src/base/strings/string_util.h:15:10: fatal error: 'initializer_list' file not found
    #include <initializer_list>
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    [28/194] CXX src/base/files/file_enumerator_posix.o
    FAILED: src/base/files/file_enumerator_posix.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_enumerator_posix.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_enumerator_posix.cc -o src/base/files/file_enumerator_posix.o
    In file included from ../../../tools/gn/src/base/files/file_enumerator_posix.cc:5:
    ../../../tools/gn/src/base/files/file_enumerator.h:11:10: fatal error: 'vector' file not found
    #include <vector>
             ^~~~~~~~
    1 error generated.
    [29/194] CXX src/base/files/file_posix.o
    FAILED: src/base/files/file_posix.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_posix.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_posix.cc -o src/base/files/file_posix.o
    In file included from ../../../tools/gn/src/base/files/file_posix.cc:5:
    ../../../tools/gn/src/base/files/file.h:10:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [30/194] CXX src/base/files/file_enumerator.o
    FAILED: src/base/files/file_enumerator.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_enumerator.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_enumerator.cc -o src/base/files/file_enumerator.o
    In file included from ../../../tools/gn/src/base/files/file_enumerator.cc:5:
    ../../../tools/gn/src/base/files/file_enumerator.h:11:10: fatal error: 'vector' file not found
    #include <vector>
             ^~~~~~~~
    1 error generated.
    [31/194] CXX src/base/values.o
    FAILED: src/base/values.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/values.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/values.cc -o src/base/values.o
    In file included from ../../../tools/gn/src/base/values.cc:5:
    ../../../tools/gn/src/base/values.h:26:10: fatal error: 'iosfwd' file not found
    #include <iosfwd>
             ^~~~~~~~
    1 error generated.
    [32/194] CXX src/gn/action_values.o
    FAILED: src/gn/action_values.o 
    clang++ -target x86_64-linux  -MMD -MF src/gn/action_values.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/gn/action_values.cc -o src/gn/action_values.o
    In file included from ../../../tools/gn/src/gn/action_values.cc:5:
    ../../../tools/gn/src/gn/action_values.h:8:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 error generated.
    [33/194] CXX src/gn/action_target_generator.o
    FAILED: src/gn/action_target_generator.o 
    clang++ -target x86_64-linux  -MMD -MF src/gn/action_target_generator.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/gn/action_target_generator.cc -o src/gn/action_target_generator.o
    In file included from ../../../tools/gn/src/gn/action_target_generator.cc:5:
    In file included from ../../../tools/gn/src/gn/action_target_generator.h:8:
    ../../../tools/gn/src/gn/target.h:8:10: fatal error: 'set' file not found
    #include <set>
             ^~~~~
    1 error generated.
    [34/194] CXX src/base/files/file_util_posix.o
    FAILED: src/base/files/file_util_posix.o 
    clang++ -target x86_64-linux  -MMD -MF src/base/files/file_util_posix.o.d -I../../../tools/gn/src -I. -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++17 -c ../../../tools/gn/src/base/files/file_util_posix.cc -o src/base/files/file_util_posix.o
    In file included from ../../../tools/gn/src/base/files/file_util_posix.cc:5:
    ../../../tools/gn/src/base/files/file_util.h:15:10: fatal error: 'set' file not found
    #include <set>
             ^~~~~
    1 error generated.
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/chromium-111.0.5563.64/tools/gn/bootstrap/bootstrap.py", line 144, in <module>
        sys.exit(main(sys.argv[1:]))
      File "/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/chromium-111.0.5563.64/tools/gn/bootstrap/bootstrap.py", line 130, in main
        subprocess.check_call(cmd)
      File "/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py", line 369, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['ninja', '-C', '/home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/chromium-111.0.5563.64/out/Release/gn_build', '-w', 'dupbuild=err', 'gn']' returned non-zero exit status 1.
    WARNING: /home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/temp/run.do_compile.1552750:149 exit 1 from 'python3 /home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/chromium-111.0.5563.64/tools/gn/bootstrap/bootstrap.py --skip-generate-buildfiles'
    WARNING: Backtrace (BB generated script): 
    	#1: do_compile, /home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/temp/run.do_compile.1552750, line 149
    	#2: main, /home/a0499903local/work/sdks/am57/oe-layersetup/build/arago-tmp-default-glibc/work/x86_64-linux/gn-native/111.0.5563.64-r0/temp/run.do_compile.1552750, line 153

    Best,
    Jared

  • I've had a good amount of luck running builds with the following setting:

    export PARALLEL_MAKE="-j $(nproc) -l $(nproc)"

    The -l option, tells make to check the load average and only start new threads when the load average is below the target.  This has helped a bunch to keep builds from overwhelming my system.  Especially helpful if you have a lot of cpu cores and not a ton of memory.

  • Hi Jonathan,

    Thank you for the advice, that's very helpful.

    Best,
    Jared

  • Hi Jonathan,

    I realized that the gn-native issue is one that's seen if the build is not run within a container.

    I was able to build the tisdk-default-image without issue once the libce bug was fixed; I didn't have to change anything within the device tree.

    Best,
    Jared

  • Hmm I guess I'm not sure why we are having different results then.

    So far I need to make the following changes to get a working build:

    • libdce repo is gone
      Added bbappend to point to TI mirror
    • linux-ti-staging build failure looking for ti/am57x/am57x-evm.dtb
      Currently working around this by reverting meta-ti commit 929868924784
    • mtd-utils build failure due to conflicting bbappend files in meta-tisdk and meta-arago
      Currently working around this by BBMASK += "meta-tisdk/recipes-devtools/mtd"

  • Hi Jonathan,

    I applied the patch to the source repo, and then rebuilt the image.

    I'm also using the processor-sdk-linux-09_02_00_05.txt config.

    Best,
    Jared

  • Do both of these files exist in your layers?

    * meta-tisdk/recipes-devtools/mtd/mtd-utils_git.bbappend

    * meta-arago/meta-arago-test/recipes-devtools/mtd/mtd-utils_git.bbappend

  • Hi Jonathan,

    I only have the meta-arago/meta-arago-test/recipes-devtools/mtd/mtd-utils_git.bbappend within my sources.

    PR:append = ".arago2"
    
    SRC_URI:remove = "git://git.infradead.org/mtd-utils.git;branch=master \
    "
    
    SRC_URI:prepend = "git://git.infraroot.at/mtd-utils.git;branch=master;protocol=https \
    "
    
    BBCLASSEXTEND += "nativesdk"
    
    EXTRA_OEMAKE = "'CC=${CC} ${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'RANLIB=${RANLIB}' 'AR=${AR}' 'BUILDDIR=${S}'"
    
    do_compile:append() {
            oe_runmake tests
    }
    
    do_install:append() {
            install -m 0755 io_update ${D}${sbindir}/
            install -m 0755 volrefcnt ${D}${sbindir}/
            install -m 0755 integ ${D}${sbindir}/
            install -m 0755 io_paral ${D}${sbindir}/
            install -m 0755 io_read ${D}${sbindir}/
            install -m 0755 io_basic ${D}${sbindir}/
            install -m 0755 mkvol_basic ${D}${sbindir}/
            install -m 0755 mkvol_bad ${D}${sbindir}/
            install -m 0755 mkvol_paral ${D}${sbindir}/
            install -m 0755 rsvol ${D}${sbindir}/
            install -m 0755 tests/ubi-tests/runubitests.sh ${D}${sbindir}/
            install -m 0755 tests/ubi-tests/ubi-stress-test.sh ${D}${sbindir}/
    }
    
    PACKAGES =+ "mtd-utils-ubifs-tests"
    
    FILES:mtd-utils-ubifs-tests = " \
    ${sbindir}/io_update \
    ${sbindir}/volrefcnt \
    ${sbindir}/integ \
    ${sbindir}/io_paral \
    ${sbindir}/io_read \
    ${sbindir}/io_basic \
    ${sbindir}/mkvol_basic \
    ${sbindir}/mkvol_bad \
    ${sbindir}/mkvol_paral \
    ${sbindir}/rsvol \
    ${sbindir}/runubitests.sh \
    ${sbindir}/ubi-stress-test.sh \
    "
    

    Best,
    Jared

  • What revision of the meta-tisdk do you have checked out?

    $ grep meta-tisdk configs/processor-sdk-linux/processor-sdk-linux-09_02_00.txt
    meta-tisdk,git.ti.com/.../meta-tisdk.git,am57x-9.x,cb4bfc1b9082d3f5215ffdfd437c9133771e61dc,layers=

    oe-layersetup/sources/meta-tisdk$ git show
    commit cb4bfc1b9082d3f5215ffdfd437c9133771e61dc (HEAD, origin/am57x-9.x, am57x-9.x)
    Author: Sinthu Raja <sinthu.raja@ti.com>
    Date: Tue Mar 19 13:54:05 2024 +0000

    default-image: remove matrix gui packagegroups

    oe-layersetup/sources/meta-arago$ git show HEAD
    commit 3bc9220ea41ee74eea8e48505abbd94f2eee3625 (HEAD, tag: cicd.kirkstone.202405141220, tag: 09.02.00.010)
    Author: Aniket Limaye <a-limaye@ti.com>
    Date: Thu Mar 28 15:48:38 2024 +0530

    meta-arago-test: cpuloadgen: Update SRCREV to latest

  • Hi Jonathan,

    $ grep meta-tisdk configs/processor-sdk-linux/processor-sdk-linux-09_02_00_05.txt 
    meta-tisdk,https://git.ti.com/cgit/ti-sdk-linux/meta-tisdk,kirkstone,REL.J7.09.02.00.05,layers=
    
    $ git show
    commit 91ed7344860398165cd84038e3593cdc4f684052 (HEAD, tag: REL.J7.09.02.00.05)
    Author: Aniket Limaye <a-limaye@ti.com>
    Date:   Wed Mar 27 10:23:49 2024 +0530
    ...
    
    $ git show HEAD
    commit 91ed7344860398165cd84038e3593cdc4f684052 (HEAD, tag: REL.J7.09.02.00.05)
    Author: Aniket Limaye <a-limaye@ti.com>
    Date:   Wed Mar 27 10:23:49 2024 +0530
    ...

    Best,
    Jared

  • configs/processor-sdk-linux/processor-sdk-linux-09_02_00_05.txt

    Ah, so I was told at the top of this post, not to use that config and for the 57x to grab the config from this forum post: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1354396/tmdsevm572x-failed-to-load-boot-am57xx-evm-reva3-dtb/5184770#5184770

    Which is also the yocto config linked here: https://www.ti.com/tool/PROCESSOR-SDK-AM57X#downloads

    https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-L1u0FxxpZf/09.02.00.133/processor-sdk-linux-09_02_00_133.txt

    This all seems pretty unusual so some clarification would be appreciated.

  • Hi Jonathan,

    I'm sorry for the confusion.

    Whenever I am building a yocto image, I pull the most recent version of the oe-layersetup repository

    The config that you have been using is the config that is packaged with the initial SDK release. I don't usually use the config files packaged within the SDKs, because they are not the most recent versions. I do understand that this isn't the normal customer workflow however.

    Best,
    Jared

  • Yeah, sorry for the confusion. I, too, started with the 09_02_00_05.txt config, but when it didn't work, I started this thread. I was told I could not use that config and needed to use the one from the linked post. 

    If you read through the other post, the other user also tried using the 09_02_00_05 config and had issues booting.

    The linked config appears to be a newer version (though maybe the version number can't be trusted) that was for some reason never pushed to the oe-layersetup repo. But considering it doesn't work, maybe that's why...

    There does appear to be quite a few commits in the meta-tisdk am57x-9.x branch that didn't make it into the kirkstone branch. 

    Also do you know what the difference between the processor-sdk and processor-sdk-linux configs is?

  • Hi Jonathan,

    The processor-sdk directory stores some demo configs, while the processor-sdk-linux directory stores the configs for the standard tisdk images.

    Best,
    Jared

  • The processor-sdk directory stores some demo configs, while the processor-sdk-linux directory stores the configs for the standard tisdk images.

    Both the 335x and the 62x/62Px use processor-sdk, the 62Ax uses processor-sdk-analytics, so I am a bit curious that the 57x uses processor-sdk-linux.

  • Hi Jonathan,

    I know you can use the processor-sdk-linux configs for the 62x and 62Px; I don't have experience building for the 335x, however.

    The configs should be applicable to all of the platforms though.

    The 62A uses the processor-sdk-analytics configs because they contain the meta-edgeai layer. Generally speaking, the AM devices that end in A should use the processor-sdk-analytics configs to leverage the DSPs.

    Best,
    Jared

  • I know you can use the processor-sdk-linux configs for the 62x and 62Px; I don't have experience building for the 335x, however.

    We are getting a bit off topic, but I'm extra confused by this.  You defined the processor-sdk-linux configs as the standard tisdk configs, which they are not (at least for the 335x and 62x).  The fact that the 62x could use the configs in processor-sdk-linux doesn't help me decide why I would do so.

    Back to the 57x SDK config.  Which config do you recommend and does it boot/work on the SK?

  • Hi Jonathan,

    My previous knowledge was incorrect; let me provide a summary of correct information.

    The processor-sdk-* config files all contain the meta-tisdk layer within them. This layer contains some demo layers within it. The arago-* configs don't contain the meta-tisdk layer, but the arago-* configs are the configs that we constantly run core tests on.

    Within the processor-sdk-* configs there are three directories:

    Config Directory Description
    processor-sdk configs are added when support is added for a Sitara device
    processor-sdk-linux configs are added when support is added for a Jacinto device
    processor-sdk-analytics configs that contain the meta-edgeai layer for interacting with the DSP cores

    The reason I thought the processor-sdk-linux configs were the standard tisdk configs was because I work on Jacinto devices, so I see the processor-sdk-linux name within my documentation and not "processor-sdk".

    Another thing to note is that the processor-sdk-linux configs are almost equivalent to the processor-sdk-chromium configs.

    Which config should you use then? If you don't care about the demos that are packaged with meta-tisdk, the arago-* configs are the most stable. Specifically in your case: arago-kirkstone-config.txt or arago-kirkstone-chromium-config.txt (the 9.2 SDK release is on kirkstone). If you want the demos within meta-tisdk, the most recent 09.02.xx config from either the processor-sdk or processor-sdk-linux directories would be the most stable.

    Additionally, I don't have an AM57 SK currently, so I cannot test which boots, but hypothetically all of the configs should boot.

    Best,
    Jared

  • There does appear to be quite a few commits in the meta-tisdk am57x-9.x branch that didn't make it into the kirkstone branch. 

    Any idea how important the commits in the meta-tisdk am57x-9.x branch are?

  • Hi Jonathan,

    Just from a glance, some look very important.

    For example, commit 05147498e3076 fixes the y2038 issue for the AM57.

    Best,
    Jared

  • Is there any chance this branch can get merged into the regular kirkstone branch?

    The config that Josue linked, uses that branch but doesn't build successfully.

    The config you built, builds fine but is missing all these commits.

    Unfortunately, I've been too busy these past few weeks to investigate this further.

  • Hi Jonathan,

    The changes within the branch will get merged into the regular kirkstone branch for the 9.3 AM57 release. After which, the branch should no longer be needed. Ideally, the commits would have been pushed into the regular kirkstone branch originally to avoid this.

    Hopefully the error breaking the build is in another repository, and not meta-tisdk. If that's the case, you could edit the working config to pull in the am57 branch instead of the regular kirkstone branch so that it has the commits.

    Another option would be to add the commits as patches into a bbappend.

    Best,
    Jared

  • Is there an eta for the 9.3 release?

    Is there any way to access a beta/early version of that release?

  • HI Jonathan,

    Is there an eta for the 9.3 release?

    Mid to late devcember.

    Is there any way to access a beta/early version of that release?

    Unfortunately, no. The closest thing would just be to just pull in the most recent version of meta-tisdk and keep that up to date.

    Best,
    Jared