Red Hat Bugzilla – Bug 862318
Incompatibility between libtirpc and glibc's rpcgen
Last modified: 2014-01-31 23:06:36 EST
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):
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
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.
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:
libtirpc-0.2.4-0.fc19 has been submitted as an update for Fedora 19.
libtirpc-0.2.4-0.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libtirpc-0.2.4-0.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libtirpc-0.2.4-0.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
libtirpc-0.2.4-1.0.fc19 has been submitted as an update for Fedora 19.
libtirpc-0.2.4-1.0.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.