Qpid
  1. Qpid
  2. QPID-5042

Qpid 0.24 fails to build on ARM platforms.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23
    • Fix Version/s: 0.24
    • Component/s: None
    • Labels:
      None

      Description

      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

      1. QPID-5042.patch
        1.0 kB
        Gordon Sim

        Activity

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gordon Sim made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.24 [ 12324776 ]
        Resolution Fixed [ 1 ]
        Gordon Sim made changes -
        Attachment QPID-5042.patch [ 12596356 ]
        Darryl L. Pierce made changes -
        Field Original Value New Value
        Assignee Darryl L. Pierce [ mcpierce ] Gordon Sim [ gsim ]
        Darryl L. Pierce created issue -

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development