Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

From: Russell King - ARM Linux
Date: Fri Nov 02 2007 - 15:50:41 EST


On Fri, Nov 02, 2007 at 08:29:31PM -0700, Kristoffer Ericson wrote:
> Greetings,
>
> Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.
>
> dnsdomainname: Unknown host
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> kernel/built-in.o(.text+0x18db0): In function `destroy_workqueue':
> kernel/workqueue.c:823: undefined reference to `.L342'
> kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
> make: *** [.tmp_vmlinux1] Error 1

I think you'll have to look at the assembly produced for workqueue.c and
work out why GCC is referencing an undefined label. You can get the
assembly for that by doing:

make ARCH=arm ...etc... kernel/workqueue.s

and then you'll have a kernel/workqueue.s in your object tree.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/