Bitcoin Forum
May 06, 2024, 03:53:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind on Debian (SUN SPARC)  (Read 2238 times)
robertgg (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 25, 2013, 08: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
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
1714967636
Hero Member
*
Offline Offline

Posts: 1714967636

View Profile Personal Message (Offline)

Ignore
1714967636
Reply with quote  #2

1714967636
Report to moderator
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
May 25, 2013, 08:45:35 PM
 #2

Significant rewrite would be required to port Bitcoin to any big-endian architecture.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
robertgg (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 25, 2013, 08:47:30 PM
 #3

but I successfully build yacoin daemon on sparc architecture Huh
twobits
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
May 25, 2013, 08: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.

█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
███
███
███
███
███
███
███
███
███
HyperQuant.net
Platform for Professional Asset Management
███
███
███
███
███
███
███
███
███
WhitePaper
One-Pager
███
███
███
███
███
███
███
███
███
Telegram 
Facebook
Twitter
Medium
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
May 25, 2013, 08: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://bitcointalk.org/index.php?topic=128055.0

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 26, 2013, 05: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.
robertgg (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 26, 2013, 05: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!