You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @wheybags
You said that You have built binary libs on DEBIAN 9 (GLIBC 2.24) and run on UBUNTU 12.04( GLIB 2.14) successfully. I know that the GCC version is different on those two systems. Do you have any tricks or something? Because I fail on building libs on Ubuntu 18.04 and expect to run on CentOS7 due to GCC version. Thank you
The text was updated successfully, but these errors were encountered:
The headers in this repository only affect the glibc symbols. You probably still have problems with libgcc and libstdc++ (if using C++), which get linked dynamically by default. Both of them can be linked statically by using the flags -static-libgcc and/or -static-libstdc++.
Note that when using C++ the default libstdc++ from a newer system might have dependencies on later versions of the glibc, as it is mentioned in the readme. This is a hard problem to circumvent, as it requires to build your own version of libstdc++. See #20 for further discussion.
Thank you for your response.
I've tried #20 . I choose to use the first solution ( rebuild project on old Ubuntu 18.04 gcc version 4.9.3, CentOS 7 uses gcc 4.8.5, it seems compatible together) and gcc errors gone (no error std:__cxx11...).
But still exist some errors due to glibc (after compilling with this magic header file glibc2.17):
undefined reference to _ZGVdN8vv_powf@GLIBC_2.22' undefined reference to _ZGVcN4v_exp@GLIBC_2.22'
undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
I 've spent for weeks for this bug but did not help. Please give some advice, many thanks.
Hello @wheybags
You said that You have built binary libs on DEBIAN 9 (GLIBC 2.24) and run on UBUNTU 12.04( GLIB 2.14) successfully. I know that the GCC version is different on those two systems. Do you have any tricks or something? Because I fail on building libs on Ubuntu 18.04 and expect to run on CentOS7 due to GCC version. Thank you
The text was updated successfully, but these errors were encountered: