[#6024] Kernel xip failed to build due to strncpy calling memcpy in assembly
Submitted By: Vivi Li
Open Date
2010-05-11 00:23:55 Close Date
2010-05-19 04:23:43
Priority:
Medium Assignee:
Robin Getz
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2010_Jan_22
App binary format:
N/A
Summary: Kernel xip failed to build due to strncpy calling memcpy in assembly
Details:
Kernel xip failed to build on BF527-EZKIT/BF526-EZBRD in latest trunk.
The bug appears some time between April 29th and May 7th.
--
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/blackfin/lib/lib.a(strncpy.o): In function `strncpy':
arch/blackfin/lib/strncpy.S:71: relocation truncated to fit: R_BFIN_PCREL24 against symbol `memset' defined in .text section in arch/blackfin/lib/lib.a(memset.o)
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make: *** [linux] Error 1
--
Follow-ups
--- Mike Frysinger 2010-05-11 01:50:23
the new arch/blackfin/lib/strncpy.S code needs to use pseudo_long_call with
memset rather than a direct CALL. but we need a free scratch register to JUMP
indirectly via ...
Robin gets to find it
--- Mike Frysinger 2010-05-15 20:47:38
the board is irrelevant
--- Robin Getz 2010-05-17 15:44:49
should be fixed in trunk.
-Robin
--- Vivi Li 2010-05-19 04:21:31
OK now, close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.kernel_xip.fdpic application/octet-stream 31249 Vivi Li
config.config.kernel_xip.fdpic application/octet-stream 46131 Vivi Li