compiling core-image-sato failure on 32 bits system
**
*Hi,*
*
**
On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow;
**
unfortunately nothing seems interesting in log*.*do_install.
**
what can I do ?
*
Regards,
Steph
*
**
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "i586-poky-linux"
MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION = "2.4.2"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
Initialising tasks: 100% |############################################################################################################################################################| Time: 0:00:30
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0 do_install: oe_runmake failed
ERROR: linux-libc-headers-4.12-r0 do_install: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)
ERROR: Logfile of failure stored in: /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E headers_install INSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr
| Segmentation fault
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)
ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install
Summary: There was 1 WARNING message shown.
*
A message that is not in the archive (sent off-list or not yet received): CAALXFYxkizrNiHLUsOUUz88Fgk+v039B+RYivtPhn84ydZd17A@mail.gmail.com
Le 17/04/2018 à 09:08, Iván Castell a écrit :
Quoted 2 lines
Review "dmesg" output to see if there is some kernel crash in your host machine. Which CPU are you using to compile yocto (your host machine)?We also have been dealing with this kind of issues compiling with anAMD Ryzen 7 1700 Eight-Core Processor and (in our case) it seems is a bug related with the CPU.
This is a core i5, but the installed system runs a 32bit ubuntu system. There is no crash message in dmesg, I have setted up a swapfile in the system
Quoted 126 lines
2018-04-17 8:51 GMT+02:00 Stéphane Ancelot <[email protected] <mailto:[email protected]>>:
**
*Hi,*
*
**
On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow;
**
unfortunately nothing seems interesting in log*.*do_install.
**
what can I do ?
*
Regards,
Steph
*
Build Configuration:
BB_VERSION= "1.36.0"
BUILD_SYS= "i686-linux"NATIVELSBSTRING = "universal"
TARGET_SYS= "i586-poky-linux"MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION= "2.4.2"
TUNE_FEATURES= "m32 i586"
TARGET_FPU= ""meta
meta-poky
meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
Initialising tasks: 100% |############################################################################################################################################################|
Time: 0:00:30NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0
do_install:oe_runmakefailedERROR: linux-libc-headers-4.12-r0
do_install: Function failed:
do_install(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Logfile of failure stored in:
/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172Log data follows:
| DEBUG: Executing python function
extend_recipe_sysroot| NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot:
['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native']| DEBUG: Python function
extend_recipe_sysrootfinished| DEBUG: Executing shell function
do_install| NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E
headers_installINSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr| Segmentation fault
| ERROR:
oe_runmakefailed| WARNING: exit code 1 from a shell command.
| ERROR: Function failed:
do_install(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install
Summary: There was 1 WARNING message shown.
*
If dmesg message shows no crashes your problem seems not related with the
CPU of your host (build) machine. You should investigate further about that "Segmentation Fault" ERROR message. What gcc version is installed in your
host machine? Also, check /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172 contents to gather more useful information to discover/fix your issue.
2018-04-17 11:50 GMT+02:00 Stéphane Ancelot <[email protected]>:
Quoted 78 lines · Iván Castell
Review "dmesg" output to see if there is some kernel crash in your host machine. Which CPU are you using to compile yocto (your host machine)? We also have been dealing with this kind of issues compiling with an AMD Ryzen 7 1700 Eight-Core Processor and (in our case) it seems is a bug related with the CPU.
This is a core i5, but the installed system runs a 32bit ubuntu system. There is no crash message in dmesg, I have setted up a swapfile in the system
2018-04-17 8:51 GMT+02:00 Stéphane Ancelot <[email protected]>:
*Hi,*
Quoted 59 lines
* On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow; *
* unfortunately nothing seems interesting in log.do_install. *
* what can I do ? *
Regards,
Steph
* Build Configuration:
BB_VERSION= "1.36.0"BUILD_SYS=
"i686-linux" NATIVELSBSTRING = "universal"TARGET_SYS=
"i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky"DISTRO_VERSION= "2.4.2"TUNE_FEATURES= "m32 i586"TARGET_FPU
= "" meta meta-poky meta-yocto-bsp =
"rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62" Initialising tasks: 100% |############################################################################################################################################################|
Time: 0:00:30 NOTE: Executing SetScene TasksNOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0
do_install:oe_runmakefailed ERROR:
linux-libc-headers-4.12-r0do_install: Function failed:do_install(log
file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)
ERROR: Logfile of failure stored in:/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172Log data follows: | DEBUG: Executing python functionextend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in
sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native',
'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native',
'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native'] | DEBUG: Python functionextend_recipe_sysroot
finished | DEBUG: Executing shell functiondo_install| NOTE: make -j 4
HOSTCC=gcc HOSTCPP=gcc -Eheaders_installINSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr| Segmentation fault | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_install (log file is locatedat
/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)
ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 191 tasks of which
185 didn't need to be rerun and 1 failed. Summary: 1 task failed:
/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install
Summary: There was 1 WARNING message shown. *
If you've an i5 why are you running a 32-bit OS? Just so you're aware, it's practically impossible to build webkit on a 32-bit host because there just isn't enough memory available.
Ross
Quoted 133 lines · Stéphane Ancelot
Le 17/04/2018 à 09:08, Iván Castell a écrit :
Review "dmesg" output to see if there is some kernel crash in your host machine. Which CPU are you using to compile yocto (your host machine)? We also have been dealing with this kind of issues compiling with an AMD Ryzen 7 1700 Eight-Core Processor and (in our case) it seems is a bug related with the CPU.
This is a core i5, but the installed system runs a 32bit ubuntu system. There is no crash message in dmesg, I have setted up a swapfile in the system
2018-04-17 8:51 GMT+02:00 Stéphane Ancelot <[email protected]>:
Quoted 100 lines
Hi,
On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow;
unfortunately nothing seems interesting in log.do_install.
what can I do ?
Regards,
Steph
Build Configuration:
BB_VERSION= "1.36.0"
BUILD_SYS= "i686-linux"NATIVELSBSTRING = "universal"
TARGET_SYS= "i586-poky-linux"MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION= "2.4.2"
TUNE_FEATURES= "m32 i586"
TARGET_FPU= ""meta
meta-poky
meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
Initialising tasks: 100% |############################################################################################################################################################|
Time: 0:00:30NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0
do_install:oe_runmakefailedERROR: linux-libc-headers-4.12-r0
do_install: Function failed:do_install
(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Logfile of failure stored in:
/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172Log data follows:
| DEBUG: Executing python function
extend_recipe_sysroot| NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native']
| DEBUG: Python function
extend_recipe_sysrootfinished| DEBUG: Executing shell function
do_install| NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E
headers_installINSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr| Segmentation fault
| ERROR:
oe_runmakefailed| WARNING: exit code 1 from a shell command.
| ERROR: Function failed:
do_install(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed.
Quoted 9 lines
Summary: 1 task failed:
/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install
Summary: There was 1 WARNING message shown.
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 4 lines · Ross
If you've an i5 why are you running a 32-bit OS? Just so you're aware, it's practically impossible to build webkit on a 32-bit host because there just isn't enough memory available.
you need 8G of RAM minimum or reduce your -j factor to 1 and have a lot of swap you might get lucky
Quoted 141 lines
Ross
Quoted 127 lines · Stéphane Ancelot
Le 17/04/2018 à 09:08, Iván Castell a écrit :
Review "dmesg" output to see if there is some kernel crash in your host machine. Which CPU are you using to compile yocto (your host machine)? We also have been dealing with this kind of issues compiling with an AMD Ryzen 7 1700 Eight-Core Processor and (in our case) it seems is a bug related with the CPU.
This is a core i5, but the installed system runs a 32bit ubuntu system. There is no crash message in dmesg, I have setted up a swapfile in the system
2018-04-17 8:51 GMT+02:00 Stéphane Ancelot <[email protected]>:
Quoted 100 lines
Hi,
On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow;
unfortunately nothing seems interesting in log.do_install.
what can I do ?
Regards,
Steph
Build Configuration:
BB_VERSION= "1.36.0"
BUILD_SYS= "i686-linux"NATIVELSBSTRING = "universal"
TARGET_SYS= "i586-poky-linux"MACHINE = "qemux86"
DISTRO = "poky"
DISTRO_VERSION= "2.4.2"
TUNE_FEATURES= "m32 i586"
TARGET_FPU= ""meta
meta-poky
meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
Initialising tasks: 100% |############################################################################################################################################################|
Time: 0:00:30NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-libc-headers-4.12-r0
do_install:oe_runmakefailedERROR: linux-libc-headers-4.12-r0
do_install: Function failed:do_install
(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Logfile of failure stored in:
/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172Log data follows:
| DEBUG: Executing python function
extend_recipe_sysroot| NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native']
| DEBUG: Python function
extend_recipe_sysrootfinished| DEBUG: Executing shell function
do_install| NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E
headers_installINSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr| Segmentation fault
| ERROR:
oe_runmakefailed| WARNING: exit code 1 from a shell command.
| ERROR: Function failed:
do_install(log file is located at/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172)ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed.
Quoted 9 lines
Summary: 1 task failed:
/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install
Summary: There was 1 WARNING message shown.
Quoted 6 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 8 lines · Khem Raj
Quoted 4 lines · Ross
If you've an i5 why are you running a 32-bit OS? Just so you're aware, it's practically impossible to build webkit on a 32-bit host because there just isn't enough memory available.
you need 8G of RAM minimum or reduce your -j factor to 1 and have a lot of swap you might get lucky
I've seen webkit fail to build on 32-bit systems because the linker has ran out of virtual address space.
Ross