-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
external/x64: "make build_env=external" fails #619
Comments
When the host compiler is gcc 5.1, "make build_env=external" now fails on the bug described in issue #632: the old Boost header files in external/ cannot compile on the newer compiler because of a problem in boost::addressof(). The obvious solution is not to use "make lib_env=external" at all - and even remove this option from our Makefile... But there is one seriosu flaw in this solution: Cross-compiling with "make arch=aarch64" requires this external... On Fedora (for example), we have a cross-compiler for aarch64, but the various libraries (Boost libraries, and even libstdc++) are not available. So we use lib_env=external when cross compiling. |
We've upgraded the boost libraries to a version from Fedora 21, compiled with gcc 4.9. However, our external/../libstdc++.a is from gcc 4.8.2. These two cannot work together, currently
make build_env=external
fails with:These functions, like __throw_out_of_range_fmt, are new to gcc 4.9 and it expects them to exist in the C++ standard library, but because we have in external/ a libstdc++.a from gcc 4.8, it is missing this function.
So we need to upgrade external/libstdc++.a to one from gcc 4.9 too.
The text was updated successfully, but these errors were encountered: