public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust
@ 2023-07-27  6:46 小さい猫
  2023-07-30 21:37 ` Jon Turney
  2023-08-13 16:50 ` ASSI
  0 siblings, 2 replies; 27+ messages in thread
From: 小さい猫 @ 2023-07-27  6:46 UTC (permalink / raw)
  To: cygwin-apps

Hello.

Recently, for my personal needs, I have been trying to tweak and upgrade the following packages: llvm, compiler-rt, libunwind, libcxxabi, libcxx, clang (upgrading version by version from the original 9.0.1, and currently upgraded to version 12.0.1).

I imported some useful patches from Fedora RPMs, MinGW packages from MSYS2, and okuoku's llvm fork[1].

For patches and modified cygport files, the repos are here: https://github.com/orgs/ookiineko-cygpkg/repositories (commit histories are preserved).

However, I haven't tried to run the test suite because my laptop is not very good, I just know that helloworld compiles and runs fine (regarding c++, I tested linking against libstdc++ and libc++).

I have uploaded the precompiled binary & source packages to here: https://cygwin-llvm-revived-mirror.d0ve.workers.dev/0:/experimental/.

For Rust, it needs a lot of patches. I have tried to add the target/libc/STD support to version 1.67.0, and cross-compile from a Fedora host. For now, helloworld works, even some simple programs like ripgrep. But stack unwinding (panicking) is buggy, and no host compiler tools for now (because that requires native LLVM 15+).

The Rust port is a bit outdated now, since the latest Rust version is 1.71.0 (7 releases behind I guess), but I believe it should not be too hard to get the patches rebased. I plan to do this after I can get LLVM 15 working.

For more info about the Rust port: https://gist.github.com/ookiineko/057eb3a91825313caeaf6d793a33b0b2

[1]: https://github.com/okuoku/llvm-project/tree/cygwin64

Thank you,
Ookiineko.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2024-01-21 20:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27  6:46 [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust 小さい猫
2023-07-30 21:37 ` Jon Turney
2023-08-02  4:32   ` 小さい猫
2023-12-14  6:42     ` 小さい猫
2024-01-15 10:37       ` 小さい猫
2024-01-15 11:47         ` Takashi Yano
2024-01-15 13:47           ` 小さい猫
2024-01-16 16:44             ` 小さい猫
2024-01-15 17:41         ` ASSI
2024-01-16 11:14           ` 小さい猫
2024-01-21 20:37             ` ASSI
2023-08-13 16:50 ` ASSI
2023-08-14 18:39   ` ASSI
2023-08-18  0:59   ` 小さい猫
2023-08-18  1:11     ` 小さい猫
2023-08-18  4:30     ` ASSI
2023-08-18  7:46   ` 小さい猫
2023-08-26 19:40     ` ASSI
2023-08-27 16:28   ` ASSI
2023-08-28  2:26     ` 小さい猫
2023-08-28 17:58       ` ASSI
2023-08-30  2:18         ` William Hu
2023-08-30 12:16           ` William Hu
2023-08-30 16:31           ` ASSI
2023-09-05 13:47             ` William Hu
2023-09-05 16:11               ` ASSI
2023-09-05 16:13           ` ASSI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).