You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed.
Currently I do not have any OSX with GPU to confirm everything is OK, but I tested build of C++ part and you are right, there is problem.
Later I will see how if it is possible to prepare the same code for Linux, Windows and OSX, but for now workaround for you:
"implicitly declaring library functon maloc'".... in file base58.c
add line:
#include <stdlib.h>
at the end of includes
"use of undeclared identifier '__buildin_ia32_sbb_u64'" in Int.h
change
#define _subborrow_u64(a,b,c,d) __builtin_ia32_sbb_u64(a,b,c,(long long unsigned int*)d);
to:
#define _subborrow_u64(a,b,c,d) __builtin_ia32_subborrow_u64(a,b,c,(long long unsigned int*)d);
"invalid input constraint 'c' in asm"
I cannot reproduce...
Which OSX / computer do you have? Is it M1?
I do not know how to solve it yet, but I will keep you posted. I am not sure if it will be very easy to port code to ARM.
this is what i got
jonathandoe@MacBook-Air-3 wifsolvercuda % make all
mkdir -p obj
g++ -std=c++11 -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -I. -I/include -o obj/ripemd160.o -c lib/hash/ripemd160.cpp
clang: warning: argument unused during compilation: '-mssse3' [-Wunused-command-line-argument]
lib/hash/ripemd160.cpp:36:39: error: invalid input constraint 'c' in asm
asm("roll %1,%0" : "+r" (x) : "c" (r));
^
1 error generated.
make: *** [all] Error 1
The text was updated successfully, but these errors were encountered: