docs: note the carrier temp directory requirement of the TLS fixtures #1116
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1123"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T01:24:13Z.
What
The TLS carrier directory and the file inside it are created under
GetTempPathW(
tools/pe_map.cpp,load_carrier). On a host where a built executable may not create a file in that directory, sixfixtures fail at that step with
cannot create the TLS carrier directory (error 5)and the message reads like a TLSdefect. This adds one bullet to Windows build notes and the measured case to the
cpu_native_tlssection, so thenext reporter recognises it in one step instead of six.
Measured
Host: Windows 11 build 26300.9974, x64, Core Ultra 9 285H, MSVC 14.44.35207, Windows SDK 10.0.26100,
Python 3.12.10, commit
110e186,devpreset.A 30-line probe compiled with the same toolchain, in the same shell, calling only
CreateDirectoryWandCreateFileW:So the protected DACL the fixture passes is not involved: a plain call fails the same way, and the whole system
volume refuses creation for that process while another volume accepts it. The same shell's own file operations
succeed under
%TEMP%, so it is a property of the process that runs the built binaries.Confirmation, one variable changed:
Without the change the six are
FAIL, and thecpu_group is 202/208 (report in #1096).Tested
Docs only: no source, fixture, CMake or expectation change. The rejection expectations in
native_tls_check.pyareuntouched, because a host that cannot create the carrier directory never reaches them.
Notes
tests/.Refs #1096, which has the root cause and the options I offered (this doc note, a named capability skip in thecaller, or the probe as tooling). This PR is only the first of the three.