Project

General

Profile

Bug #40060

librados: .symver incompatible with GCC 9 (LTO)

Added by Nathan Cutler almost 2 years ago.

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

0%

Source:
Tags:
Backport:
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

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

History

#1 Updated by Nathan Cutler almost 2 years ago

  • Related to Bug #39974: Ceph RPM build fails on openSUSE Tumbleweed with GCC 9 added

Also available in: Atom PDF