From: Keith Owens <kaos@ocs.com.au>
To: Armin Schindler <mac@melware.de>
Cc: "Peter T. Breuer" <ptb@it.uc3m.es>,
kkeil@suse.de, linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: missing memset in divas and eicon in 2.2.20
Date: Tue, 22 Jan 2002 21:43:15 +1100 [thread overview]
Message-ID: <15377.1011696195@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Tue, 22 Jan 2002 10:19:15 BST." <Pine.LNX.4.31.0201221017280.21391-100000@phoenix.one.melware.de>
On Tue, 22 Jan 2002 10:19:15 +0100 (MET),
Armin Schindler <mac@melware.de> wrote:
>Did you use plain 2.2.20 ?
>I cannot reproduce this problem here, can you please send me your
>kernel config.
>
>On Tue, 22 Jan 2002, Peter T. Breuer wrote:
>> betty:/usr/local/src/linux-2.2.20% sudo depmod -ae -F System.map 2.2.20-SMP
>> depmod: *** Unresolved symbols in
>> /lib/modules/2.2.20-SMP/misc/divas.o depmod: memset
>> depmod: *** Unresolved symbols in
>> /lib/modules/2.2.20-SMP/misc/eicon.o depmod: memset
This can be a gcc problem. Some versions of gcc generate internal
calls to memset and memcpy when manipulating structures. Because these
internal calls are created after cpp they end up as phantom calls to
functions instead of being converted by string.h.
If it is a gcc problem, you track it down by first identifying the object
nm -A drivers/isdn/eicon/*.o | fgrep memset
then compile the xxx object with -S
make CFLAGS_xxx.o=-S SUBDIRS=drivers/isdn/eicon modules
vi drivers/isdn/eicon/xxx.o looking for calls to memset. Scroll up
until you find the function that that is generating the call, then
eyeball the code looking for structure assignments like s = *foo or s =
0. Replace the assignments with explicit calls to memcpy or memset.
next prev parent reply other threads:[~2002-01-22 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-21 23:36 Peter T. Breuer
2002-01-22 9:19 ` Armin Schindler
2002-01-22 10:43 ` Keith Owens [this message]
2002-01-22 12:00 ` Peter T. Breuer
2002-01-22 12:07 ` Peter T. Breuer
2002-01-22 13:28 ` Armin Schindler
2002-01-22 11:29 ` Karsten Keil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15377.1011696195@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--cc=kkeil@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mac@melware.de \
--cc=ptb@it.uc3m.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®