Hi NXP Team:
I am using yocto to build Linux kernel6.6.36 for imx6ullevk, but I'm having some issues.When I build with the bitbake core-image-minimal command, Task (virtual:native:/home/user/Project/Yocto/yocto-nxp-imx6ull/sources/poky/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb:do_ compile) failed with exit code '1'.I checked the local rustc version and tried to recompile but nothing worked。
Do you have any idea about to fixed the issue? Thanks
Hi @bruceJR3
Did you try to have a clean build for the recipe - rust-llvm?
If still not work, please share full error log and full steps you have taken and what is the version of your host?
Regards
Harvey
Several suggestions.
1, What version of BSP are you building? like this one?
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-nanbield -m imx-6.6.3-1.0.0.xml
2, What about change the DISTRO to fsl-imx-fb.
3, How is the performance of your host? a ratio for RAM against cores is 4:1 that would be recommended.
Regards
Harvey
Hi,
The size of RAM should be at least 8GB.
Regards
Harvey
Hi,
I just now try to build it again on my host, there is no issue. as seen below.
bitbake core-image-minimal
Loading cache: 100% |#################################################################################################################| Time: 0:00:01
Loaded 5717 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################################| Time: 0:00:01
Parsing of 3642 .bb files complete (3641 cached, 1 parsed). 5718 targets, 764 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ullevk"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe
meta-multimedia
meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:6bbf35e73f1b537b19be830462af87a3bd68e1ab"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline
meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm
meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome
meta-networking
meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec
meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"
NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.5/x86_64-nativesdk-libc-4.5.tar.xz;sha256sum=... (will check PREMIRRORS first)
Sstate summary: Wanted 2083 Local 0 Mirrors 0 Missed 2083 Current 34 (0% match, 1% complete)############################## | ETA: 0:00:00
Initialising tasks: 100% |############################################################################################################| Time: 0:00:02
NOTE: Executing Tasks
WARNING: bzip2-native-1.0.8-r0 do_fetch: Failed to fetch URL git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests;branch=master;protocol=https, attempting MIRRORS if available
WARNING: libxml-parser-perl-native-2.47-r0 do_fetch: Failed to fetch URL https://search.cpan.org/CPAN/modules/by-module/XML/XML-Parser-2.47.tar.gz, attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 4482 tasks of which 47 didn't need to be rerun and all succeeded.
Command lines:
2034 2024-12-05 15:17:11 mkdir 6ull
2035 2024-12-05 15:17:14 cd 6ull
2036 2024-12-05 15:17:48 repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
2037 2024-12-05 15:18:00 repo sync
2038 2024-12-05 15:21:29 MACHINE=imx6ullevk DISTRO=fsl-imx-fb source imx-setup-release.sh -b build-fb
2039 2024-12-05 15:21:48 bitbake core-image-minimal
Make sure that you follow up the Yocto user Guide for the "3 Host Setup" and the performance of your PC host is critical and network.
Regards
Harvey