Wind River Support Network

HomeDefectsLIN7-7287
Fixed

LIN7-7287 : make[3]: *** [fs/squashfs] Error 2

Created: Jan 3, 2017    Updated: Sep 8, 2018
Resolved Date: Jan 10, 2017
Found In Version: 7.0
Fix Version: 7.0.0.23
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

| DEBUG: Executing shell function do_compile_kernelmodules
| NOTE: make -j 16 modules CC=x86_64-wrs-linux-gcc LD=x86_64-wrs-linux-ld
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/Makefile:1090: target '_clean_samples' given more than once in the same rule
| make[3]: Nothing to be done for 'all'.
| CHK include/config/kernel.release
| GEN /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.14-r0/linux-intel_x86_64-standard-build/Makefile
| CHK include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| make[3]: Nothing to be done for 'relocs'.
| Using /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source as source for kernel
| CALL /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/checksyscalls.sh
| CC [M] fs/squashfs/block.o
| CC [M] fs/squashfs/cache.o
| CC [M] fs/squashfs/dir.o
| CC [M] fs/squashfs/export.o
| CC [M] fs/squashfs/file.o
| CC [M] fs/squashfs/fragment.o
| CC [M] fs/squashfs/id.o
| CC [M] fs/squashfs/inode.o
| CC [M] fs/squashfs/namei.o
| CC [M] fs/squashfs/super.o
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c: In function 'squashfs_sleep_on_buffer':
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c:44:2: error: implicit declaration of function 'io_schedule' [-Werror=implicit-function-declaration]
| io_schedule();
| ^
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c:45:2: error: implicit declaration of function 'fatal_signal_pending' [-Werror=implicit-function-declaration]
| return fatal_signal_pending(current) ? -EINTR : 0;
| ^
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c: In function 'squashfs_wait_on_buffer_killable':
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c:58:5: error: 'TASK_KILLABLE' undeclared (first use in this function)
| TASK_KILLABLE);
| ^
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/squashfs/block.c:58:5: note: each undeclared identifier is reported only once for each function it appears in
| cc1: some warnings being treated as errors
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/Makefile.build:308: recipe for target 'fs/squashfs/block.o' failed
| make[4]: *** [fs/squashfs/block.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/Makefile.build:455: recipe for target 'fs/squashfs' failed
| make[3]: *** [fs/squashfs] Error 2
| /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/Makefile:847: recipe for target 'fs' failed
| make[2]: *** [fs] Error 2
| make[2]: *** Waiting for unfinished jobs....
| Makefile:133: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:26: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.14-r0/temp/do_compile_kernelmodules/run.do_compile_kernelmodules.11271:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile_kernelmodules (log file is located at /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/3.14-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.11271)
ERROR: Task 27 (/WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_compile_kernelmodules) failed with exit code '1'
NOTE: Tasks Summary: Attempted 426 tasks of which 419 didn't need to be rerun and 1 failed.
No currently running tasks (426 of 439)

Summary: 1 task failed:
  /WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.14.bb, do_compile_kernelmodules
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [linux-windriver.rebuild] Error 1
make: Leaving directory `/WRL7/build_dir/kernel/GIT_201701/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/build'

Steps to Reproduce

1)configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std

2) enable

CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_XATTR=y

3) make -C build linux-windriver

Other Downloads


Live chat
Online