[yocto] compiling core-image-sato failure on 32 bits system

Khem Raj raj.khem at gmail.com
Tue Apr 17 07:03:04 PDT 2018


On Tue, Apr 17, 2018 at 3:13 AM, Burton, Ross <ross.burton at intel.com> wrote:
> 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

> Ross
>
> On 17 April 2018 at 10:50, Stéphane Ancelot <sancelot at numalliance.com> wrote:
>>
>>
>> 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 <sancelot at numalliance.com>:
>>>
>>> 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.
>>>
>>>
>>>
>>
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list