-
Notifications
You must be signed in to change notification settings - Fork 72
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
Build errors under Node 16.1.0 #190
Comments
@kriszyp nice updates .. could you please make MR here, since you've already made a new commit on your forking repo? |
I've actually still been trying to figure out the best compiler configuration across multiple projects, as the referencing fix caused a regression for at least one computer in the world: kriszyp/lmdb-js#46. I am hoping that the most reliable config is simply to not specify the C++ version at all (always just let it the compiler use latest). Just committed a fix that does, if you want to give that a try. Let me know if you want me to publish it first. |
I've tested Please publish a new version of |
Ok, I published v0.9.5 with the latest. |
Wow, fast! It works perfectly for me. This bug is squashed! |
I've been still experiencing this issue today. The solution was to prefix the commands which involve building dependencies with
|
@robert-zaremba Pushed a fix to specify C++ version based on node version, if you want to try from master. Otherwise I will publish later. |
@robert-zaremba I want to make sure I understand what is happening here before proceeding, as this change does have potential for causing regression for other users. How is that your system has C++, but ends up compiling the code with an older version? For all other users/machine, I believe the C++ is automatically compiled with the latest C++ version. Do you have another part of your build that is defaulting the C++ version to 11? (or is it possible that you were attempting to install/build an older version of node-lmdb that was specifying an incorrect C++ version, and this has already been fixed, as apparently other users seem to have reported this as fixed). |
I have published v0.9.6 with a significantly expanded set of prebuilds, which should hopefully eliminate the need for compilation in this situation. |
Refs Agoric/agoric-sdk#2977
This is apparently caused by older stdc++ compiler flags.
Please see uhop/node-re2#100 for another package that was plagued by this and found a fix.
The text was updated successfully, but these errors were encountered: