[Darshan-commits] [Git][darshan/darshan][dev-270-lustre-ioctl-crash] make sure to link lustre dynamic libs

Shane Snyder xgitlab at cels.anl.gov
Thu Mar 18 00:35:56 CDT 2021



Shane Snyder pushed to branch dev-270-lustre-ioctl-crash at darshan / darshan


Commits:
e3e4a817 by Shane Snyder at 2021-03-17T22:35:15-07:00
make sure to link lustre dynamic libs

- - - - -


2 changed files:

- darshan-runtime/darshan-config.in
- darshan-runtime/lib/pkgconfig/darshan-runtime.pc.in


Changes:

=====================================
darshan-runtime/darshan-config.in
=====================================
@@ -20,7 +20,7 @@ POST_LD_FLAGS="-L$DARSHAN_LIB_PATH -ldarshan @DARSHAN_LUSTRE_LD_FLAGS@ -lz -lrt
 # - when dynamic linking there is no need for wrapping options, we simply
 #   need to get the darshan symbol definitions early enough in the link
 #   order.  We also set no-as-needed for linkers that may not identify
-DYN_LD_FLAGS="-L$DARSHAN_LIB_PATH $DARSHAN_LD_FLAGS -Wl,-rpath=$DARSHAN_LIB_PATH -Wl,-no-as-needed -ldarshan @DARSHAN_HDF5_LD_FLAGS@"
+DYN_LD_FLAGS="-L$DARSHAN_LIB_PATH $DARSHAN_LD_FLAGS -Wl,-rpath=$DARSHAN_LIB_PATH -Wl,-no-as-needed -ldarshan @DARSHAN_LUSTRE_LD_FLAGS@ @DARSHAN_HDF5_LD_FLAGS@"
 
 # NOTE:
 # - construct complete list of log path options, separated by commas.


=====================================
darshan-runtime/lib/pkgconfig/darshan-runtime.pc.in
=====================================
@@ -15,5 +15,5 @@ darshan_libdir= -L${darshan_prefix}/lib
 darshan_linkopts="-Wl,@${darshan_share}/ld-opts/darshan-base-ld-opts"
 
 Cflags:
-Libs: ${darshan_libdir} -Wl,-rpath=${darshan_prefix}/lib -Wl,-no-as-needed -ldarshan @DARSHAN_HDF5_LD_FLAGS@
+Libs: ${darshan_libdir} -Wl,-rpath=${darshan_prefix}/lib -Wl,-no-as-needed -ldarshan @DARSHAN_LUSTRE_LD_FLAGS@ @DARSHAN_HDF5_LD_FLAGS@
 Libs.private: ${darshan_linkopts} ${darshan_libdir} -lfmpich -lmpichcxx -ldarshan @DARSHAN_LUSTRE_LD_FLAGS@ -lz -lrt -lpthread



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/e3e4a817ae8cf2cd85b2b61010c1679e3ee052ff

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/e3e4a817ae8cf2cd85b2b61010c1679e3ee052ff
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210318/93a6d628/attachment-0001.html>


More information about the Darshan-commits mailing list