-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
wasm-opt fails due to duplicated symbol #4371
Comments
Do you by any chance run |
I think @daxpedda If you can point me to resources explaining it, I can probably verify and figure out stuff. Thank you for help! |
I'm not aware where a detail like that is documented. But AFAIK Let me know when you have something reproducible to share I can look at! |
@daxpedda Welll... I do have something reproducible, but it is far from anything "minimized". Our app is source-available, and last public release is also affected. We use Nix flakes to make dev process smooth, so if you have / don't mind setting up Nix you could repro it with just:
but get ready for a lot of building. Alternatively, just looking at it, might reveal something, though AFAICT it is rather standard Rust project that does |
How about you compile this app with |
Do you care if it's debug or release build? The newest bindgen I have easy access to is 0.2.95. I'll have to hack it a bit to get 0.2.99, but will get back to you with it. |
Yes, sorry, should be a release build. I'm assuming your bug happens with a release build? AFAIK In any case, if the bug is triggered in a dev build, we should still look into it. While we don't intend to be compatible with |
I specifically meant only running But there clearly a bug in |
Oh, sorry, I forgot about it over the weekend. 🤦 So this is what I'm doing now:
Should be here now: https://dpc.pw/fedi_wasm-raw.wasm |
Describe the Bug
wasm-opt
fails with:I can't tell why. I tried a lot of things: mostly changing version of everything I could: relevant dependencies, involved tools, rust toolchain; tweaking build options.
I have no idea why this is happening.
Steps to Reproduce
It's in our internal project and I can't share it RN.
The text was updated successfully, but these errors were encountered: