Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [git-master] compilation fails on i686  (Read 725 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12334
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
[git-master] compilation fails on i686
« 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?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline toast

Re: [git-master] compilation fails on i686
« Reply #1 on: January 04, 2014, 04:38:57 PM »
Pinging bytemaster

(I think you get notified on tapatalk if your name is mentioned? Confirm?)
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12334
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [git-master] compilation fails on i686
« Reply #2 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?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline arcke

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • Diaspora
Re: [git-master] compilation fails on i686
« Reply #3 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.
« Last Edit: January 07, 2014, 01:50:55 AM by arcke »
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - https://pod.orkz.net/u/arcke

Offline arcke

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • Diaspora
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - https://pod.orkz.net/u/arcke

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12334
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [git-master] compilation fails on i686
« Reply #5 on: January 07, 2014, 10:06:31 AM »
Thanks for the conformation
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12334
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: [git-master] compilation fails on i686
« Reply #6 on: January 24, 2014, 12:56:26 PM »
seems to be fixed in git-master ... gonna check when at home
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+