Bug 1155082 - qpid-cpp FTBFS on AArch64, assumes Big Endian on PPC
Summary: qpid-cpp FTBFS on AArch64, assumes Big Endian on PPC
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qpid-cpp
Version: rawhide
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Darryl L. Pierce
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
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:
Environment:
Last Closed: 2015-01-29 17:53:46 UTC
Type: Bug
Embargoed:


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


Links
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):

0.30-3

How reproducible:

always

Steps to Reproduce:
1. do a build for aarch64
2.
3.

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.