Darryl L. Pierce created QPID-5042: -------------------------------------- Summary: Qpid 0.24 fails to build on ARM platforms. Key: QPID-5042 URL: https://issues.apache.org/jira/browse/QPID-5042 Project: Qpid Issue Type: Bug Affects Versions: 0.23 Reporter: Darryl L. Pierce Assignee: Darryl L. Pierce Priority: Blocker
When compiling on ARM, the following occurs: [ 60%] Building CXX object src/CMakeFiles/qpidbroker.dir/qpid/broker/PagedQueue.o /home/mcpierce/Programming/Qpid/qpid/cpp/src/qpid/broker/PagedQueue.cpp: In member function ‘void qpid::broker::PagedQueue::Page::load(qpid::sys::MemoryMappedFile&, qpid::broker::ProtocolRegistry&)’: /home/mcpierce/Programming/Qpid/qpid/cpp/src/qpid/broker/PagedQueue.cpp:298:62: error: cast from ‘char*’ to ‘uint32_t* {aka unsigned int*}’ increases required alignment of target type [-Werror=cast-align] uint32_t count = *(reinterpret_cast<uint32_t*>(region)); ^ cc1plus: all warnings being treated as errors make[2]: *** [src/CMakeFiles/qpidbroker.dir/qpid/broker/PagedQueue.o] Error 1 make[1]: *** [src/CMakeFiles/qpidbroker.dir/all] Error 2 make: *** [all] Error 2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org