public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
  2007-11-03  3:29 [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343' Kristoffer Ericson
@ 2007-11-02 19:48 ` Russell King - ARM Linux
  2007-11-02 20:10   ` Sam Ravnborg
  0 siblings, 1 reply; 6+ messages in thread
From: Russell King - ARM Linux @ 2007-11-02 19:48 UTC (permalink / raw)
  To: Kristoffer Ericson; +Cc: Linux-arm, linux-main

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
  2007-11-02 19:48 ` Russell King - ARM Linux
@ 2007-11-02 20:10   ` Sam Ravnborg
  2007-11-03  7:04     ` Kristoffer Ericson
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Ravnborg @ 2007-11-02 20:10 UTC (permalink / raw)
  To: Russell King - ARM Linux; +Cc: Kristoffer Ericson, Linux-arm, linux-main

On Fri, Nov 02, 2007 at 07:48:18PM +0000, Russell King - ARM Linux wrote:
> 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
Or make that:

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

to get intermixed C and assenbly

	Sam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
  2007-11-03  7:04     ` Kristoffer Ericson
@ 2007-11-03  0:04       ` Russell King - ARM Linux
  2007-11-03  8:43         ` Kristoffer Ericson
  0 siblings, 1 reply; 6+ messages in thread
From: Russell King - ARM Linux @ 2007-11-03  0:04 UTC (permalink / raw)
  To: Kristoffer Ericson; +Cc: Sam Ravnborg, Linux-arm, linux-main

On Sat, Nov 03, 2007 at 12:04:06AM -0700, Kristoffer Ericson wrote:
> On Fri, 2 Nov 2007 21:10:23 +0100
> Sam Ravnborg <sam@ravnborg.org> wrote:
> 
> > On Fri, Nov 02, 2007 at 07:48:18PM +0000, Russell King - ARM Linux wrote:
> > > 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
> > Or make that:
> > 
> > make ARCH=arm ...etc... kernel/workqueue.lst
> > 
> > to get intermixed C and assenbly
> > 
> > 	Sam
> arm-unknown-linux-gnu- kernel/workqueue.1strrent:)$ make ARCH=arm CROSS_COMPILE=a
> make: *** No rule to make target `kernel/workqueue.1st'.  Stop.

Suggest you use a better console font that allows you to identify
the difference between '1' (one) and 'l' (lima).

> arm-unknown-linux-gnu- kernel/workqueue.lstrrent:)$ make ARCH=arm CROSS_COMPILE=a
>   CHK     include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   CALL    scripts/checksyscalls.sh
> <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
> <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
> <stdin>:1321:2: warning: #warning syscall pselect6 not implemented
> <stdin>:1325:2: warning: #warning syscall ppoll not implemented
> <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
>   MKLST   kernel/workqueue.lst
> No System.map

You're not looking for a system.map file, but the workqueue.s or
workqueue.lst file to find out where this nonexistent label is
referenced.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
@ 2007-11-03  3:29 Kristoffer Ericson
  2007-11-02 19:48 ` Russell King - ARM Linux
  0 siblings, 1 reply; 6+ messages in thread
From: Kristoffer Ericson @ 2007-11-03  3:29 UTC (permalink / raw)
  To: Linux-arm; +Cc: linux-main

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
  2007-11-02 20:10   ` Sam Ravnborg
@ 2007-11-03  7:04     ` Kristoffer Ericson
  2007-11-03  0:04       ` Russell King - ARM Linux
  0 siblings, 1 reply; 6+ messages in thread
From: Kristoffer Ericson @ 2007-11-03  7:04 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Russell King - ARM Linux, Kristoffer Ericson, Linux-arm,
	linux-main

On Fri, 2 Nov 2007 21:10:23 +0100
Sam Ravnborg <sam@ravnborg.org> wrote:

> On Fri, Nov 02, 2007 at 07:48:18PM +0000, Russell King - ARM Linux wrote:
> > 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
> Or make that:
> 
> make ARCH=arm ...etc... kernel/workqueue.lst
> 
> to get intermixed C and assenbly
> 
> 	Sam
arm-unknown-linux-gnu- kernel/workqueue.1strrent:)$ make ARCH=arm CROSS_COMPILE=a
make: *** No rule to make target `kernel/workqueue.1st'.  Stop.
arm-unknown-linux-gnu- kernel/workqueue.lstrrent:)$ make ARCH=arm CROSS_COMPILE=a
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  MKLST   kernel/workqueue.lst
No System.map

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
  2007-11-03  0:04       ` Russell King - ARM Linux
@ 2007-11-03  8:43         ` Kristoffer Ericson
  0 siblings, 0 replies; 6+ messages in thread
From: Kristoffer Ericson @ 2007-11-03  8:43 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Kristoffer Ericson, Sam Ravnborg, Linux-arm, linux-main

On Sat, 3 Nov 2007 00:04:14 +0000
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:

> On Sat, Nov 03, 2007 at 12:04:06AM -0700, Kristoffer Ericson wrote:
> > On Fri, 2 Nov 2007 21:10:23 +0100
> > Sam Ravnborg <sam@ravnborg.org> wrote:
> > 
> > > On Fri, Nov 02, 2007 at 07:48:18PM +0000, Russell King - ARM Linux wrote:
> > > > 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
> > > Or make that:
> > > 
> > > make ARCH=arm ...etc... kernel/workqueue.lst
> > > 
> > > to get intermixed C and assenbly
> > > 
> > > 	Sam
> > arm-unknown-linux-gnu- kernel/workqueue.1strrent:)$ make ARCH=arm CROSS_COMPILE=a
> > make: *** No rule to make target `kernel/workqueue.1st'.  Stop.
> 
> Suggest you use a better console font that allows you to identify
> the difference between '1' (one) and 'l' (lima).
Point taken.

> 
> > arm-unknown-linux-gnu- kernel/workqueue.lstrrent:)$ make ARCH=arm CROSS_COMPILE=a
> >   CHK     include/linux/version.h
> > make[1]: `include/asm-arm/mach-types.h' is up to date.
> >   CHK     include/linux/utsrelease.h
> >   CALL    scripts/checksyscalls.sh
> > <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
> > <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
> > <stdin>:1321:2: warning: #warning syscall pselect6 not implemented
> > <stdin>:1325:2: warning: #warning syscall ppoll not implemented
> > <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
> >   MKLST   kernel/workqueue.lst
> > No System.map
> 
> You're not looking for a system.map file, but the workqueue.s or
> workqueue.lst file to find out where this nonexistent label is
> referenced.

Sorry, I misunderstod Sam's reply earlier. Tried to compile the .lst file :D
I've done some checks in the .config and seems like some setting in 'kernel hacking', caused this. Unfortunantly I changed too much at once to be sure what exactly in there caused it. 

Anyhow, thanks for helping out :)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-03  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03  3:29 [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343' Kristoffer Ericson
2007-11-02 19:48 ` Russell King - ARM Linux
2007-11-02 20:10   ` Sam Ravnborg
2007-11-03  7:04     ` Kristoffer Ericson
2007-11-03  0:04       ` Russell King - ARM Linux
2007-11-03  8:43         ` Kristoffer Ericson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox