-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fails to build with GCC 14 #276
Comments
I ran into the same problem. I'm on a Gentoo Linux server and have Gentoo's package installed:
So, to skip the included rapidjson and utilize Gentoo's which has been successfully built, I performed the following modifications:
Thereafter, I successfully built the project and successfully ran the basic tests:
Note: I did have to perform some modifications on the dependency project protozero, see: Build fails at Linking CXX executable writer_tests and while the build did not successfully complete, e.g. the linking failed, the object files needed by the intermediate dependency project, libosmium, were sufficient to allow libosmium to successfully build. In conclusion, to get this project to build on Gentoo Linux 9/1/2024, I had to modify two files in this project, and make a modification to accomplish a partial build in protozero. |
As reported in Debian Bug #1075352, osmium-tool fails to build with GCC 14.
It's actually the embedded copy of rapidjson 1.1.0 that's the issue:
This is fixed upstream with Tencent/rapidjson#719 but there hasn't been a release since 2016, the embedded copy likely needs to be updated to a recent git snapshot.
The text was updated successfully, but these errors were encountered: