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 1040593 - Incompatibility between libtirpc and glibc's rpcgen
Summary: Incompatibility between libtirpc and glibc's rpcgen
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libtirpc
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On: 862318
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 16:42 UTC by Steve Dickson
Modified: 2014-06-18 07:57 UTC (History)
6 users (show)

Fixed In Version: libtirpc-0.2.4-0.1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 862318
Environment:
Last Closed: 2014-06-13 11:13:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steve Dickson 2013-12-11 16:42:48 UTC
+++ This bug was initially created as a clone of Bug #862318 +++

Description of problem:
There seems to be an incompatibility between libtirpc and glibc's rpcgen. What glibc calls (in rpc/xdr.h) xdr_quad_t, libtirpc calls (in tirpc/rpc/xdr.h) xdr_int64_t.

Version-Release number of selected component (if applicable):
glibc-2.15-57.fc17
libtirpc-0.2.2-2.1.fc17

How reproducible:
Every time

Steps to Reproduce:
1. Define an XDR RPC interface that uses the hyper type
2. Use rpcgen to generate stub code
3. Compile the code, using -I/usr/include/tirpc and -ltirpc
  
Actual results:
The code will not compile because the stub functions use xdr_quad_t, but tirpc/rpc/xdr.h defines xdr_int64_t. Compiling against rpc/xdr.h but linking against libtirpc succeeds, but the result segfaults at runtime.

--- Additional comment from Fedora End Of Life on 2013-04-03 13:42:30 EDT ---

This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

--- Additional comment from Fedora Update System on 2013-12-11 10:34:34 EST ---

libtirpc-0.2.4-0.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/libtirpc-0.2.4-0.fc19

--- Additional comment from Fedora Update System on 2013-12-11 10:36:12 EST ---

libtirpc-0.2.4-0.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libtirpc-0.2.4-0.fc20

Comment 5 JianHong Yin 2013-12-20 03:31:39 UTC
[root@dhcp12-144 ~]# nm -D /lib64/libtirpc.so.1* | grep xdr_quad_t
[root@dhcp12-144 ~]# rpm -Uvh libtirpc-
libtirpc-0.2.4-0.1.el7.x86_64.rpm        libtirpc-devel-0.2.4-0.1.el7.x86_64.rpm
[root@dhcp12-144 ~]# rpm -Uvh libtirpc-0.2.4-0.1.el7.x86_64.rpm 
准备中...                          ################################# [100%]
正在升级/安装...
   1:libtirpc-0.2.4-0.1.el7           ################################# [ 50%]
正在清理/删除...
   2:libtirpc-0.2.3-3.el7             ################################# [100%]
[root@dhcp12-144 ~]# nm -D /lib64/libtirpc.so.1* | grep xdr_quad_t
000000000001ae50 T xdr_quad_t
000000000001ae50 T xdr_quad_t
[root@dhcp12-144 ~]#

Comment 6 Ludek Smid 2014-06-13 11:13:48 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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