Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create libm.a instead of ld script on x86_64 for gnu static linkage #83

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

antonbaliasnikov
Copy link
Contributor

Changes:

  • Add file utility to check info about the files
  • Add nano text editor for debugging purposes
  • For x86_64 (linux/amd64) change libm.a from LD script (which is like that only on this platform) to an actual static archive consisting of libm.a and ibmvec.a. This is mandatory for cargo to use this library properly when statically linking with glibc on GNU targets.

@antonbaliasnikov antonbaliasnikov merged commit a9a4388 into main Aug 2, 2024
2 checks passed
@antonbaliasnikov antonbaliasnikov deleted the aba-gnu-static-linkage branch August 2, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants