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
My application builds with xcode on osx 10.11 and links against [email protected]. Everything builds however there are some runtime problems with c++ exceptions because [email protected] is built against libstdc++6 but my application uses libc++.
> otool -L /usr/local/opt/[email protected]/lib/libv8.dylib
/usr/local/opt/[email protected]/lib/libv8.dylib:
/usr/local/opt/[email protected]/lib/libv8.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.50.2)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 489.0.0)
> otool -L /usr/local/opt/v8/lib/libv8.dylib
/usr/local/opt/v8/lib/libv8.dylib:
/usr/local/opt/v8/lib/libv8.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
Would there be a way to build [email protected] with libc++ instead? The v8 formula already uses libc++ but unfortunately it has a completely different API then [email protected] so upgrading is not an option.
The text was updated successfully, but these errors were encountered:
Same problem as nodejs/node-gyp#469. Looks like old versions of gyp default to building a lib that is compatible with OSX < 10.7 which is when clang was still using libstdc++.
We need to pass -mmacosx-version-min=10.9 to the compiler/linker so that it will use libcxx.
My application builds with xcode on osx 10.11 and links against
[email protected]
. Everything builds however there are some runtime problems with c++ exceptions because[email protected]
is built againstlibstdc++6
but my application useslibc++
.Would there be a way to build
[email protected]
withlibc++
instead? Thev8
formula already useslibc++
but unfortunately it has a completely different API then[email protected]
so upgrading is not an option.The text was updated successfully, but these errors were encountered: