Project

General

Profile

Actions

Bug #40060

closed

librados: .symver incompatible with GCC 9 (LTO)

Added by Nathan Cutler almost 5 years ago. Updated 7 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 #1

Updated by Nathan Cutler almost 5 years ago

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

Updated by Brad Hubbard over 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42602
Actions #3

Updated by Brad Hubbard over 2 years ago

  • Assignee set to Boris Ranto
Actions #4

Updated by Boris Ranto over 2 years ago

  • Assignee changed from Boris Ranto to Yehuda Sadeh
  • Backport set to pacific
  • Severity deleted (3 - minor)
Actions #5

Updated by Boris Ranto over 2 years ago

  • Assignee changed from Yehuda Sadeh to Boris Ranto
  • Severity set to 3 - minor
Actions #6

Updated by Kefu Chai over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Backport Bot over 2 years ago

  • Copied to Backport #52080: pacific: librados: .symver incompatible with GCC 9 (LTO) added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #10

Updated by Konstantin Shalygin 7 months ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF