Project

General

Profile

Actions

Bug #43747

closed

master FTBFS on s390x in openSUSE Build Service due to presence of -O2 in RPM_OPT_FLAGS

Added by Nathan Cutler over 4 years ago. Updated about 4 years ago.

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

0%

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

Description

For some time, master s390x build has been failing with:

[ 5288s] [ 89%] Linking CXX executable ../../../bin/rbd
[ 5293s] /usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: ../../../lib/librbd.so.1.12.0: undefined reference to `__atomic_store_16'
[ 5293s] /usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: ../../../lib/librbd.so.1.12.0: undefined reference to `__atomic_load_16'
[ 5293s] /usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: ../../../lib/librbd.so.1.12.0: undefined reference to `__atomic_compare_exchange_16'
[ 5293s] collect2: error: ld returned 1 exit status
[ 5293s] make[2]: *** [src/tools/rbd/CMakeFiles/rbd.dir/build.make:783: bin/rbd] Error 1
[ 5293s] make[1]: *** [CMakeFiles/Makefile2:5781: src/tools/rbd/CMakeFiles/rbd.dir/all] Error 2

So far, we suspect that this is due to the use of boost::lockfree in the Ceph code base. Although the build failure occurs when linking bin/rbd, the problem is almost certainly not limited to RBD.


Files

s390x_build.log (255 KB) s390x_build.log Nathan Cutler, 01/21/2020 05:59 PM
test.s (8.79 KB) test.s assembly from test program Nathan Cutler, 01/22/2020 12:26 PM
new_build.log (323 KB) new_build.log Nathan Cutler, 01/22/2020 02:55 PM

Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #44413: nautilus: FTBFS on s390x in openSUSE Build Service due to presence of -O2 in RPM_OPT_FLAGSResolvedKefu ChaiActions
Actions

Also available in: Atom PDF