-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[libc] document supported os ranges #118863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-libc Author: Schrodinger ZHU Yifan (SchrodingerZhu) ChangesLLVM-libc does not guarantee backward compatibility with operating systems that reaches their EOL. For Linux, we support kernel versions as listed on kernel.org, including For Windows, we support products within their lifecycle. Please refer to Full diff: https://github.com/llvm/llvm-project/pull/118863.diff 1 Files Affected:
diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index 6f759aa215b62c..c4cb12be1377e8 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -40,6 +40,16 @@ and MacOS have limited support (may be broken). The Fuchsia platform is
slowly replacing functions from its bundled libc with functions from this
project.
+LLVM-libc does not guarantee backward compatibility with operating systems that reaches their EOL.
+Compatibility patch for obsolete operating systems will not be accepted.
+
+For Linux, we support kernel versions as listed on `kernel.org <https://kernel.org/>`_, including
+``longterm``, ``stable``, and ``mainline`` versions. We actively adapt new features
+from ``linux-next``.
+
+For Windows, we support products within their lifecycle. Please refer to
+`Search Product and Services Lifecycle Information <https://learn.microsoft.com/en-us/lifecycle/products/?products=windows>`_ for more information.
+
ABI Compatibility
=================
|
For implications to the codebase, this means that for our syscall wrappers, we have checks that https://www.chromium.org/chromium-os/developer-library/reference/linux-constants/syscalls/ talks a little about this, but doesn't have the kernel version info. I swear on hacker news recently someone linked to a library from chromeos that was trying to do syscall wrappers. It looked interesting, but I cannot find it. Also, we should stop looking at the host's kernel headers when building llvm-libc for linux, and always require they be passed in. Otherwise, we'll have the wrong syscall numbers when cross compiling. |
Co-authored-by: Nick Desaulniers <[email protected]>
Co-authored-by: Nick Desaulniers <[email protected]>
Co-authored-by: Nick Desaulniers <[email protected]>
https://syscalls.mebeim.net/?table=x86/64/x64/latest looks handy. |
libc/docs/index.rst
Outdated
For Windows, we support products within their lifecycle. Please refer to | ||
`Search Product and Services Lifecycle Information <https://learn.microsoft.com/en-us/lifecycle/products/?products=windows>`_ for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to claim windows support until it's in a more stable place. Maybe rephrase to "For Windows we plan to support products within their lifecycle, but support is limited currently."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applied!
|
LLVM-libc does not guarantee backward compatibility with operating systems that have reached their EOL.
Compatibility patches for obsolete operating systems will not be accepted.
For Linux, we support kernel versions as listed on kernel.org, including
longterm
(not passed EOL date),stable
, andmainline
versions. We actively adapt new featuresfrom
linux-next
.For Windows, we plan to support products within their lifecycle. Please refer to
Search Product and Services Lifecycle Information for more information.