Openembedded Devel Discussions
 help / color / mirror / Atom feed
* issue about git and XDL_FAST_HASH on big endian (powerpc) machines
@ 2014-09-07 18:44 Bob Cochran
  0 siblings, 0 replies; only message in thread
From: Bob Cochran @ 2014-09-07 18:44 UTC (permalink / raw)
  To: openembedded-devel

Hi,

On my ppc64 e5500, 'git commit' fails with

git: xdiff/xutils.c:358: xdl_hash_record: Assertion `*ptr == '\n'' failed.

I built git with git_2.0.1 on poky / meta master branch: 669c07d60221

I found a related patch on OpenWRT that tracked the bug assertion on big 
endian machines to the inclusion of XDL_FAST_HASH in config.mak.uname. 
They state that XDL_FAST_HASH won't work on big endian machines.

https://dev.openwrt.org/changeset/37239

For my cross compile build, I patched out XDL_FAST_HASH to verify that 
the bug would go away on my target,  which it did.

Would anyone care to comment on how to best create a patch for this?

A quick search showed that there has been activity on patching 
XDL_FAST_HASH for big endian machines, so maybe just patching it out of 
the make file isn't the best course of action for building a big endian 
target.

Thanks,

Bob


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-07 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-07 18:44 issue about git and XDL_FAST_HASH on big endian (powerpc) machines Bob Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox