Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new version gives me aes compilation errors #22

Open
muscleman opened this issue Feb 5, 2019 · 5 comments
Open

new version gives me aes compilation errors #22

muscleman opened this issue Feb 5, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@muscleman
Copy link

  1. get compilation errors
  2. readme states. cryptonight-pico, when it's really cryptonight_pico
@monerador
Copy link

same here:

[email protected] install /home/x/pool/node_modules/cryptonight-hashing
node-gyp rebuild

make: Entering directory '/home/x/pool/node_modules/cryptonight-hashing/build'
CC(target) Release/obj.target/cryptonight-hashing/xmrig/crypto/asm/cn_main_loop.o
CXX(target) Release/obj.target/cryptonight-hashing/xmrig/crypto/cn_gpu_avx.o
../xmrig/crypto/cn_gpu_avx.cpp: In function ‘__m256 fma_break(const __m256&)’:
../xmrig/crypto/cn_gpu_avx.cpp:40:40: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
inline __m256 fma_break(const __m256& x)
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
from ../xmrig/crypto/cn_gpu_avx.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h: In function ‘void prep_dv_avx(__m256i*, __m256i&, __m256&)’:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:442:1: error: inlining failed in call to always_inline ‘__m256 _mm256_cvtepi32_ps(__m256i)’: target specific option mismatch
_mm256_cvtepi32_ps (__m256i __A)
^
../xmrig/crypto/cn_gpu_avx.cpp:37:29: error: called from here
n01 = _mm256_cvtepi32_ps(v);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
from ../xmrig/crypto/cn_gpu_avx.cpp:28:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:882:1: error: inlining failed in call to always_inline ‘__m256i _mm256_load_si256(const __m256i*)’: target specific option mismatch
_mm256_load_si256 (__m256i const *__P)
^
../xmrig/crypto/cn_gpu_avx.cpp:36:26: error: called from here
v = _mm256_load_si256(idx);
^
cryptonight-hashing.target.mk:138: recipe for target 'Release/obj.target/cryptonight-hashing/xmrig/crypto/cn_gpu_avx.o' failed
make: *** [Release/obj.target/cryptonight-hashing/xmrig/crypto/cn_gpu_avx.o] Error 1
\

@MoneroOcean
Copy link
Owner

Yes, this is currently expected. I used developer version of xmrig and cn/gpu is not working fine here. Will put more time later to investigate this. Can suggest to use tagged versions at this moment if you need stable release.

@muscleman
Copy link
Author

yeah, i went back to this tag.

"cryptonight-hashing": "git://github.com/MoneroOcean/node-cryptonight-hashing.git#e0704bd7e9e88f9bf8d8d5fe54766915b39b138b",

@MoneroOcean
Copy link
Owner

Can you please check it now?

@MoneroOcean MoneroOcean added the bug Something isn't working label Feb 7, 2019
@dbaldree
Copy link

dbaldree commented Feb 8, 2019

Hi folks, just to let you know I too am having the same difficulty as **monerador ** comments. The tag version that is most recent that will compile is v5.02 (Im on Ubuntu 16.4 and Node.js 10.0.0 (or 11.9.0 as well))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants