Skip to content
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

OpenBSD pthread issue #5920

Closed
sabazk opened this issue May 31, 2017 · 0 comments
Closed

OpenBSD pthread issue #5920

sabazk opened this issue May 31, 2017 · 0 comments

Comments

@sabazk
Copy link

sabazk commented May 31, 2017

Attempting to build Aporia on OpenBSD current. I get this...

/home/javan/app/Aporia-0.4.1/nimcache/stdlib_system.c:(.text+0x10d65): undefined reference to `pthread_threadid_np'
... clang: error: linker command failed with exit code 1 (use -v to see invocation)

They changed their pthread_np implementation after release 5.9. Not to sure how to work around yet.

@cheatfate cheatfate mentioned this issue May 31, 2017
Araq pushed a commit that referenced this issue May 31, 2017
* Use native `getthrid` on OpenBSD.
* Use NetBSD specific primitive to get thread id
krux02 pushed a commit to krux02/Nim that referenced this issue Jun 6, 2017
* Use native `getthrid` on OpenBSD.
* Use NetBSD specific primitive to get thread id
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

No branches or pull requests

1 participant