Skip to contentSkip to conversation

Problem with dunfell on llvm_git.bb

DISCUSSION Ulises Vega 2 participants 3 messages Aug 6, 2022 – Aug 9, 2022

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I don't know if this is the right channel to post this problem. Please be patient with me and redirect me to the appropriate channel if needed. thanks

I've posted on the AGL community but no answer from them yet. So I do not know if this is a yocto problem.

I'm facing the following problem to build the marlin release for Automotive Grade Linux, it marks me this error and there is nothing deployed. I'm using opensuse 15.2 on virtual box 6.1.34, and I also tried Ubuntu 20.04. I installed all pre required packages from the yocto documentation. I run the following commands:

*source meta-agl/scripts/aglsetup.sh -m qemux86-64 -b qemux86-64 agl-demo agl-develtime bitbake agl-demo-platform*

I added this lines to local.conf:

*SSTATE_DIR = "/home/ulisesv/AGL/sstate-cache"DL_DIR = "/home/ulisesv/AGL/downloads"SSTATE_MIRRORS_append = " file://.*
https://download.automotivelinux.org/sstate-mirror/marlin/${DEFAULTTUNE}/PATH
<https://download.automotivelinux.org/sstate-mirror/marlin/$%7BDEFAULTTUNE%7D/PATH>
\n "*

and this lines to site.conf (inside <buidl-dir>/conf/site.conf, build-dir=qemux86_64 see below)

*# reuse download directoriesDL_DIR =
"/home/ulisesv/AGL/downloads/"SSTATE_DIR =
"/home/ulisesv/AGL/sstate-cache/"*

and got the following errors:

