Project

General

Profile

Actions

Bug #40060

closed

librados: .symver incompatible with GCC 9 (LTO)

Added by Nathan Cutler almost 5 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

100%

Source:
Tags:
backport_processed
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 2 (0 open2 closed)

Related to Ceph - Bug #39974: Ceph RPM build fails on openSUSE Tumbleweed with GCC 9Resolved05/20/2019

Actions
Copied to Ceph - Backport #52080: pacific: librados: .symver incompatible with GCC 9 (LTO)RejectedActions
Actions

Also available in: Atom PDF