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

runtime/race: upstream OpenBSD support is removed #52090

cherrymui opened this issue Mar 31, 2022 · 5 comments

runtime/race: upstream OpenBSD support is removed #52090

cherrymui opened this issue Mar 31, 2022 · 5 comments


Copy link

@cherrymui cherrymui commented Mar 31, 2022

LLVM TSAN removed OpenBSD support ( )
What do we do for the race detector on OpenBSD? Do we want to remove it, or try to add it back to LLVM?

cc @dvyukov @4a6f656c @golang/runtime

Copy link

@gopherbot gopherbot commented Mar 31, 2022

Change mentions this issue: runtime/race: update syso files to new TSAN runtime (v3)

Copy link

@beoran beoran commented Mar 31, 2022

Why was it even dropped? It is not very clear from the issue above.

Copy link

@qbit qbit commented Apr 1, 2022

I added the initial bits for llvm. No clue why they added it - I will ask.

My pref is to keep it enabled in Go if at all possible. I use the feature pretty regularly.

Copy link

@randall77 randall77 commented Apr 1, 2022

For now we can just not update TSAN on openbsd. The updates we want to do are mostly performance, so it is ok if it isn't available everywhere (the 8192 goroutine limit might be annoying if it is gone everywhere else, though).

Longer term that isn't a solution, though. At some point we'd have to either fix openbsd support or drop the openbsd race detector.

Copy link

@dvyukov dvyukov commented Apr 1, 2022

Honestly, I don't know what happened. But it was removed from everywhere, not just tsan.
It seems that the simplest option is not update OpenBSD runtime.

gopherbot pushed a commit that referenced this issue Apr 1, 2022
Following CL 333529, update syso files for other architectures.

Windows/AMD64 is not updated, waiting for Than for C toolchain

OpenBSD/AMD64 is not updated as upstream LLVM TSAN removed OpenBSD
support (#52090).

Linux/PPC64LE is not updated due to a test failure. Will look into

Change-Id: I46441fd3bb0f2c9e372d3e7fd43744ffafaf87a1
Trust: Cherry Mui <>
Reviewed-by: Keith Randall <>
@cherrymui cherrymui added the NeedsDecision label Apr 5, 2022
@cherrymui cherrymui added this to the Go1.19 milestone Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

6 participants