Project

General

Profile

Actions

Fix #62488

open

build ceph on a system with several gcc versions

Added by Aliaksei Makarau 9 months ago. Updated 4 months ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Building debian packages (make-debs.sh) in a host with several gcc versions triggers the following error (main, reef):

lto1: fatal error: bytecode stream in file 'opentelemetry-cpp/sdk/src/trace/libopentelemetry_trace.a' generated with LTO version 12.0 instead of the expected 11.3
compilation terminated.
lto-wrapper: fatal error: /usr/bin/g++-11 returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[4]: *** [src/CMakeFiles/ceph-common.dir/build.make:504: lib/libceph-common.so.2] Error 1
make[4]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-18.0.0-5563-g82e26145840/obj-s390x-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:3827: src/CMakeFiles/ceph-common.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
root@host:~# gcc
gcc            gcc-12         gcc-ar         gcc-ar-12      gcc-nm         gcc-nm-12      gcc-ranlib     gcc-ranlib-12  
gcc-11         gcc-9          gcc-ar-11      gcc-ar-9       gcc-nm-11      gcc-nm-9       gcc-ranlib-11  gcc-ranlib-9   
root@host:~# gcc --version
gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Actions #1

Updated by Ilya Dryomov 4 months ago

  • Target version deleted (v18.2.0)
Actions

Also available in: Atom PDF