On 13/11/2018 08:28, Gaudenz Steinlin wrote:
> 
> Hi
> 
> Emilio Pozuelo Monfort <po...@debian.org> writes:
>>
>> Your package failed to build on mips/el:
>> /usr/bin/ld: CMakeFiles/ceph-mgr.dir/mgr/DaemonServer.cc.o: in function
>> `RefCountedObject::~RefCountedObject()':
>> /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to
>> `__atomic_load_8' /usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396:
>> undefined reference to `__atomic_load_8' /usr/bin/ld:
>> CMakeFiles/ceph-mgr.dir/mgr/DaemonServer.cc.o: in function
>> `RefCountedObject::~RefCountedObject()':
>> You may need to link with -latomic.
> 
> As you can see from the rules file the package already links with -latomic by
> setting it in DEB_LDFLAGS_MAINT_APPEND. The problem is
> that cmake inserts this option before some of the object files so those don't
> get linked with libatomic.
> 
> I'm working on a fix for this. Do you know which architectures in Debian
> actually need libatomic? I would like to avoid any unnecessary linking to it.

I don't know. At least mips, mipsel and powerpc failed in this way:

https://buildd.debian.org/status/package.php?p=ceph

Maybe some others, but since most architectures can't currently build due to the
boost-context problem, we'll have to wait for that to be fixed to find out.

Emilio

Reply via email to