Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 880833

Summary: [RFE] libelf provides gelf_msize, elfutils-libelf can provide this as well
Product: Red Hat Enterprise Linux 6 Reporter: jcpunk
Component: elfutilsAssignee: Petr Machata <pmachata>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3CC: drepper, mjw, mnewsome
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-03 18:43:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to add gelf_msize (code from libelf-0.8.13) none

Description jcpunk 2012-11-27 20:54:10 UTC
Created attachment 653114 [details]
patch to add gelf_msize (code from libelf-0.8.13)

Description of problem: I've an application that wishes to utilize these symbols.  However, I can't compile it due to the missing symbol.


Version-Release number of selected component (if applicable):elfutils-0.152-1.el6


How reproducible: 100%


Steps to Reproduce:
1. attempt to compile something that works fine with libelf-0.8.13
2. fail
3.
  
Actual results:
unable to compile

Expected results:
able to use elfutils-libelf instead of libelf since one is supported.

Additional info:

An opensource program using this symbol
http://eggy.yolky.org/pylibelf/static/docs/index.html

Comment 2 Petr Machata 2012-11-30 15:27:44 UTC
Is there any documentation on what this function should do?  And in particular, why gelf_fsize wouldn't do?  From what's in libelf it looks like there's a separate type hierarchy defined over character arrays instead of the actual types, but the resulting layout is the same.  gelf_fsize should therefore give the same results as gelf_msize.  Since the latter is utterly non-standard, undocumented and seemingly redundant, I'm disinclined to implement and support this.

Comment 3 jcpunk 2012-12-03 17:10:12 UTC
gelf_fsize works for me, didn't realize they were the same in the end.