linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* kgdb compile error
@ 2002-12-20  8:35 于婧
  2002-12-23 16:32 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: 于婧 @ 2002-12-20  8:35 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org


hi!
  I want to debug the kernel with kgdb,so I build the kernel with CONFIG_KGDB.While there are something wrong with it.The error is listed below:
/////////
ppc_74xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o init/main.o init/version.o \
 --start-group \
 arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
  drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/macintosh/macintosh.o \
 net/network.o \
 /home/yujing/mykernel/kernel/lib/lib.a \
 --end-group \
 -o vmlinux
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 106.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 97.
ppc_74xx-ld: Dwarf Error: Line offset (33554432) bigger than line size (223020).
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 99.
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x89fc): undefined reference to
'getDebugChar'
arch/ppc/kernel/entry.S(.text+0x89fc): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a30): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a30): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a4c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a4c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a5c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a5c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a7c): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a7c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8a88): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a88): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aa0): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aa0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aac): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aac): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b20): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b20): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b3c):arch/ppc/kernel/entry.S: more undefined references to `putDebugChar' follow
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x8b3c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b58): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b68): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b78): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b7c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b7c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8df4): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x8df4): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
arch/ppc/kernel/entry.S(.text+0x9388): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x9388): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
make: *** [vmlinux] Error 1
 ///////
What's the problem?Wait for your help!
Thanks in advance!
                                                                         yujing
                                                                           yuj@mail.ndsc.com.cn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* kgdb compile error
@ 2002-12-23 14:51 于婧
  0 siblings, 0 replies; 3+ messages in thread
From: 于婧 @ 2002-12-23 14:51 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org


hi!
  I want to debug the kernel with kgdb,so I build the kernel with CONFIG_KGDB.While there are something wrong with it.The error is listed below:
/////////
ppc_74xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o init/main.o init/version.o \
 --start-group \
 arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
  drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/macintosh/macintosh.o \
 net/network.o \
 /home/yujing/mykernel/kernel/lib/lib.a \
 --end-group \
 -o vmlinux
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 106.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 97.
ppc_74xx-ld: Dwarf Error: Line offset (33554432) bigger than line size (223020).
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 99.
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x89fc): undefined reference to
'getDebugChar'
arch/ppc/kernel/entry.S(.text+0x89fc): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a30): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a30): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a4c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a4c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a5c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a5c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a7c): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a7c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8a88): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a88): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aa0): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aa0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aac): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aac): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b20): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b20): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b3c):arch/ppc/kernel/entry.S: more undefined references to `putDebugChar' follow
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x8b3c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b58): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b68): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b78): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b7c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b7c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8df4): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x8df4): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
arch/ppc/kernel/entry.S(.text+0x9388): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x9388): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
make: *** [vmlinux] Error 1
 ///////
What's the problem?Wait for your help!
Thanks in advance!
                                                                         yujing
                                                                           yuj@mail.ndsc.com.cn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: kgdb compile error
  2002-12-20  8:35 kgdb compile error 于婧
@ 2002-12-23 16:32 ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2002-12-23 16:32 UTC (permalink / raw)
  To: ????; +Cc: linuxppc-embedded@lists.linuxppc.org


On Fri, Dec 20, 2002 at 04:35:06PM +0800, ???? wrote:

>   I want to debug the kernel with kgdb,so I build the kernel with CONFIG_KGDB.While there are something wrong with it.The error is listed below:

KGDB is not supported on the board you are compiling for.  Look at the
arch/ppc/kernel/gen550_*.c files for some pointers on where to start.  A
tested patch once you have KGDB working will be happily reviewed.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-12-23 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20  8:35 kgdb compile error 于婧
2002-12-23 16:32 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2002-12-23 14:51 于婧

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).