[Bug 1923361] Re: unable to link xdr functions with groovy and hirsute

Christian Ehrhardt  1923361 at bugs.launchpad.net
Mon Oct 11 07:24:11 UTC 2021


Subscribing Doko for his libc (for xdr removal) and even more so toolchain experience.
What would you recommend - is there a fix to the .pc file of libvtirpc needed - or anything else?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libtirpc in Ubuntu.
https://bugs.launchpad.net/bugs/1923361

Title:
  unable to link xdr functions with groovy and hirsute

Status in libtirpc package in Ubuntu:
  Confirmed

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/include/tirpc -ltirpc testxdr.c

  -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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtirpc/+bug/1923361/+subscriptions




More information about the foundations-bugs mailing list