Bug 512560 - cld has endian bugs, fails build on ppc, ppc64
Summary: cld has endian bugs, fails build on ppc, ppc64
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: cld
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Garzik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-19 08:19 UTC by Jeff Garzik
Modified: 2013-07-03 02:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-30 02:04:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Candidate patch 1 (402 bytes, patch)
2009-07-22 19:17 UTC, Pete Zaitcev
no flags Details | Diff

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


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