All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] kdb patches for -pa23 ... moooo!
@ 2002-05-07  7:25 joel.soete
  2002-05-07 16:06 ` joel.soete
  0 siblings, 1 reply; 10+ messages in thread
From: joel.soete @ 2002-05-07  7:25 UTC (permalink / raw)
  To: carlos; +Cc: parisc-linux

Hi Carlos,

Well I well get your patch which I apply successfully against pa23.

On the other hand, I also reach to rebuild a toolchain with gcc-3.1 (some
difficulties with 3.2).

So to try to figure out what the problem is with kernel IP compile with gcc >
3.1, I try to compile kernel 2.4.18-pa23-kdb with gcc 3.1. But without any
experience with kdb the operation failled with following message:

gcc -D__KERNEL__
-I/GNU-Dev/parisc-linux/src/linux-2.4.18-pa23-kdb-20020502/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs
-mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7100   -DKBUILD_BASENAME=traps  -c -o traps.o traps.c
traps.c:50:23: linux/kdb.h: No such file or directory
traps.c: In function `die_if_kernel':
traps.c:310: warning: implicit declaration of function `kdb'
traps.c:310: `KDB_REASON_OOPS' undeclared (first use in this function)
traps.c:310: (Each undeclared identifier is reported only once
traps.c:310: for each function it appears in.)
traps.c: In function `handle_break':
traps.c:383: `KDB_BREAK_ENTER_INSN' undeclared (first use in this function)
traps.c:384: `KDB_REASON_ENTER' undeclared (first use in this function)
traps.c:387: `KDB_BREAK_BREAK_INSN' undeclared (first use in this function)
traps.c:388: `KDB_REASON_BREAK' undeclared (first use in this function)
traps.c: In function `handle_interruption':
traps.c:657: `KDB_REASON_DEBUG' undeclared (first use in this function)
/GNU-Dev/parisc-linux/src/linux-2.4.18-pa23-kdb-20020502/include/asm/irq.h: At
top level:
traps.c:130: warning: `dump_stack' defined but not used
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory
`/GNU-Dev/parisc-linux/src/linux-2.4.18-pa23-kdb-20020502/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2
Mon May  6 20:52:40 CEST 2002

Hmm the patch put kdb.h in include/asm-parisc but all #include refer to linux/kdb.h?

There should be also some problem with my .config where I select 
CONFIG_KDB=y
CONFIG_KDB_MODULES=y
# CONFIG_KDB_OFF is not set
CONFIG_KALLSYMS=y

(the rest is obtain for a common make oldconfig for PA7000 processor type)

Thanks in advance for additionnal help,
    Joel

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

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

end of thread, other threads:[~2002-05-08 14:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07  7:25 [parisc-linux] kdb patches for -pa23 ... moooo! joel.soete
2002-05-07 16:06 ` joel.soete
2002-05-07 17:46   ` Randolph Chung
2002-05-07 16:41     ` Paul Bame
2002-05-07 17:00       ` Paul Bame
2002-05-08  5:59     ` joel.soete
2002-05-08 10:19       ` [parisc-linux] kdb recipe Carlos O'Donell Jr.
2002-05-08 14:07         ` [parisc-linux] " joel.soete
2002-05-08 15:54         ` [parisc-linux] " Randolph Chung
2002-05-08 10:14   ` [parisc-linux] kdb patches for -pa23 ... moooo! Carlos O'Donell Jr.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.