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

add option to force to build in a separate thread #696

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

rjodinchr
Copy link
Contributor

Also name the build thread only if built in a separate thread.

@rjodinchr
Copy link
Contributor Author

I'm experiencing issues with clang starting to segfault in the frontend. Building in a separate thread fixes the issue. It feels like a stack corruption, but I did not figure out exactly where it is coming from.

I am not able to have a simple reproducer that I can share yet.

@rjodinchr
Copy link
Contributor Author

This is not needed anymore in ChromeOS. It seems that clang has been fixed.
I would be in favour of still merging it to be able to easily switch in case anyone experiences that issue, but I'm also fine just closing it.

Also name the build thread only if built in a separate thread.
Copy link
Owner

@kpet kpet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get it in as a debugging tool.

src/program.cpp Outdated Show resolved Hide resolved
@kpet kpet merged commit 353375a into kpet:main Aug 29, 2024
9 checks passed
@rjodinchr rjodinchr deleted the pr/build-in-thread branch August 29, 2024 18:07
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.

2 participants