Skip to contentSkip to conversation

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

BUG Kristoffer Ericson 3 participants 6 messages Nov 2, 2007 – Nov 3, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Kristoffer Ericson

Greetings,

Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.

dnsdomainname: Unknown host

Quoted 8 lines
  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.

#2 lore raw
Quoted 15 lines · Russell King - ARM Linux
Quoted 5 lines · Kristoffer Ericson

Greetings,

Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.

dnsdomainname: Unknown host

Quoted 8 lines
  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

Quoted 5 lines

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

#3 lore raw
Quoted 20 lines · On Fri, 2 Nov 2007 21:10:23 +0100 Sam Ravnborg <[email protected]> wrote:
Quoted 19 lines · Russell King - ARM Linux
Quoted 5 lines · Kristoffer Ericson

Greetings,

Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.

dnsdomainname: Unknown host

Quoted 8 lines
  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:

Quoted 8 lines
Quoted 1 line

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

#4 lore raw
Quoted 26 lines · Kristoffer Ericson
Quoted 23 lines · On Fri, 2 Nov 2007 21:10:23 +0100 Sam Ravnborg <[email protected]> wrote:
Quoted 15 lines · Russell King - ARM Linux
Quoted 5 lines · Kristoffer Ericson

Greetings,

Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.

dnsdomainname: Unknown host

Quoted 8 lines
  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

Quoted 5 lines

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:

Quoted 7 lines
Quoted 5 lines

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).

Quoted 4 lines

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

Quoted 8 lines

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.

#5 lore raw
Quoted 29 lines · On Sat, 3 Nov 2007 00:04:14 +0000 Russell King - ARM Linux…
Quoted 28 lines · Kristoffer Ericson
Quoted 25 lines · On Fri, 2 Nov 2007 21:10:23 +0100 Sam Ravnborg <[email protected]> wrote:
Quoted 15 lines · Russell King - ARM Linux
Quoted 5 lines · Kristoffer Ericson

Greetings,

Haven't found anyone reporting this. Taken from the very latest linux-2.6.git pull.

dnsdomainname: Unknown host

Quoted 8 lines
  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

Quoted 5 lines

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

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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.

Quoted 14 lines
Quoted 13 lines

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

Quoted 3 lines

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 :)