Wind River Support Network

HomeDefectsLIN8-9635
Fixed

LIN8-9635 : kernel warning of file arch/x86/include/asm/pgtable_types.h

Created: Aug 7, 2018    Updated: Jan 15, 2019
Resolved Date: Aug 20, 2018
Found In Version: 8.0.0.27
Fix Version: 8.0.0.27
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

Warning log,
====
rch/x86/kernel/ldt.c:10:
/data/fast_build/sanity/80_windshare_fresh/base/build_dir/08061111-build_default_image_fresh/intel-x86-32-standard-glibc-std/bitbake_build/tmp/work-shared/intel-x86-32/kernel-source/arch/x86/kernel/ldt.c: In function 'alloc_ldt_struct':
/data/fast_build/sanity/80_windshare_fresh/base/build_dir/08061111-build_default_image_fresh/intel-x86-32-standard-glibc-std/bitbake_build/tmp/work-shared/intel-x86-32/kernel-source/arch/x86/include/asm/pgtable_types.h:173:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #define __PAGE_KERNEL  (__PAGE_KERNEL_EXEC | _PAGE_NX)
                        ^
/data/fast_build/sanity/80_windshare_fresh/base/build_dir/08061111-build_default_image_fresh/intel-x86-32-standard-glibc-std/bitbake_build/tmp/work-shared/intel-x86-32/kernel-source/arch/x86/kernel/ldt.c:80:6: note: in expansion of macro '__PAGE_KERNEL'
......
/data/fast_build/sanity/80_windshare_fresh/base/build_dir/08061111-build_default_image_fresh/intel-x86-32-standard-glibc-std/bitbake_build/tmp/work-shared/intel-x86-32/kernel-source/arch/x86/kernel/cpu/perf_event_intel_bts.c: In function 'bts_buffer_setup_aux':
/data/fast_build/sanity/80_windshare_fresh/base/build_dir/08061111-build_default_image_fresh/intel-x86-32-standard-glibc-std/bitbake_build/tmp/work-shared/intel-x86-32/kernel-source/arch/x86/include/asm/pgtable_types.h:173:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #define __PAGE_KERNEL  (__PAGE_KERNEL_EXEC | _PAGE_NX)
====

Steps to Reproduce

$ configure --enable-board=intel-x86-32 --enable-kernel=standard --enable-rootfs=glibc-std --enable-checkout-all-layers=yes --enable-rm-work=yes --enable-rm-oldimgs=yes --with-layer=wr-kernel/kernel-dev --with-rcpl-version=0027
$ make -C build linux-windriver
# check kernel log file kernel_log.do_compile

Other Downloads


Live chat
Online