[PATCH] D116358: Make lld to support win-xp

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 1 03:52:15 PST 2022


mstorsjo added a comment.

In D116358#3215228 <https://reviews.llvm.org/D116358#3215228>, @aganea wrote:

> Apologies for deceiving, but I think we aren't and we shouldn't be supporting Windows XP in LLVM. The OS is deprecated since 2009 and Microsoft ended all support in 2014. We don't even support Windows 7 officially. I think most of Windows-specific bindings in `llvm/lib/Support/Windows/` assume Windows 8+ APIs. @mstorsjo @hans @rnk do have a different opinion?

What OS the LLVM framework itself can run on, and what OS we can produce code *for* are two entirely different things. We don’t support running LLVM on such old versions (and some of the runtimes, e.g. libcxx, don’t officially support older versions either). But the tools should maybe be able to produce code for older OS though.

In D116358#3215536 <https://reviews.llvm.org/D116358#3215536>, @gmh5225 wrote:

> Thanks Reply. But some old projects need to be run on the Windows XP.

Those projects then need to explicitly set options like `-subsystem:console,4.0`.

I don’t think we shouldn’t lower our default target - there might be corner cases that don’t work as intended on older OSes (even if the common simple cases might work just fine).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116358/new/

https://reviews.llvm.org/D116358



More information about the llvm-commits mailing list