Created attachment 18529 [details] Patch to fix -export-dynamic typos. When trying to build slurm with slibtool (https://dev.midipix.org/cross/slibtool) it fails for multiple reasons. One of the reasons is that the build system has --export-dynamic everywhere when it should be -export-dynamic. GNU libtool does not expose this problem because it silently filters out the typo. Unfortunately this is not the only problem exposed with slibtool, but I do not have fixes for the others yet. I will make new issues for those if and when I solve them. References: https://autotools.io/libtool/symbols.html https://cmd.inp.nsk.su/old/cmd2/manuals/gnudocs/gnudocs/libtool/libtool_39.html http://web.mit.edu/gnu/doc/html/libtool.html From the slibtool --help: -export-dynamic allow symbols in the output file to be resolved via dlsym() [currently a no-op]
Also see: https://bugs.schedmd.com/show_bug.cgi?id=11137 https://bugs.schedmd.com/show_bug.cgi?id=11139