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 2219521

Summary: [RHEL 8.x?] backport build fix to add symbol versions
Product: Red Hat Enterprise Linux 8 Reporter: Rajesh Dulhani <rdulhani>
Component: json-cAssignee: Tomas Korbar <tkorbar>
Status: CLOSED NOTABUG QA Contact: FrantiĊĦek Hrdina <fhrdina>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.6CC: egarver, fhrdina, jorton, pemensik, psklenar, tkorbar
Target Milestone: rcKeywords: AutoVerified, TestCaseProvided, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2001063 Environment:
Last Closed: 2023-09-04 11:29:31 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:
Bug Depends On: 2001063    
Bug Blocks: 2001067, 2021812, 2021813, 2021814, 2021815, 2021816, 2021817, 2021818, 2021819, 2021823, 2021824, 2021825, 2021826, 2021827, 2021828, 2021829, 2021832, 2021833, 2021834    

Comment 3 Eric Garver 2023-07-05 13:18:16 UTC
`nm` in RHEL-8 does not appear to support symbols. Using objdump shows what is expected. It is versioned.

IIRC, the user would need to _rebuild_ their application for the versioned symbols to be used by their binary. Old binaries will still use the unversioned symbols.

--->8---

[root@vm-rhel8 ~]# objdump -T /usr/lib64/libjson-c.so.* |grep json_object_get$
0000000000004990 g    DF .text  0000000000000012  JSONC_0.14  json_object_get
0000000000004990 g    DF .text  0000000000000012  JSONC_0.14  json_object_get

[root@vm-rhel8 ~]# rpm -q -i json-c
Name        : json-c
Version     : 0.13.1
Release     : 3.el8
Architecture: x86_64

Comment 7 Red Hat Bugzilla 2024-01-03 04:25:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days