Actions
Bug #836
closedatomic-ops error on Debian arm
Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
From Lazslo:
Hi List, Being the Debian packager of Ceph, I ask for help about building 0.24.3 on armel. It fails with: g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT AuthAuthorizeHandler.o -MD -MP -MF .deps/AuthAuthorizeHandler.Tpo -c -o AuthAuthorizeHandler.o `test -f 'auth/AuthAuthorizeHandler.cc' || echo './'`auth/AuthAuthorizeHandler.cc In file included from ./include/buffer.h:55, from ./include/encoding.h:20, from ./include/object.h:29, from ./include/types.h:64, from auth/Crypto.h:17, from auth/Auth.h:18, from auth/AuthAuthorizeHandler.cc:1: ./include/atomic.h: In member function 'void ceph::atomic_t::inc()': ./include/atomic.h:33: error: 'AO_fetch_and_add1' was not declared in this scope ./include/atomic.h: In member function 'size_t ceph::atomic_t::dec()': ./include/atomic.h:36: error: 'AO_fetch_and_sub1_write' was not declared in this scope ./include/atomic.h: In member function 'void ceph::atomic_t::add(size_t)': ./include/atomic.h:39: error: 'AO_fetch_and_add' was not declared in this scope ./include/atomic.h: In member function 'void ceph::atomic_t::sub(int)': ./include/atomic.h:43: error: 'AO_fetch_and_add_write' was not declared in this scope make[3]: *** [AuthAuthorizeHandler.o] Error 1
This is very similar to a bug last September, due to an issue with how atomic-ops cascades its function definitions:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/635388
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597193
I've looked at this briefly already and don't see anything obvious, but need to look at it more deeply!
Actions