Package: gnat-4.6 Version: 4.6.3-5 Severity: important Tags: patch Usertags: hurd User: debian-h...@lists.debian.org
When building polyorb-2.8~20110207 for GNU/Hurd linking of DYNAMIC/tools/po_catref/po_catref fails due to an undefined reference: /usr/lib/i386-gnu/libgnarl-4.6.so.1: undefined reference to `clock_gettime' The reason for that is that libgnarl-4.6.so.1 is not linked with librt.so.1. The solution is to add -lrt to the THREADSLIB variable. Preferably it could be applied by modifying the patch: gcc_ada_gcc-interface_Makefile.in.diff --- a/debian/patches/gcc_ada_gcc-interface_Makefile.in.diff 2012-07-19 00:12:30.000000000 +0200 +++ b/debian/patches/gcc_ada_gcc-interface_Makefile.in.diff 2012-08-21 23:52:59.000000000 +0200 @@ -24,7 +24,7 @@ + indepsw.adb<indepsw-gnu.adb + + EH_MECHANISM=-gcc -+ THREADSLIB = -lpthread ++ THREADSLIB = -lpthread -lrt + GNATLIB_SHARED = gnatlib-shared-dual + GMEM_LIB = gmemlib + LIBRARY_VERSION := $(LIB_VERSION) -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1345586415.25812.57.ca...@hp.my.own.domain