Le mercredi 17 avril 2024 à 23:13:18 UTC+2, Martin Storsjö
a écrit :
On Tue, 16 Apr 2024, philippe renon via Mingw-w64-public wrote:
> All this to ask whether that "breaking" change was intentional ?
The change itself was quite intentional, the breakage obviously wasn
The Rust test that failed uses the gamma function that depends on sin and log.
So sin and log showed up in the link failure.
I would expect cos to be problematic too.But I can't provide an exhaustive list.
Le mardi 16 avril 2024 à 17:40:34 UTC+2, philippe renon via
Mingw-w64-public a
16.04.2024 15:51, philippe renon via Mingw-w64-public wrote:
> The error seems to happen because Rust pulls in lgamma from
> libmingwex.a, which pulls in sin from libmsvcrt.a, which in turn tries
> to pull in __sinl_internal from libmingwex.a and fails because of how
> Rust links MinGW
Forgot to mention that this issue affects the MSYS2 build of Rust.See
https://github.com/msys2/MINGW-packages/pull/20397#issuecomment-2050581972
Le mardi 16 avril 2024 à 14:29:22 UTC+2, philippe renon via
Mingw-w64-public a écrit :
One of the Rust unit test fails because of this
One of the Rust unit test fails because of this change :
https://github.com/mingw-w64/mingw-w64/commit/a64c1f4b969cff5f9e81c9a760117dc1b92d6ee1
The test that fails is externally linking the lgamma function :
https://github.com/rust-lang/rust/blob/c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c/tests/ui/