Deadlock when calling pthread_key_create in the destructor of a pthread_key

Yuyi Wang Strawberry_Str@hotmail.com
Mon Mar 24 06:41:19 GMT 2025


> I mean it is some kind of cross compiler.

Yes. Rustc is a cross compiler powered by LLVM.

> ...is it possible to build Rust compiler itself by the cross-compiler?

Theoretically yes. Actually once a GitHub user @Ookiineko succeeded before, but
now the account has been deleted. I think the largest blocker is LLVM itself.
The latest version of LLVM provided by cygwin is 8.0, and 11.0 by MSYS2, while
rustc needs LLVM 17.0 at least. @Ookiineko added some patches to LLVM to make it
work, but they were not committed to upstream, but I haven't understand all of
them yet.

--
Yuyi Wang


More information about the Cygwin mailing list