xfs
[Top] [All Lists]

Re: KDB-ized RH 2.4.18-X kernel?

To: Keith Owens <kaos@xxxxxxx>, Dan Yocum <yocum@xxxxxxxx>
Subject: Re: KDB-ized RH 2.4.18-X kernel?
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Tue, 25 Mar 2003 09:14:03 +0100
Cc: xfs-list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <13516.1048553348@xxxxxxxxxxxxxxxxxxxxxx>
References: <Your message of "Mon, 24 Mar 2003 13:47:12 MDT." <3E7F60C0.6000708@xxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
At 11:49 25-3-2003 +1100, Keith Owens wrote:
On Mon, 24 Mar 2003 13:47:12 -0600,
Dan Yocum <yocum@xxxxxxxx> wrote:
>I compiled the kernel-source...i386.rpm.
>
>Maybe Keith might have some insight into this?  It looks like it's a linker
>problem...
>
>Keith?

Sorry, my telepathy is not working today.  Perhaps if I had some
details of the patches used, the compile steps and the errors then I
might be able to comment.

I reported this problem earlier as well when I was working on the 2.4.18-24 kernel IIRC and it had to do with the linking.

You commented on this that the symbols were not exported right. Here is the first email I sent. 1.2pre5 was hip then.

Cheers

---------------snip----------------------

At 08:13 21-1-2003 +1100, Keith Owens wrote:
On Mon, 20 Jan 2003 17:11:46 +0100,
Seth Mos <knuffie@xxxxxxxxx> wrote:
>At 10:24 20-1-2003 -0500, Jeremy Jackson wrote:
>> >
>>Any time I've had "internal compiler error", it's been a hardware
>>problem.  ie bad heatsing or memory.  I suggest running memtest86.com's
>>test utility.
>
>That's not the case here. In fact the error is that the kdb symbols are not
>ending up in the right place when it is linking as far I can tell.

Details please, my telepathy is not working this morning ...

kallsyms pass 1
init/main.o: In function `parse_options':
init/main.o(.text.init+0x5e6): undefined reference to `kdb_on'
init/main.o(.text.init+0x5eb): undefined reference to `kdb_flags'
init/main.o(.text.init+0x622): undefined reference to `kdb_on'
init/main.o(.text.init+0x64f): undefined reference to `kdb_on'
init/main.o(.text.init+0x674): undefined reference to `kdb_flags'
init/main.o(.text.init+0x67f): undefined reference to `kdb_on'
init/main.o(.text.init+0x687): undefined reference to `kdb_flags'

<snip>

/usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2aba): undefined reference to `kdb_printf' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2ac4): undefined reference to `kdb_symbol_print' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2ad1): undefined reference to `kdb_printf' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2ae9): undefined reference to `kdb_printf' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2af3): undefined reference to `kdb_symbol_print' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2afd): undefined reference to `kdb_printf' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2b07): undefined reference to `kdb_symbol_print' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2b14): undefined reference to `kdb_printf' /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o: In function `fetch_data': /usr/src/redhat/BUILD/kernel-2.4.18/linux/arch/i386/kdb/kdba.o(.text+0x2b79): undefined reference to `kdb_printf'
make[1]: *** [kallsyms] Fout 1
make: *** [vmlinux] Fout 2
error: Bad exit status from /var/tmp/rpm-tmp.14321 (%build)

------------------snip-------------------


--
Seth
It might just be your lucky day, if you only knew.


<Prev in Thread] Current Thread [Next in Thread>