kdb
[Top] [All Lists]

Re: kdb doesn't compile with KDB modules with gcc 3.4.1 toolchain

To: sdake@xxxxxxxxxx
Subject: Re: kdb doesn't compile with KDB modules with gcc 3.4.1 toolchain
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 07 Jun 2005 12:27:30 +1000
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 06 Jun 2005 14:38:11 MST." <1118093891.4305.68.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
On Mon, 06 Jun 2005 14:38:11 -0700,
Steven Dake <sdake@xxxxxxxxxx> wrote:
>I couldn't get kdb to compile with KDB modules set to * (but m works).

I build kdb for i386 with gcc 3.4.3 all the time (FC3).  It has no
problems with any value of KDB_MODULES, I just tried y, m and n, all
built clean.  '*' is not a valid setting for a config tristate
variable.

What value are you using for KDB_MODULES?  What tool chain errors are
you seeing?

>   __con_initcall_end = .;
>   __kdb_initcall_start = .;
>-  .kdb_initcall.init : { *(.kdb_initcall.init) }
>+  .kdb_initcall.init : AT(ADDR(.kdb_initcall.init) - LOAD_OFFSET) {
>+       *(.kdb_initcall.init)
>+  }

.kdb_initcall.init is functionally identical to the immediately
preceding .con_initcall.init, and to all the other init sections in
arch/i386/vmlinux.lds.S.  If kdb needs changing then they all do.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>