-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix npm install from source #2237
Comments
Refs also #2226 (keep in mind the date there). |
|
@jfirebaugh Ok! Modified the original issue. Omitting those should somewhat simplify the task. |
Moving from submodules to |
I tracked down the issue with the Linux GCC build: the Building both libraries with @TheMarex suggested that this change in GCC 4.9 could be responsible:
Suggestions @springmeyer @kkaefer? |
Capturing from chat: Re. LTO: GCC dumps a different intermediate format than Clang (which is LLVM IR, you can even link those modules using More importantly, mixing compilers is a bad idea and will not work. Even mixing different versions of the same compiler normally won't work, but for that you can read the changelog about ABI breakage. Mixing stdlibs is worse, and mixing libraries that were compiled with different C++ standard (e.g. 98 and 11) also wont work (example: copy on write string implementations were basically forbidden with latest standards). Sounds a bit harsh? :P |
Tested locally (and now passing on Travis too), fcb8f0d is 👍 as a workaround to just build |
@springmeyer Thoughts on how C++ stdlib conflicts should be handled with mason? |
Reading back here... To clarify: this issue has nothing to do with LTO. It certainly could, but in this case LTO ( So that leaves possible culprits as:
@jfirebaugh helped me dig up the actual linking error which was:
Which occurred when Next actions:
|
Linux and OS X builds of MBGL are using the same respective stdlibs in every case. |
Replicated the |
Node bindings are now included in this repo but it is impossible to install mapbox-gl-native from source using npm because
In order to make it possible to install from source, we will
installbuild geojsonvt via masonref #1522
cc @jfirebaugh @mikemorris @tmcw @incanus @bsudekum
The text was updated successfully, but these errors were encountered: