You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build nodejs 4.6 on Debian squeeze using clang 381
x64. From reading at glance in common.gypi file needs some little hack to adjust ccflags ,ldflags and Icu-generic.gypi also need -frtti ccflags. Unfortunately, configure script need also to be adjusted as well. My temporarily workaround was to tell configure script to generate cmake project file instead of raw makefile. I've tried this and the build stopped at v8 deps. This looked like will happen in freebsd clang as well but I havent tried yet. I 'll diagnosed the problems and post the progress when the time permits.
Okay, so this is a V8 4.5 build issue that seems to be specific to your combination of compiler/libc++/etc.
If you want to see this fixed, you could try filing a pull request against the v4.x-staging branch. If you are happy with your current workaround, can you close the issue? Thanks.
We'd have to thoroughly research what the ramifications of statically linking libc++ et al. would be.
For example, a node binary linked against one libc++ version trying to interact with a native module linked against another libc++ version could end catastrophically because of incompatible memory allocators and such.
Activity
bnoordhuis commentedon Oct 7, 2016
Can you do a clean build and post the verbatim output? If you get RTTI errors, try applying #8886.
bnoordhuis commentedon Oct 7, 2016
Try building with
make CC.host=clang CC.target=clang CXX.host=clang++ CXX.target=clang++ LINK.host=clang++ LINK.target=clang++.bnoordhuis commentedon Oct 8, 2016
Okay, so this is a V8 4.5 build issue that seems to be specific to your combination of compiler/libc++/etc.
If you want to see this fixed, you could try filing a pull request against the v4.x-staging branch. If you are happy with your current workaround, can you close the issue? Thanks.
bnoordhuis commentedon Oct 10, 2016
We'd have to thoroughly research what the ramifications of statically linking libc++ et al. would be.
For example, a node binary linked against one libc++ version trying to interact with a native module linked against another libc++ version could end catastrophically because of incompatible memory allocators and such.