FTBFS on armhf (and mips) - undefined reference to `_uatomic_link_error'

Bug #1951408 reported by Christian Ehrhardt 
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glusterfs
Fix Released
Unknown
glusterfs (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

FTBFS for version 10.x:

libtool: link: gcc -Wall -I/usr/include/uuid -I/usr/include/tirpc -Wformat -Werror=format-security -Werror=implicit-function-declaration -flto -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -rdynamic -flto -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/glusterfsd glusterfsd.o glusterfsd-mgmt.o -ltirpc ../../libglusterfs/src/.libs/libglusterfs.so ../../rpc/rpc-lib/src/.libs/libgfrpc.so ../../rpc/xdr/src/.libs/libgfxdr.so -lm -ldl -lrt -lpthread -lcrypto
/usr/bin/ld: ../../libglusterfs/src/.libs/libglusterfs.so: undefined reference to `_uatomic_link_error'

Ubuntu:
https://launchpadlibrarian.net/569426150/buildlog_ubuntu-jammy-armhf.glusterfs_10.0-1.2_BUILDING.txt.gz

Debian:
https://buildd.debian.org/status/fetch.php?pkg=glusterfs&arch=armel&ver=10.0-1.2&stamp=1637143838&raw=0
https://buildd.debian.org/status/fetch.php?pkg=glusterfs&arch=mipsel&ver=10.0-1.2&stamp=1637144549&raw=0
https://buildd.debian.org/status/fetch.php?pkg=glusterfs&arch=armhf&ver=10.0-1.2&stamp=1637143701&raw=0

This blocks migration, so add update-excuse tag

It seems to be similar to https://<email address hidden>/msg12950.html
We need to test if -DUATOMIC_NO_LINK_ERROR will help, but even if it does then also if it is right to add it here.

Related branches

Changed in glusterfs (Ubuntu):
status: New → Triaged
tags: added: server-next update-excuse
description: updated
Changed in glusterfs:
status: Unknown → New
Changed in glusterfs (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
Changed in glusterfs (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glusterfs - 10.0-1.2ubuntu1

---------------
glusterfs (10.0-1.2ubuntu1) jammy; urgency=medium

  * d/rules: add -DUATOMIC_NO_LINK_ERROR to CFLAGS to fix armhf build
    (LP: #1951408)

 -- Andreas Hasenack <email address hidden> Thu, 25 Nov 2021 10:38:14 -0300

Changed in glusterfs (Ubuntu):
status: In Progress → Fix Released
Changed in glusterfs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.