Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1155082 - qpid-cpp FTBFS on AArch64, assumes Big Endian on PPC
Summary: qpid-cpp FTBFS on AArch64, assumes Big Endian on PPC
Alias: None
Product: Fedora
Classification: Fedora
Component: qpid-cpp
Version: rawhide
Hardware: aarch64
OS: Unspecified
Target Milestone: ---
Assignee: Darryl L. Pierce
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64 F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
Reported: 2014-10-21 11:11 UTC by Marcin Juszkiewicz
Modified: 2015-06-22 00:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-01-29 17:53:46 UTC
Type: Bug

Attachments (Terms of Use)
patch + spec changeset (3.22 KB, application/mbox)
2014-10-21 11:11 UTC, Marcin Juszkiewicz
no flags Details

System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-6170 0 None None None Never

Description Marcin Juszkiewicz 2014-10-21 11:11:34 UTC
Created attachment 948887 [details]
patch + spec changeset

Description of problem:

qpid-cpp fails to build on AArch64 architecture. It's set of checks for word size and endianness does not cover it.

Also it always assumes that PowerPC is big endian which is not true for ppc64le.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. do a build for aarch64

Actual results:

In file included from /builddir/build/BUILD/qpid-cpp-0.30/src/qpid/legacystore/jrnl/rec_hdr.h:38:0,
                 from /builddir/build/BUILD/qpid-cpp-0.30/src/qpid/legacystore/jrnl/deq_hdr.h:37,
                 from /builddir/build/BUILD/qpid-cpp-0.30/src/qpid/legacystore/jrnl/deq_rec.h:45,
                 from /builddir/build/BUILD/qpid-cpp-0.30/src/qpid/legacystore/jrnl/deq_rec.cpp:33:
/builddir/build/BUILD/qpid-cpp-0.30/src/qpid/legacystore/jrnl/jcfg.h:49:2: error: #error endian?
 #error endian?

Expected results:

package builds

Additional info:

patch submitted upstream for discussion

Comment 1 Peter Robinson 2015-01-29 17:53:46 UTC
I think this is now fixed

Note You need to log in before you can comment on or make changes to this bug.