Summary: | [dtrace] dtrace testcases don't call elfdump properly | ||
---|---|---|---|
Product: | Base System | Reporter: | Enji Cooper <ngie> |
Component: | bin | Assignee: | Mark Johnston <markj> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | emaste, markj |
Priority: | --- | Flags: | bugmeister:
mfc-stable10?
bugmeister: mfc-stable9? bugmeister: mfc-stable8? |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Enji Cooper
2014-08-28 23:32:31 UTC
Neither option is portable according to the elfdump manpage I just found: http://illumos.org/man/1/elfdump . The easiest way to deal with this is that elfdump should be changed to assume '-a'. Note that these are userland CTF tests. Support for this feature was merged in r267941, but it's not yet functional; it requires some as yet unimplemented support in libproc. See r267940. (In reply to Mark Johnston from comment #2) > Note that these are userland CTF tests. Support for this feature was merged > in r267941, but it's not yet functional; it requires some as yet > unimplemented support in libproc. See r267940. Gotcha :) -- I'll add those to the list of "filtered tests" on the branch. A commit references this bug: Author: markj Date: Tue Sep 16 22:54:18 UTC 2014 New revision: 271693 URL: http://svnweb.freebsd.org/changeset/base/271693 Log: Fix elfdump(1) usage in the userland CTF tests. PR: 193110 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Changes: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.user64mode.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprint.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.pidprinttarg.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtypetarg.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userstrings.ksh Fixed by using elfdump(1) in a way that should work in illumos as well. This usage is also more correct, since we're specifically looking for a section called .SUNW_ctf. Close PRs that have had a corresponding fix committed. |