unable to link xdr functions with groovy and hirsute
Bug #1923361 reported by
Dominique Rousset
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtirpc (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Hi,
I have a technical code that relies on XDR for it's internal data format. I cannot compile it anymore with hirsute (and groovy).
As a simpler test I tried to compile
#include <rpc/xdr.h>
int main(){
xdr_void();
}
called it testxdr.c
gcc -o testxdr -I/usr/
-I and -l options are indicated by package-config.
With the include compilation is OK but the linking fails with an indefinite reference to xdr_void.
With focal, nor -I neither -l options are necessary, xdr functions are within glibc.
With hirsute nm says that xdr_void symbol is defined in libtirpc.so and surprisingly (for me) in glibc 2.33 (should have been removed since 2.32 ?)
Any help is welcome !
D.
To post a comment you must log in.
Thank you for taking the time to write up this report and helping to make Ubuntu better.
It's not clear to me if this is expected behaviour or not. Perhaps the easiest way to determine this would be to track down the root cause of what's happening with the xdr_void symbol by examining the libtirpc sources.
However as this isn't likely to affect many Ubuntu users, I'm going to set Importance: Low. I don't expect it to receive expert attention soon. Feel free to continue to use this bug to coordinate with others, and if you do find a specific solution then we can help with getting it landed.
In case it's not a bug, you can find community support options here: http:// www.ubuntu. com/support/ community