#yocto #llvm #yocto #llvm


Monsees, Steven C (US)
 

 

I attempted to add llvm to my zeus image, and I am seeing the following Yocto build error…

 

What is the actual problem here, and how best resolve ?

 

Build Configuration:

BB_VERSION           = "1.44.0"

BUILD_SYS            = "x86_64-linux"

NATIVELSBSTRING      = "rhel-7.9"

TARGET_SYS           = "x86_64-poky-linux"

MACHINE              = "sbcb-default"

DISTRO               = "limws"

DISTRO_VERSION       = "3.0.4"

TUNE_FEATURES        = "m64 corei7"

TARGET_FPU           = ""

meta

meta-poky            = "my_yocto_3.0.4:f2eb22a8783f1eecf99bd4042695bab920eed00e"

meta-perl

meta-python

meta-filesystems

meta-networking

meta-initramfs

meta-oe              = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"

meta-clang           = "zeus:f5355ca9b86fb5de5930132ffd95a9b352d694f9"

meta                 = "master:a32ddd2b2a51b26c011fa50e441df39304651503"

meta-intel           = "zeus:d9942d4c3a710406b051852de7232db03c297f4e"

meta-intel           = "v2019.02:f635a364c55f1fb12519aff54924a0a5b947091e"

 

Initialising tasks: 100% |#######################################################| Time: 0:00:04

Checking sstate mirror object availability: 100% |###############################| Time: 0:00:00

Sstate summary: Wanted 2129 Found 2090 Missed 39 Current 0 (98% match, 0% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

ERROR: llvm-8.0.1-r0 do_compile: Execution of '/disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/run.do_compile.18964' failed with exit code 1:

ninja: error: '/disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/recipe-sysroot-native/usr/bin/llvm-tblgen8.0.1', needed by 'include/llvm/IR/Attributes.inc', missing and no known rule to make it

WARNING: /disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/run.do_compile.18964:1 exit 1 from 'ninja -v -j 4'

 

ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/log.do_compile.18964

Log data follows:

| DEBUG: Executing shell function do_compile

| ninja: error: '/disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/recipe-sysroot-native/usr/bin/llvm-tblgen8.0.1', needed by 'include/llvm/IR/Attributes.inc', missing and no known rule to make it

| WARNING: /disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/run.do_compile.18964:1 exit 1 from 'ninja -v -j 4'

| ERROR: Execution of '/disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/run.do_compile.18964' failed with exit code 1:

| ninja: error: '/disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/recipe-sysroot-native/usr/bin/llvm-tblgen8.0.1', needed by 'include/llvm/IR/Attributes.inc', missing and no known rule to make it

| WARNING: /disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default/tmp/work/corei7-64-poky-linux/llvm/8.0.1-r0/temp/run.do_compile.18964:1 exit 1 from 'ninja -v -j 4'

|

ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-devtools/llvm/llvm_git.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 5949 tasks of which 5385 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-devtools/llvm/llvm_git.bb:do_compile

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

15:16 smonsees@yix490038 /disk0/scratch/smonsees/yocto/workspace_3/builds2/sbcb-default>