[OE-core] [PATCH V2] mesa, llvm: Use native version of llvm-config

Khem Raj raj.khem at gmail.com
Tue Aug 1 13:58:04 UTC 2017


On Tue, Aug 1, 2017 at 3:44 AM, Burton, Ross <ross.burton at intel.com> wrote:
> ERROR: llvm-5.0-r0 do_compile: Function failed: do_compile (log file is
> located at
> /data/poky-tmp/master/build/work/corei7-64-poky-linux/llvm/5.0-r0/temp/log.do_compile.4542)
> ERROR: Logfile of failure stored in:
> /data/poky-tmp/master/build/work/corei7-64-poky-linux/llvm/5.0-r0/temp/log.do_compile.4542
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | ninja: error:
> '/data/poky-tmp/master/build/work/corei7-64-poky-linux/llvm/5.0-r0/recipe-sysroot-native/usr/bin/llvm-tblgen',
> needed by 'include/llvm/IR/Attributes.gen.tmp', missing and no known rule to
> make it
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /data/poky-tmp/master/build/work/corei7-64-poky-linux/llvm/5.0-r0/temp/log.do_compile.4542)
> ERROR: Task
> (/home/ross/Yocto/poky/meta/recipes-devtools/llvm/llvm_git.bb:do_compile)
> failed with exit code '1'

yes, just realized that I was building it with a build where
meta-clang is included and TOOLCHAIN = "clang"
so it was getting llvm-tblgen from clang when llvm-native version got
renamed so it kept on building for me.
I have sent a next rev of the patches which addresses this issue as
well as your comment.



More information about the Openembedded-core mailing list