public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/14078] librpmio.so exports bundled broken glob(3) clone
  2012-05-08 14:17 [Bug translator/14078] New: librpmio.so exports bundled broken glob(3) clone mjw at redhat dot com
@ 2012-05-08 14:17 ` mjw at redhat dot com
  2012-05-08 14:26 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2012-05-08 14:17 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14078

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6401|0                           |1
           is patch|                            |
   Attachment #6401|application/force-download  |text/plain
          mime type|                            |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/14078] New: librpmio.so exports bundled broken glob(3) clone
@ 2012-05-08 14:17 mjw at redhat dot com
  2012-05-08 14:17 ` [Bug translator/14078] " mjw at redhat dot com
  2012-05-08 14:26 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2012-05-08 14:17 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14078

             Bug #: 14078
           Summary: librpmio.so exports bundled broken glob(3) clone
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: mjw@redhat.com
                CC: fche@redhat.com
    Classification: Unclassified


Created attachment 6401
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6401
RHBZ-819680-librpmio.so-exports-bundled-broken-glob-.patch

See https://bugzilla.redhat.com/show_bug.cgi?id=819680

The attached patch makes sure we always explicitly use the glibc glob version.

Not yet applied, Frank is looking into another solution using -lc that doesn't
require adding our own stap_glob function.

Tested on RHEL5, F16 and F17.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/14078] librpmio.so exports bundled broken glob(3) clone
  2012-05-08 14:17 [Bug translator/14078] New: librpmio.so exports bundled broken glob(3) clone mjw at redhat dot com
  2012-05-08 14:17 ` [Bug translator/14078] " mjw at redhat dot com
@ 2012-05-08 14:26 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2012-05-08 14:26 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14078

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-05-08 14:25:37 UTC ---
commit f02c2e4 appears to work:

LD_DEBUG=all ./stap -p4 -e 'probe process("/lib*/libfoo.bar").function("*") {}'
|& grep 'glob;'
     12537:    symbol=glob;  lookup in file=./stap [0]
     12537:    symbol=glob;  lookup in file=/usr/lib64/librpm.so.2 [0]
     12537:    symbol=glob;  lookup in file=/lib64/libc.so.6 [0]

super /home/fche/Private/DEVEL/DEVEL-systemtap/git/BUILD2
[10:25:18] % LD_DEBUG=all ./stap -p4 -e 'probe
process("/lib*/libfoo.bar").function("*") {}' |& grep 'glob' | grep -v global
     12545:    symbol=glob;  lookup in file=./stap [0]
     12545:    symbol=glob;  lookup in file=/usr/lib64/librpm.so.2 [0]
     12545:    symbol=glob;  lookup in file=/lib64/libc.so.6 [0]
     12545:    binding file ./stap [0] to /lib64/libc.so.6 [0]: normal symbol
`glob' [GLIBC_2.2.5]
     12545:    symbol=globfree;  lookup in file=./stap [0]
     12545:    symbol=globfree;  lookup in file=/usr/lib64/librpm.so.2 [0]
     12545:    symbol=globfree;  lookup in file=/lib64/libc.so.6 [0]
     12545:    binding file ./stap [0] to /lib64/libc.so.6 [0]: normal symbol
`globfree' [GLIBC_2.2.5]
semantic error: glob /lib*/libfoo.bar error (3)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-08 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 14:17 [Bug translator/14078] New: librpmio.so exports bundled broken glob(3) clone mjw at redhat dot com
2012-05-08 14:17 ` [Bug translator/14078] " mjw at redhat dot com
2012-05-08 14:26 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).