[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5593D536.6050601@gmail.com>
Date: Wed, 01 Jul 2015 20:55:34 +0900
From: Makoto Harada <makotouu@...il.com>
To: linux-kernel@...r.kernel.org
Subject: kallsym build error
Hello, I'm writing this mail to report the kallsyms problem as requested by
following error message.
The reason why I'm reporting this to linux-kernel is get_maintainer.pl show this
mailing list.
Please let me know if this is not the appropriate place to report this kinds of
problem.
------------------------------------------
Inconsistent kallsyms data
This is a bug - please report about it
Try make KALLSYMS_EXTRA_PASS=1 as a workaround
make: *** [vmlinux] エラー 1
------------------------------------------
o Symptom
- Linux 3.4 Base
- Use .config_kallsymerr
- arm-linux-gnueabihf-gcc : version 4.6.3
- KALLSYMS_EXTRA_PASS=1 option does not work.
o How to solve the problem
When the patch (*1) is applied, the build error solved.
But this patch is not merged into the main line.
(*1) https://bugzilla.kernel.org/show_bug.cgi?id=69021
o Additional comment
Would like to know if the patch (*1) is valid way to solve this problem or not.
if not, I hope kallsym expert to analyze it. The problem can be easily
duplicated
as described below.
If requested, I'm happy to test the another patch, or to provide the
additional information.
I can not try the latest kernel version 4.x because this kallsym build error
problem is highly depending on the kernel configuration and source code, thus
the problem would not be duplicated with such a version.
o How to duplicate the problem
# Setup the development environment
Download following vmware image. This image is debian wheezy with all of
cross compile environment prepared.
http://armadillo.atmark-techno.com/files/downloads/atde/atde5-i386-20150612.tar.xz
# Download the linux kernel, copy .config, compile
[ATDE ~]$ wget
http://armadillo.atmark-techno.com/files/downloads/armadillo-840/source/linux-3.4-at14.tar.gz
[ATDE ~]$ wtar xvfz linux-3.4-at14.tar.gz
[ATDE ~]$ wcp .config_kallsymerr
[ATDE ~]$ wmake ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
...
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' は更新済みです
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
Inconsistent kallsyms data
This is a bug - please report about it
Try make KALLSYMS_EXTRA_PASS=1 as a workaround
make: *** [vmlinux] エラー 1
Kind Regards,
Makoto Harada
View attachment ".config_kallsymerr" of type "text/plain" (61111 bytes)
Powered by blists - more mailing lists