Author

Topic: Bitcoind on Debian (SUN SPARC) (Read 2260 times)

newbie
Activity: 9
Merit: 0
May 26, 2013, 12:09:52 PM
#7
Unfortunately I need bitcoind because I must install p2pool on this machine, I check it and it's only one error which prevent compile . I'm trying to correct atomic_pointer with sparcv9, it compiles but when I run it, it shows error on Leveldb, maybe someone can look on this to correct this thing
staff
Activity: 4284
Merit: 8808
May 26, 2013, 12:29:42 AM
#6
Significant rewrite would be required to port Bitcoin to any big-endian architecture.
Thats a bit of an exaggeration. Luke has a branch which is almost but not quite there.  Just about everything gets marshaled through serialization but some work is required to get all the details right. No one competent and productive working on the codebase considers it a major priority.
legendary
Activity: 2128
Merit: 1073
May 25, 2013, 03:55:37 PM
#5
and ran it successfully?

I think picocoin which is for bitcoin is supposed to be endian dependence free.
Yeah, "it compiles" and "it works" are two different things. Bitcoin gives even a third opportunity "it runs, but forms a separate network and blockchain than the little-endian version".

Anyway, here's the link to the only publicly-known code that is endian-neutral:

https://bitcointalksearch.org/topic/announce-picocoin-and-libccoin-c-based-bitcoin-library-and-client-128055
sr. member
Activity: 574
Merit: 250
May 25, 2013, 03:48:52 PM
#4
but I successfully build yacoin daemon on sparc architecture Huh

and ran it successfully?

I think picocoin which is for bitcoin is supposed to be endian dependence free.
newbie
Activity: 9
Merit: 0
May 25, 2013, 03:47:30 PM
#3
but I successfully build yacoin daemon on sparc architecture Huh
legendary
Activity: 2128
Merit: 1073
May 25, 2013, 03:45:35 PM
#2
Significant rewrite would be required to port Bitcoin to any big-endian architecture.
newbie
Activity: 9
Merit: 0
May 25, 2013, 03:14:43 PM
#1
Code:
~/bitcoin/src$ make -f makefile.unix
Building LevelDB ...
make[1]: Entering directory `/home/robert/bitcoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/robert/bitcoin/src -I/home/robert/bitcoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/robert/bitcoin/src/leveldb/include -I/home/robert/bitcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/builder.cc -o db/builder.o
In file included from ./port/port_posix.h:50:0,
                 from ./port/port.h:14,
                 from ./db/filename.h:14,
                 from db/builder.cc:7:
./port/atomic_pointer.h:212:2: error: #error Please implement AtomicPointer for this platform.
make[1]: *** [db/builder.o] Error 1
make[1]: Leaving directory `/home/robert/bitcoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2

Any suggestion how to compile it on sparc64


Code:
cpu             : TI UltraSparc IIIi (Jalapeno)
fpu             : UltraSparc IIIi integrated FPU
pmu             : ultra3i
prom            : OBP 4.11.4 2003/07/23 08:04
type            : sun4u
ncpus probed    : 2
ncpus active    : 2
D$ parity tl1   : 0
I$ parity tl1   : 0
cpucaps         : flush,stbar,swap,muldiv,v9,ultra3,mul32,div32,v8plus,vis,vis2
Cpu0ClkTck      : 000000003bb94e80
Cpu1ClkTck      : 000000003bb94e80
MMU Type        : Cheetah+
State:
CPU0:           online
CPU1:           online
Jump to: