-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix fs-native-extensions build #868
Comments
We are currently using
More recent versions of fs-native-extensions do not build with The actual build process is defined in the module's What I have tried is forking
What I have investigated so far: I have checked that the symbol
So it seems like the symbol is included in the node binary that we have in the APK. I have also checked the reference to the symbol in the built file (
I am unclear what the
The difference seems to be the prefix of symbols with I'm unsure where to go next. It could be that there is an issue with the header files that are distributed with nodejs-mobile releases, or the build of nodejs-mobile itself, or it could be an issue with how linking is configured during the build process. |
I looked into this and don't have an answer—yet, I hope. I investigated whether the issue was ABI incompatibility, which I don't think is the case, because it looks like I'll do some more digging later.
I believe this is just how different compilers mangle symbols in the object file, so I don't the underscore matters. |
Building newer versions of native modules, and building them for x64, results in runtime errors of symbols not being found. There appear to be errors with the build process that is not correctly linking to nodejs-mobile headers. This is limiting the functionality of sparse files, but also the ability to update our native modules, and the ability to run on x86 architecture.
The text was updated successfully, but these errors were encountered: