Skip to content

Conversation

@stefantalpalaru
Copy link

Fix the Windows build with "--threads:on" by cherry-picking this commit from upstream.

@stefantalpalaru
Copy link
Author

Deprecated in favour of a better solution.

@stefantalpalaru stefantalpalaru deleted the threads branch January 16, 2019 11:08
@arnetheduck
Copy link
Member

+1 for not frivolously backporting here.. preferred method is to urge upstream to backport for 0.19.x branch and add a workaround in our code, unless the feature is absolutely critical to have right now.

etan-status pushed a commit that referenced this pull request Apr 10, 2023
tlsEmulation:on under NetBSD-10Beta and NetBSD-current produces an executable which crashes immediately as follows:

Core was generated by `koch'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000047b4c2 in nimZeroMem ()
(gdb) bt
#0  0x000000000047b4c2 in nimZeroMem ()
#1  0x00000000004897b2 in threadVarAlloc__system_2162 ()
#2  0x000000000048980e in initThreadVarsEmulation ()
#3  0x0000000000489848 in PreMain ()
#4  0x000000000048986a in NimMain ()
nim-lang#5  0x00000000004898a9 in main ()

I can't speak about the other BSDs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants