Bug 512560

Summary: cld has endian bugs, fails build on ppc, ppc64
Product: [Fedora] Fedora Reporter: Jeff Garzik <jgarzik>
Component: cldAssignee: Jeff Garzik <jgarzik>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jgarzik, peterm, zaitcev
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-30 02:04:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Candidate patch 1 none

Description Jeff Garzik 2009-07-19 08:19:45 UTC
Description of problem:
Build fails on ppc and ppc64, and likely any other big-endian system.

Version-Release number of selected component (if applicable):
cld-0.2-0.1.g023a127d.fc12

How reproducible:
always

Steps to Reproduce:
1. build cld in koji, without ExcludeArch line
2.
3.
  
Actual results:
build failure

Expected results:
Success!

Additional info:

Comment 1 Pete Zaitcev 2009-07-19 18:52:03 UTC
relevant log:

gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -o .libs/lock-file-event lock-file-event.o  ../lib/.libs/libcldc.so -lglib-2.0 -lcrypto -levent
creating lock-file-event
PASS: prep-db
PASS: start-daemon
PASS: pid-exists
PASS: it-works
PASS: save-file-event
Bad CLD file length 0
FAIL: load-file-event

Comment 2 Pete Zaitcev 2009-07-22 19:17:14 UTC
Created attachment 354774 [details]
Candidate patch 1