*bLLVMSupport.a lib/libLLVMDemangle.a -lz -lrt -ldl -ltinfo -lpthread
-lm -lxml2 && :| collect2: fatal error: ld terminated with signal 9
[Killed]| compilation terminated.| ninja: build stopped: subcommand failed.| WARNING: /home/ulisesv/AGL/marlin/**qemux86-64/tmp/work/corei7-64-* *agl-linux/llvm/9.0.1-r0/temp/*
*run.do_compile.3791:1 exit 1 from 'ninja -v -j 1'| ERROR: Execution of '/home/ulisesv/AGL/marlin/**qemux86-64/tmp/work/corei7-64-* *agl-linux/llvm/9.0.1-r0/temp/*
*run.do_compile.3791' failed with exit code 1ERROR: Task (/home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compile) failed with exit code '1'NOTE: Tasks Summary: Attempted 1311 tasks of which 1310 didn't need to be rerun and 1 failed.Summary: 1 task
failed: /home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compileSummary: There was 1 ERROR message shown, returning a non-zero exit
code.real 39m14.523suser 0m3.932ssys
0m0.518sulisesv@localhost:~/AGL/*

*marlin/qemux86-64> ls -la tmp/deploy/total 0drwxr-xr-x 1 ulisesv users 16 Jul 30 18:18 .drwxr-xr-x 1 ulisesv users 270 Jul 30 19:20 ..drwxr-xr-x 1 ulisesv users 482 Jul 29 21:17 licenses*

*I followed some steps in this link but it didn't work either:* *https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html
<https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html>*

*this seems to be similar error but mostly looks different source of error:* *https://github.com/AFLplusplus/AFLplusplus/issues/40
<https://github.com/AFLplusplus/AFLplusplus/issues/40>*

Any idea why this is happening?

Thank you for your help.

Signature · 1 line
Ulises S. Vega A.
#1 lore raw

Check dmesg/journal, I guess it was killed by OOMK. If that was the reason, then you need to add more ram/swap to your VM.

Quoted 101 lines · Ulises Vega

Hello everyone,

I don't know if this is the right channel to post this problem. Please be patient with me and redirect me to the appropriate channel if needed. thanks

I've posted on the AGL community but no answer from them yet. So I do not know if this is a yocto problem.

I'm facing the following problem to build the marlin release for Automotive Grade Linux, it marks me this error and there is nothing deployed. I'm using opensuse 15.2 on virtual box 6.1.34, and I also tried Ubuntu 20.04. I installed all pre required packages from the yocto documentation. I run the following commands:

*source meta-agl/scripts/aglsetup.sh -m qemux86-64 -b qemux86-64 agl-demo agl-develtime bitbake agl-demo-platform*

I added this lines to local.conf:

*SSTATE_DIR = "/home/ulisesv/AGL/sstate-cache"DL_DIR = "/home/ulisesv/AGL/downloads"SSTATE_MIRRORS_append = " file://.*
https://download.automotivelinux.org/sstate-mirror/marlin/${DEFAULTTUNE}/PATH
<https://download.automotivelinux.org/sstate-mirror/marlin/$%7BDEFAULTTUNE%7D/PATH>
\n "*

and this lines to site.conf (inside <buidl-dir>/conf/site.conf, build-dir=qemux86_64 see below)

*# reuse download directoriesDL_DIR =
"/home/ulisesv/AGL/downloads/"SSTATE_DIR =
"/home/ulisesv/AGL/sstate-cache/"*

and got the following errors:

*bLLVMSupport.a  lib/libLLVMDemangle.a  -lz  -lrt  -ldl  -ltinfo
 -lpthread  -lm  -lxml2 && :| collect2: fatal error: ld terminated with
signal 9 [Killed]| compilation terminated.| ninja: build stopped:

subcommand failed.| WARNING: /home/ulisesv/AGL/marlin/* *qemux86-64/tmp/work/corei7-64-**agl-linux/llvm/9.0.1-r0/temp/* *run.do_compile.3791:1 exit 1 from 'ninja -v -j 1'| ERROR: Execution of '/home/ulisesv/AGL/marlin/**qemux86-64/tmp/work/corei7-64-* *agl-linux/llvm/9.0.1-r0/temp/*
*run.do_compile.3791' failed with exit code 1ERROR: Task (/home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compile) failed with exit code '1'NOTE: Tasks Summary: Attempted 1311 tasks of which 1310 didn't need to be rerun and 1 failed.Summary: 1 task
failed: /home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compileSummary: There was 1 ERROR message shown, returning a non-zero
exit code.real 39m14.523suser 0m3.932ssys
0m0.518sulisesv@localhost:~/AGL/*

*marlin/qemux86-64> ls -la tmp/deploy/total 0drwxr-xr-x 1 ulisesv users
16 Jul 30 18:18 .drwxr-xr-x 1 ulisesv users 270 Jul 30 19:20 ..drwxr-xr-x
1 ulisesv users 482 Jul 29 21:17 licenses*

*I followed some steps in this link but it didn't work either:* *https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html
<https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html>*

*this seems to be similar error but mostly looks different source of error:* *https://github.com/AFLplusplus/AFLplusplus/issues/40
<https://github.com/AFLplusplus/AFLplusplus/issues/40>*

Any idea why this is happening?

Thank you for your help.

--
Ulises S. Vega A.

#2 lore raw

Thanks Martin... that made it. ;)

Ulises Vega

Quoted 107 lines · Martin Jansa

Check dmesg/journal, I guess it was killed by OOMK. If that was the reason, then you need to add more ram/swap to your VM.

Quoted 101 lines · Ulises Vega

Hello everyone,

I don't know if this is the right channel to post this problem. Please be patient with me and redirect me to the appropriate channel if needed. thanks

I've posted on the AGL community but no answer from them yet. So I do not know if this is a yocto problem.

I'm facing the following problem to build the marlin release for Automotive Grade Linux, it marks me this error and there is nothing deployed. I'm using opensuse 15.2 on virtual box 6.1.34, and I also tried Ubuntu 20.04. I installed all pre required packages from the yocto documentation. I run the following commands:

*source meta-agl/scripts/aglsetup.sh -m qemux86-64 -b qemux86-64 agl-demo agl-develtime bitbake agl-demo-platform*

I added this lines to local.conf:

*SSTATE_DIR = "/home/ulisesv/AGL/sstate-cache"DL_DIR = "/home/ulisesv/AGL/downloads"SSTATE_MIRRORS_append = " file://.*
https://download.automotivelinux.org/sstate-mirror/marlin/${DEFAULTTUNE}/PATH
<https://download.automotivelinux.org/sstate-mirror/marlin/$%7BDEFAULTTUNE%7D/PATH>
\n "*

and this lines to site.conf (inside <buidl-dir>/conf/site.conf, build-dir=qemux86_64 see below)

*# reuse download directoriesDL_DIR =
"/home/ulisesv/AGL/downloads/"SSTATE_DIR =
"/home/ulisesv/AGL/sstate-cache/"*

and got the following errors:

*bLLVMSupport.a  lib/libLLVMDemangle.a  -lz  -lrt  -ldl  -ltinfo
 -lpthread  -lm  -lxml2 && :| collect2: fatal error: ld terminated with
signal 9 [Killed]| compilation terminated.| ninja: build stopped:

subcommand failed.| WARNING: /home/ulisesv/AGL/marlin/* *qemux86-64/tmp/work/corei7-64-**agl-linux/llvm/9.0.1-r0/temp/* *run.do_compile.3791:1 exit 1 from 'ninja -v -j 1'| ERROR: Execution of '/home/ulisesv/AGL/marlin/**qemux86-64/tmp/work/corei7-64-* *agl-linux/llvm/9.0.1-r0/temp/*
*run.do_compile.3791' failed with exit code 1ERROR: Task (/home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compile) failed with exit code '1'NOTE: Tasks Summary: Attempted 1311 tasks of which 1310 didn't need to be rerun and 1 failed.Summary: 1 task
failed: /home/ulisesv/AGL/marlin/**external/poky/meta/recipes-* *devtools/llvm/llvm_git.bb:do_*

*compileSummary: There was 1 ERROR message shown, returning a non-zero
exit code.real 39m14.523suser 0m3.932ssys
0m0.518sulisesv@localhost:~/AGL/*

*marlin/qemux86-64> ls -la tmp/deploy/total 0drwxr-xr-x 1 ulisesv users
16 Jul 30 18:18 .drwxr-xr-x 1 ulisesv users 270 Jul 30 19:20 ..drwxr-xr-x
1 ulisesv users 482 Jul 29 21:17 licenses*

*I followed some steps in this link but it didn't work either:* *https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html
<https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002112.html>*

*this seems to be similar error but mostly looks different source of error:* *https://github.com/AFLplusplus/AFLplusplus/issues/40
<https://github.com/AFLplusplus/AFLplusplus/issues/40>*

Any idea why this is happening?

Thank you for your help.

--
Ulises S. Vega A.

Signature · 1 line
Ulises S. Vega A.