docs: update README.md to reflect clang 22.1.0 fix for linker issues

This commit is contained in:
Petr Beneš
2026-02-24 14:20:41 +01:00
parent 6c0a0593a4
commit 1be1ccda57
+3 -2
View File
@@ -61,8 +61,9 @@ _scfw_ cross-compiles Windows shellcode from any host OS. You don't need a Windo
- **CMake** 3.22+
- **Ninja** build system
- **clang** clang 19+
- _**Note:**_ On Windows, [clang 21+ currently experiences issues with `/FILEALIGN:1` during linking](https://github.com/llvm/llvm-project/issues/180406).
If you encounter linker errors, try to compile with `-DSCFW_FILE_ALIGNMENT=0` or switch to older clang version.
- ~~_**Note:**_ On Windows, [clang 21+ currently experiences issues with `/FILEALIGN:1` during linking](https://github.com/llvm/llvm-project/issues/180406).
If you encounter linker errors, try to compile with `-DSCFW_FILE_ALIGNMENT=0` or switch to older clang version.~~
- _**Fixed in clang 22.1.0**_
- **LLVM tools**: `lld-link`, `llvm-objcopy`, `llvm-readobj`
- **Windows SDK** headers and libraries (can be fetched automatically on any platform, see below)