Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[linux] Build with GCC 5 - #4901

Merged
jfirebaugh merged 2 commits into
masterfrom
gcc-5
Apr 29, 2016
Merged

jfirebaugh merged 2 commits into
masterfrom
gcc-5

Conversation

@jfirebaugh

@jfirebaugh jfirebaugh commented Apr 28, 2016 •

Copy link
Copy Markdown
Contributor

Fixes #2553

@jfirebaugh

Copy link
Copy Markdown
Contributor Author

I expected to get linker errors in gtest and geojson-vt-cpp due to the ABI change, but didn't. 😕

cc @tmpsantos

@tmpsantos

Copy link
Copy Markdown
Contributor

I expected to get linker errors in gtest and geojson-vt-cpp due to the ABI change, but didn't.

That is because we are probably installing the compiler but linking with an older libstdc++ (not the new one that supposedly ships with GCC 5 and caused the ABI breakage).

I still get the same linking errors on my Ubuntu 16.04 with this branch. Let's go ahead and merge this compiler upgrade and proceed with mapbox/mason#157.

@jfirebaugh

Copy link
Copy Markdown
Contributor Author

Yeah, I think it's either that or that the ubuntu-toolchain-r GCC 5 packages for precise are configured with to use _GLIBCXX_USE_CXX11_ABI=0 by default. Can't find any documentation of that but the GCC dual ABI docs do say "some GNU/Linux distributions configure GCC 5 differently so that the default value of the macro is 0".

@jfirebaugh
jfirebaugh merged commit c1ad321 into master Apr 29, 2016
@jfirebaugh
jfirebaugh deleted the gcc-5 branch April 29, 2016 16:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants