Wind River Support Network

HomeDefectsLIN9-7349
Fixed

LIN9-7349 : kernel warning of file arch/x86/include/asm/pgtable_types.h

Created: Aug 20, 2018    Updated: Apr 24, 2019
Resolved Date: Sep 19, 2018
Found In Version: unknown
Fix Version: 9.0.0.18
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Kernel

Description

Warning log,
====
rch/x86/kernel/ldt.c:10:
/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':
/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)
                        ^
/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'
......
/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':
/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