This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/23747] Unknown section .note.Linux in kernel module cause tests with --all-modules to fail to compile
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 14 Nov 2018 16:31:26 +0000
- Subject: [Bug translator/23747] Unknown section .note.Linux in kernel module cause tests with --all-modules to fail to compile
- Auto-submitted: auto-generated
- References: <bug-23747-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23747
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
This comes from dump_symbol_tables () in translate.cxx.
Under:
// We are only interested in "real" symbols.
// We omit symbols that have suspicious addresses
// (before base, or after end).
[...]
{
assert (secname != NULL);
// secname adequately set
// NB: it may be an empty string for ET_DYN objects
// like shared libraries, as their relocation base
// is implicit.
if (secname[0] == '\0')
secname = ".dynamic";
else
{
// Compute our section number
for (secidx = 0; secidx < c->seclist.size(); secidx++)
if (c->seclist[secidx].first==secname)
break;
if (secidx == c->seclist.size()) // whoa! We messed up...
{
string m = _F("%s has unknown section %s for sym %s",
modname, secname, name);
throw runtime_error(m);
}
}
}
--
You are receiving this mail because:
You are the assignee for the bug.