[llvm] [Cygwin] Cygwin general (PR #74944)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 16 17:39:00 PST 2023


=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,
=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/74944 at github.com>


chapuni wrote:

It's nasty. Cygwin shall be "Unix-variant but smells Win32".

I don't know the right answer since I haven't played Cygwin for a long while.
What is the correlation between `dwPageSize`, `dwAllocationGranularity`, and Cygwin's `::getpagesize()` and their actual values?
(IIRC, Cygwin assumed `dwAllocationGranularity`, that was 64k, 56bc3419a3b33fc8c110001c0ab06fced4b6a6df)

@MaskRay FYI, I was running builders for cygwin in the past.

IMO, this is just only a place that Cygwin wanted to know the phys page size and may leave as-is.
(and I wonder it didn't affect to other Win32 implementations)

@xu-chiheng let's know your actual issues and what you wanted to resolve.

https://github.com/llvm/llvm-project/pull/74944


More information about the llvm-commits mailing list