Actions
Bug #40060
closedlibrados: .symver incompatible with GCC 9 (LTO)
% Done:
100%
Source:
Tags:
backport_processed
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
As reported by marxin in https://github.com/ceph/ceph/pull/28170:
.symver is used in src/librados/librados_c.cc:
#define LIBRADOS_C_API_BASE(fn) \ asm(".symver _" #fn "_base, " #fn "@") #define LIBRADOS_C_API_BASE_DEFAULT(fn) \ asm(".symver _" #fn ", " #fn "@@") #define LIBRADOS_C_API_DEFAULT(fn, ver) \ asm(".symver _" #fn ", " #fn "@@LIBRADOS_" #ver)
But according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 this very same .symver is not compatible with LTO in GCC 9.
Actions