Wind River Support Network

HomeDefectsLIN6-14912
Fixed

LIN6-14912 : make f2fs error

Created: Aug 22, 2018    Updated: Dec 16, 2018
Resolved Date: Nov 18, 2018
Found In Version: 6.0.0.37
Fix Version: 6.0.0.38
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

when build f2fs for wr6,  it will print errors as below: 
/wr6/wrlinux6-prj-std/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.10-r0/linux/fs/f2fs/segment.c: In function 'submit_write_page':
| /wr6/wrlinux6-prj-std/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.10-r0/linux/fs/f2fs/segment.c:738:17: error: 'struct bio' has no member named 'bi_sector'
|    sbi->bio[type]->bi_sector = SECTOR_FROM_BLOCK(sbi, blk_addr);
|                  ^
| make[4]: *** [fs/f2fs/segment.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[3]: *** [fs/f2fs] Error 2
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [fs] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /wr6/wrlinux6-prj-std/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/run.do_compile.244444:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /wr6/wrlinux6-prj-std/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/log.do_compile.244444)
ERROR: Task 13 (/wr6/wrlinux6-prj-std/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.10.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 515 tasks of which 512 didn't need to be rerun and 1 failed.
No currently running tasks (515 of 531)

Steps to Reproduce

0.config project 
configure \
    --enable-board=intel-x86-64 \
    --enable-jobs=8 \
    --enable-parallel-pkgbuilds=8 \
    --enable-kernel=secure \
    --enable-rootfs=secure_platform \
    --enable-reconfig=yes \
    --with-rcpl-version=0

1.make  -C build linux-windriver.menuconfig
 File systems  --->   
    <*> F2FS filesystem support                                            
    [*]   F2FS Status Information                                                      
    [*]   F2FS extended attributes                                                                                   
    [*]   F2FS Access Control Lists 
2. make -C  linux-windriver.rebuild

Other Downloads


Live chat
Online