[#5955] Build bf561-ezkit SMP kernel fails at bfin_ksyms.o
Submitted By: Vivi Li
Open Date
2010-03-09 22:00:35 Close Date
2010-03-16 06:21:42
Priority:
Medium High Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF561 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: Build bf561-ezkit SMP kernel fails at bfin_ksyms.o
Details:
Build bf561-ezkit SMP kernel fails at bfin_ksyms.o in latest trunk.
Kernel can be built without SMP configuration.
--
CC arch/blackfin/kernel/bfin_ksyms.o
arch/blackfin/kernel/bfin_ksyms.c:100: error: ‘__raw_read_lock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:100: warning: type defaults to ‘int’ in declaration of ‘__raw_read_lock_asm’
arch/blackfin/kernel/bfin_ksyms.c:101: error: ‘__raw_read_trylock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:101: warning: type defaults to ‘int’ in declaration of ‘__raw_read_trylock_asm’
arch/blackfin/kernel/bfin_ksyms.c:102: error: ‘__raw_read_unlock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:102: warning: type defaults to ‘int’ in declaration of ‘__raw_read_unlock_asm’
arch/blackfin/kernel/bfin_ksyms.c:103: error: ‘__raw_write_lock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:103: warning: type defaults to ‘int’ in declaration of ‘__raw_write_lock_asm’
arch/blackfin/kernel/bfin_ksyms.c:104: error: ‘__raw_write_trylock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:104: warning: type defaults to ‘int’ in declaration of ‘__raw_write_trylock_asm’
arch/blackfin/kernel/bfin_ksyms.c:105: error: ‘__raw_write_unlock_asm’ undeclared here (not in a function)
arch/blackfin/kernel/bfin_ksyms.c:105: warning: type defaults to ‘int’ in declaration of ‘__raw_write_unlock_asm’
make[1]: *** [arch/blackfin/kernel/bfin_ksyms.o] Error 1
--
Follow-ups
--- Mingquan Pan 2010-03-12 05:47:13
After something related cheched in, the bf537 kernel builds fails like:
In file included from
/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/cacheflush.h:14,
from include/asm-generic/io.h:15,
from
/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/io.h:63,
from include/linux/clocksource.h:19,
from include/linux/clockchips.h:13,
from include/linux/tick.h:9,
from init/main.c:46:
/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/smp.h:16:22:
error: mach/smp.h: No such file or directory
/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/smp.h:18:1:
warning: "raw_smp_processor_id" redefined
In file included from include/linux/topology.h:33,
from include/linux/gfp.h:7,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from init/main.c:13:
include/linux/smp.h:124:1: warning: this is the location of the previous
definition
make[2]: *** [init/main.o] Error 1
make[1]: *** [init] Error 2
make[1]: Leaving directory
`/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make: *** [linux] Error 1
--- Vivi Li 2010-03-16 06:20:32
OK now.
Close this bug.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.smp application/octet-stream 26553 Vivi Li