Bitcointalk · Build error SVN r115 on my Mac: workaround

中本聪,2010 年 7 月 28 日

SN-1699 已核对来源,附原文与上下文。

阅读语言
中文译文

难道我在 OSX 构建里就弄坏了这一处?!只改这一处之后真的能跑?

makefile.vc 我也不得不这么干。编译通过了,但 SHA-256 不正确;每次都返回同一个错误的哈希。

我们先禁用它,等有人想出修法再启用。光是 midstate 优化就还有 1.7 倍的速度。

Crypto++ 的 ASM SHA-256 在 Linux 和 Windows(MinGW)的 GCC 下正常。

我把这个 makefile.osx 改动传到了 SVN。(编译能过的话告诉我一声)

ORIGINAL · 英文原文
Was that the only thing I broke in the OSX build?!  Does it actually work after just that one change?

I had to do that for makefile.vc also.  It compiled, but SHA-256 didn't work correctly; it returned the same incorrect hash each time.

We'll disable it now, and if anyone figures out how to fix it, we can re-enable it then.  It's still 1.7x faster from the midstate optimisation.

The Crypto++ ASM SHA-256 works with GCC on Linux and Windows (MinGW).

I uploaded this makefile.osx change to SVN.  (let me know if that compiles now)
上下文
← 上一条 SN-1699 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-1699