From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Bug 702] New: EXPORT_SYMBOL and depmod don't work well together with GCC 3.2.2
Date: Sun, 11 May 2003 12:23:54 -0700 [thread overview]
Message-ID: <16180000.1052681034@[10.10.2.4]> (raw)
http://bugme.osdl.org/show_bug.cgi?id=702
Summary: EXPORT_SYMBOL and depmod don't work well together with
GCC 3.2.2
Kernel Version: 2.5.67
Status: NEW
Severity: low
Owner: bugme-janitors@lists.osdl.org
Submitter: gmmapowell@yahoo.com
Distribution: Redhat, modified
Hardware Environment: i386
Software Environment: GCC 3.2.2, modutils 2.4.25
Problem Description:
Disclaimer: as noted above, I'm using gcc 3.2.2, which isn't the top
recommendation, and I think that's the immediate cause of the problem, but I
think nevertheless GCC 3.2.2 has it right, and we're currently relying on a bug.
When I build modules and pass them to depmod, it gives me a bevy of unresolved
symbols which are found in other modules. When I do an nm on them, I get
something like the following:
00000028 ? __ksymtab_NS8390_init
00000008 ? __ksymtab_ei_close
00000010 ? __ksymtab_ei_interrupt
00000000 ? __ksymtab_ei_open
00000018 ? __ksymtab_ei_tx_timeout
00000020 ? __ksymtab_ethdev_init
When depmod comes across these, it does not accept them because of the line
if (objsym->secidx == ksymtab &&
ELFW(ST_BIND)(objsym->info) == STB_GLOBAL)
and these symbols _aren't_ global because in the header file linux/module.h they
are defined as static.
reply other threads:[~2003-05-11 21:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='16180000.1052681034@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=linux-kernel@vger.kernel.org \
/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®