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

Iván Castell icastell at nayarsystems.com
Tue Apr 17 03:06:51 PDT 2018


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 <sancelot at numalliance.com>:

>
>
> 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. *
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180417/8b36b9da/attachment.html>


More information about the yocto mailing list