Add lgamma_r and lgammaf_r to MinGW#546
Conversation
|
Can't we redesign this cfg so that it is available by default and then rearrange it to used an "optimized" form on some platforms instead? |
|
I'm not exactly sure how it would work (would need to prevent duplicate symbol errors), but maybe others have ideas |
|
Mmm, something something weak linking? |
|
We have support for generating weak symbols (via - |
|
Thanks @Amanieu! |
|
Weak symbols on Windows with ld.bfd are a can of worms. LLD is has working weak symbols (in both static and shared cases) but we cannot use it because of another Binutils bug import libraries created by LLD break symbol table with Binutils <2.40. |
Sorry for the many PRs. Looks like it's missing from MinGW (
*-pc-windows-gnuand*-pc-windows-gnullvm) as well (rust-lang/rust#99747 (comment)).Another source