-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Generating system library: unknown type name 'atomic_flag' #18302
Comments
Most likely this is because updates libc++ in #18113 which was released in 3.1.25. Are you sure the version libc++ in your |
Hmm. I'm relative sure that the build is always from scratch (conan recipe), as I set |
I guess you need to take a look at that failing command and dive deeper. On my machine (and in all our test environments) this doesn't show up so it must be something specific to your environment. Lets try to dive a bit deeper. The first thing you can see is that the problem is completely unrelated to your code, its simply trying to build one of the standard system libraries and failing. Can you confirm this by running Next you want to look at why Can you trying running the failing emcc command with -E to get the preprocessed output? Can you attach the full failing command along with that output? |
The failing command is:
If I add a
in this case. |
When I do it manually (clone, emsdk install/activate, embuild --force) it works. So I'll try to find out more about the differences on monday. And what exactly changed from .24 to .25 to cause this. Thanks for the input so far @sbc100 |
As I say I suspect the libc++ upgrade: #18113. That change contains a lot of upstream llvm changes. You can try to understand them, but it might not be worth you time. The imporant thing I believe is trying to figure out the difference between your two environments where one is working and one isn't. We haven't had any other reports like this so all signs point to something with you setup. |
Ok. It looks like this is caused by an additional include I needed to add in the past, in order to make compilation from conan work. Fact is that it stopped working for whatever reason and I'm going to find a workaround here. Closing it, as it's out of scope - and thanks for the input. |
Version of emscripten/emsdk:
When building a library from our toolchain (bzip2 in this case), it starts to generate system libraries when linking. Starting with 3.1.25, I'm getting this:
Maybe I need to change something in the build flags, but I can't find any hints for that in the changelog. Any ideas?
The text was updated successfully, but these errors were encountered: