Re: Ksyms problem located.

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
On Thu, Nov 06, 2003 at 11:04:29AM +0100, [email protected] wrote:

> No problem, I'll take care of it, but it would be interesting to know 
> what the oversight is so that I know what to fix :-)  Can someone
> please enlighten me of what this discussion was about?
Long version:
http://mail-index.netbsd.org/port-hp700/2003/11/05/0001.html

In short: hp700 toolchain includes lots of local symbols in the 
kernel, making the kernel symbol table bigger then 2^15 - 1 entrys.
As kern_ksysms.c uses int16_t this can cause int overfolws when 
a symbol with index >= 2^15 is added to the Patricia-tree, leading 
to a hang or infinite loop.
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.