Ticket 11132 - Patch to fix -export-dynamic typos.
Summary: Patch to fix -export-dynamic typos.
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Build System and Packaging (show other tickets)
Version: 21.08.x
Hardware: Linux Linux
: --- C - Contributions
Assignee: Tim Wickberg
QA Contact:
Depends on:
Reported: 2021-03-18 10:49 MDT by orbea-ml
Modified: 2021-03-18 16:07 MDT (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---

Patch to fix -export-dynamic typos. (54.52 KB, patch)
2021-03-18 10:49 MDT, orbea-ml
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
Description orbea-ml 2021-03-18 10:49:42 MDT
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.



From the slibtool --help:

     -export-dynamic       allow symbols in the output file to be resolved
                           via dlsym() [currently a no-op]