BitShares Forum

Main => Technical Support => Topic started by: xeroc on January 04, 2014, 12:39:51 pm

Title: [git-master] compilation fails on i686
Post by: xeroc on January 04, 2014, 12:39:51 pm
Hey there,
I just wanted to play a little with keyhotee's git-master and faild due to undefined _mm_crc32_u64

Turns out this function (cityhash) is only implemented for x86_64 .. but not available for 32bit machines ...
How can I compile (and run) on a 32bit machine? Any ideas?
Title: Re: [git-master] compilation fails on i686
Post by: toast on January 04, 2014, 04:38:57 pm
Pinging bytemaster

(I think you get notified on tapatalk if your name is mentioned? Confirm?)
Title: Re: [git-master] compilation fails on i686
Post by: xeroc on January 06, 2014, 11:12:13 am
so i found this: http://blog.reverberate.org/2012/01/state-of-hash-functions-2012.html

which states that cityhash depends on SSE4.2 and 64 bits? How can keyhotee then run on 32bit machines? is something wrong in the configure/cmake settings over here?

I'd like to compile keyhotee on my 32-bit archlinux machine. and help?
Title: Re: [git-master] compilation fails on i686
Post by: arcke on January 06, 2014, 03:34:00 pm
so i found this: http://blog.reverberate.org/2012/01/state-of-hash-functions-2012.html

which states that cityhash depends on SSE4.2 and 64 bits? How can keyhotee then run on 32bit machines? is something wrong in the configure/cmake settings over here?

I'd like to compile keyhotee on my 32-bit archlinux machine. and help?

Can someone comfirm this on another 32 bit x86 machine?

In the meantime I am setting up an older 32 bit Debian system I have to test this. Reports will follow, but it takes a while.

Modify: Confirmed. I get

'__mm_crc32_u64' was not declared in this scope

I think we can report this on git.
Title: Re: [git-master] compilation fails on i686
Post by: arcke on January 07, 2014, 01:57:29 am
https://github.com/InvictusInnovations/keyhotee/issues/216
Title: Re: [git-master] compilation fails on i686
Post by: xeroc on January 07, 2014, 10:06:31 am
Thanks for the conformation
Title: Re: [git-master] compilation fails on i686
Post by: xeroc on January 24, 2014, 12:56:26 pm
seems to be fixed in git-master ... gonna check when at home