Bug 2219521 - [RHEL 8.x?] backport build fix to add symbol versions [NEEDINFO]
Summary: [RHEL 8.x?] backport build fix to add symbol versions
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: json-c
Version: 8.6
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Tomas Korbar
QA Contact: František Hrdina
URL:
Whiteboard:
Depends On: 2001063
Blocks: 2001067 2021812 2021813 2021814 2021815 2021816 2021817 2021818 2021819 2021823 2021824 2021825 2021826 2021827 2021828 2021829 2021832 2021833 2021834
TreeView+ depends on / blocked
 
Reported: 2023-07-04 06:41 UTC by Rajesh Dulhani
Modified: 2023-07-29 07:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2001063
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
tkorbar: needinfo? (rdulhani)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161468 0 None None None 2023-07-04 06:53:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.