Skip to content
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

[OSRM] Add new binary, second try... #8893

Draft
wants to merge 90 commits into
base: master
Choose a base branch
from

Conversation

jeremiahpslewis
Copy link
Contributor

No description provided.

@jeremiahpslewis
Copy link
Contributor Author

Error on x86-64-linux-gnu-cxx11:

[ Info: Checking shared library lib/libosrm.so
--
ERROR: could not load library "/cache/build/yggy-amdci7-8/julialang/yggdrasil/O/OSRM/build/x86_64-linux-gnu-cxx11/ZsPx5jB0/x86_64-linux-gnu-libgfortran5-cxx11/destdir/lib/libosrm.so"
  | /cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.7/julia-1.7-latest-linux-x86_64/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /cache/build/yggy-amdci7-8/julialang/yggdrasil/O/OSRM/build/x86_64-linux-gnu-cxx11/ZsPx5jB0/x86_64-linux-gnu-libgfortran5-cxx11/destdir/lib/libosrm.so)
  | ┌ Warning: lib/libosrm.so cannot be dlopen()'ed

@jeremiahpslewis
Copy link
Contributor Author

Error on *-apple-* builds:

ld64.lld: error: undefined symbol: osrm::extractor::CompressedEdgeContainer::GetBucketReference(unsigned int) const

@imciner2
Copy link
Member

Error on x86-64-linux-gnu-cxx11

That is because it is using GCC 13, so it gets linked against a newer glibcxx version because that is what ships with it. You need to lower the GCC version requested to get around this.

@jeremiahpslewis
Copy link
Contributor Author

Error on x86-64-linux-gnu-cxx11

That is because it is using GCC 13, so it gets linked against a newer glibcxx version because that is what ships with it. You need to lower the GCC version requested to get around this.

If I lower GCC below v12, other target builds break. Is there another strategy for dealing with this issue (I don't exactly understand what the problem is...all of the dependencies were built with earlier GCC versions).

@jrklasen
Copy link

Thanks for working on this @jeremiahpslewis! If I interpreted the endings of the build names (cxx03, and cxx11) correctly, they are conflict with the cxx20 requirement of OSRM

@imciner2
Copy link
Member

interpreted the endings of the build names (cxx03, and cxx11) correctly, they are conflict with the cxx20 requirement of OSRM.

No, they aren't. These endings refer to the G++ string ABI that was used for the build. Since GCC changed the ABI of std::string for c++11, we build with both the old ABI and new ABI so that we can have libraries that interface with both in case it is needed.

@mattwigway
Copy link
Contributor

Thanks both for working on this! I'm away from the computer now, but the osrm-again branch of my Yggdrasil fork was building last I checked, not sure if you've looked at those changes.

@jeremiahpslewis
Copy link
Contributor Author

Thanks both for working on this! I'm away from the computer now, but the osrm-again branch of my Yggdrasil fork was building last I checked, not sure if you've looked at those changes.

I've included your cmake patch.

this version builds on even more platforms, just seeing if I can get mingw to build; the last failures are risc, etc. due to onetbb not being available for the platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants