Skip to content

Fix quadmath linking error#127

Merged
sunqm merged 1 commit into
sunqm:masterfrom
shivupa:quadmath_link_error
Jun 21, 2026
Merged

Fix quadmath linking error#127
sunqm merged 1 commit into
sunqm:masterfrom
shivupa:quadmath_link_error

Conversation

@shivupa

@shivupa shivupa commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

I believe this is needed because as I understand it,

  • when quadmath is found this function is defined

but

  • because it is not defined in src/rys_roots.h, then this won't have a symbol in the resulting shared library so I was getting a linking error

This matches pow_ and powl_ so I assume it is correct, but feel free to close if this is not needed.

This does fix the error with gcc/10.2.0 (unfortunately the newest on this local dev machine that I was using.

edit: similar to #120

@prajvalk

Copy link
Copy Markdown

can confirm, was able to replicate the issue and fix

@sunqm sunqm merged commit 373c395 into sunqm:master Jun 21, 2026
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.

3 participants