[#5752] Build some kernel failed at .tmp_vmlinux2 in latest trunk
Submitted By: Vivi Li
Open Date
2009-12-07 22:41:28 Close Date
2010-01-05 21:47:37
Priority:
Medium Assignee:
Jie Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Make Errors Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3_trunk3679
App binary format:
N/A
Summary: Build some kernel failed at .tmp_vmlinux2 in latest trunk
Details:
Build following cases in bf537-stamp will fail at .tmp_vmlinux2 in latest trunk: bluetooth/bluetoothuart/linphone_ad1836/lmbench/netaudio/oprofile.
Bellow is the example of bluetoothuart and config file is attached:
--
make[5]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M
CHK include/linux/version.h^M
CHK include/linux/utsrelease.h^M
SYMLINK include/asm -> include/asm-blackfin^M
CALL scripts/checksyscalls.sh^M
CHK include/linux/compile.h^M
AS usr/initramfs_data.o^M
LD usr/built-in.o^M
LD vmlinux.o^M
MODPOST vmlinux.o^M
GEN .version^M
CHK include/linux/compile.h^M
UPD include/linux/compile.h^M
CC init/version.o^M
LD init/built-in.o^M
LD .tmp_vmlinux1^M
KSYM .tmp_kallsyms1.S^M
AS .tmp_kallsyms1.o^M
LD .tmp_vmlinux2^M
block/built-in.o: In function `as_exit':^M
block/as-iosched.c:1511: relocation truncated to fit: R_BFIN_PCREL24 against symbol `wait_for_completion' defined in .sched.text section in kernel/built-in.o^M
block/built-in.o: In function `cfq_exit':^M
block/cfq-iosched.c:2725: relocation truncated to fit: R_BFIN_PCREL24 against symbol `wait_for_completion' defined in .sched.text section in kernel/built-in.o^M
make[5]: *** [.tmp_vmlinux2] Error 1^M
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M
make[4]: *** [image.uimage.initramfs.force] Error 2^M
make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'^M
make[3]: *** [image.uimage.gz.initramfs.force] Error 2^M
make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'^M
make[2]: *** [image] Error 2^M
make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'^M
make[1]: *** [image] Error 2^M
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors'^M
make: *** [image] Error 2^M
--
Follow-ups
--- Mike Frysinger 2009-12-07 23:33:04
dont enable function tracer and friends
--- Vivi Li 2009-12-08 03:35:52
I disabled all the configurations related to FUNCTION_TRACER and FTRACE, and
even manually removed it from arch/blackfin/Kconfig.
It still failed with the same error.
--- Mike Frysinger 2009-12-08 03:44:30
post the latest config that is failing
--- Vivi Li 2009-12-08 03:58:16
My latest config is attached and gcc version is 4.3.4 (ADI-trunk/svn-3762)
--- Mike Frysinger 2009-12-08 04:20:03
your config builds fine for me with current trunk. try doing a `make clean`.
--- Barry Song 2009-12-21 01:09:14
Sometimes, that happens to me too even after "make clean":
block/built-in.o: In function `as_exit':
block/as-iosched.c:1511: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `wait_for_completion' defined in .sched.text section in
kernel/built-in.o
block/built-in.o: In function `cfq_exit':
block/cfq-iosched.c:2725: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `wait_for_completion' defined in .sched.text section in
kernel/built-in.o
sound/built-in.o: In function `free_all_reserved_pages':
sound/core/memalloc.c:356: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `mutex_lock' defined in .sched.text section in kernel/built-in.o
sound/core/memalloc.c:364: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `mutex_unlock' defined in .sched.text section in kernel/built-in.o
sound/built-in.o: In function `free_all_reserved_pages':
sound/core/memalloc.c:356: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `mutex_lock' defined in .sched.text section in kernel/built-in.o
sound/core/memalloc.c:364: relocation truncated to fit: R_BFIN_PCREL24 against
symbol `mutex_unlock' defined in .sched.text section in kernel/built-in.o
--- Jie Zhang 2010-01-04 23:24:39
Should be fixed now.
--- Vivi Li 2010-01-05 21:47:36
OK, close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.bluetoothuart application/octet-stream 36238 Vivi Li
config.no_tracer application/octet-stream 35344 Vivi Li