-
Notifications
You must be signed in to change notification settings - Fork 104
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
It won't work on Windows with TLS error #201
Comments
It seems to be environment related. This time it was run in a different folder and with the -n options I had some success.
|
CCL tries to reserve some contiguous TLS slots at startup time. See I am not sure what causes TLS slots to get used up before CCL tries to reserve them. CCL wants slots 30 through 63. The code assumes that TLS slots are allocated in order, but maybe that's not true? Maybe there's no need to give up if some slot under 30 is already reserved, as long as we can reserve slots 30 through 63? |
http://www.nynaeve.net/?p=190 |
I happen to have a windows 10 box at hand and can reproduce this. Might try to formulate a fix over the weekend, however be warned that I don't know much about windows hacking. @xrme can you explain to me what these TLS slots are used for, why CCL reserves them, why we want their IDs to be consecutive and in order (is this just an implementation detail or a hard requirement), and why CCL seems to work without reserving TLS slots / what limitations apply when we don't have them? |
This is a duplicate of #311 (wherein I suggest a fix). |
I have copied downloaded ccl to c:/ folder as there is not windows specific instructions
nothing seems to work
c:/ccl $ ./wx86cl64.exe -n
unexpected TLS index value: wanted 6, got 26
c:/ccl $ ./wx86cl.exe -V
unexpected TLS index value: wanted 7, got 27
c:/ccl $
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: