1 2012-03-08 01:17:52 <DBordello> I am trying to compile from the latest git. However, after compiling bitcoinrpc.ccp I get the following error: g++: Internal error: Killed (program cc1plus)
2 2012-03-08 01:17:54 <DBordello> thoughts?
3 2012-03-08 01:18:09 <sipa> OOM?
4 2012-03-08 01:18:19 <sipa> how much memory does yout system have?
5 2012-03-08 01:18:44 <DBordello> 612 MB i think
6 2012-03-08 01:19:01 <DBordello> I think you are right
7 2012-03-08 01:19:42 <DBordello> Thank you
8 2012-03-08 01:20:03 <DBordello> Is there an easy solution? besides obvious ones, like get more memory
9 2012-03-08 01:20:54 <Lubo_> Bigger swap?
10 2012-03-08 01:21:24 <DBordello> It is an Amazon EC2 instance. I guess I could activate swap
11 2012-03-08 01:21:29 <DBordello> I imagine that would be *sloow*
12 2012-03-08 01:22:49 <Lubo_> use own machine... or use crosscompiling with own machine
13 2012-03-08 01:23:36 <DBordello> that is just unfortunate
14 2012-03-08 01:23:42 <Lubo_> you can check up the gentoo howto's. Its fun compiling KDE with 10 233mhz machines :P
15 2012-03-08 01:23:50 <DBordello> good idea
16 2012-03-08 01:26:39 <DBordello> Going again with 4 GB of "virtual swap"
17 2012-03-08 01:26:45 <DBordello> yikes, i bet that will take a while
18 2012-03-08 01:27:29 <sipa> DBordello: i advise using less swap
19 2012-03-08 01:27:37 <DBordello> sipa, why is that?
20 2012-03-08 01:28:02 <sipa> if you have more swap, gcc may think you have more memory (not sure about that though) and keep more in memory
21 2012-03-08 01:28:20 <DBordello> I am hoping I can just clear this little hurdle and we be on my way
22 2012-03-08 01:29:24 <sipa> try 1 GiB
23 2012-03-08 01:29:26 <sipa> swap
24 2012-03-08 01:29:30 <sipa> that should suffice
25 2012-03-08 01:29:35 <Lubo_> it should be just fine. I had no problems with 20GB swap and 192MB of RAM ;)
26 2012-03-08 01:30:09 <DBordello> I already started with 4 GiB. We will see how things go, I will report back
27 2012-03-08 01:30:36 <sipa> ok
28 2012-03-08 01:38:46 <DBordello> /usr/bin/ld: cannot find -lz
29 2012-03-08 01:38:50 <DBordello> I am missing something aren't I
30 2012-03-08 01:39:14 <sipa> zlib-dev
31 2012-03-08 01:39:34 <sipa> zlib1g-dev here
32 2012-03-08 01:39:42 <sipa> see doc/build-unix.txt
33 2012-03-08 01:40:11 <sipa> hmm, it doesn't mention zlib
34 2012-03-08 01:40:39 <DBordello> that is what I thought :)
35 2012-03-08 01:40:40 <luke-jr> he shouldn't need -dev O.o
36 2012-03-08 01:40:56 <DBordello> I actually already have zlib-devel
37 2012-03-08 01:40:58 <luke-jr> and bitcoind doesn't need zlib afaik
38 2012-03-08 01:41:05 <luke-jr> libpng probably does
39 2012-03-08 01:41:43 <luke-jr> DBordello: you might build with less memory, if you disable debug info
40 2012-03-08 01:42:05 <luke-jr> also CFLAGS="${CFLAGS} --param ggc-min-expand=0 --param ggc-min-heapsize=32768"
41 2012-03-08 01:42:19 <DBordello> so that I am not constantly bugging you, how did you know -lz was zlib? I installed the static libraries and got further, now I am missing -ldl
42 2012-03-08 01:42:29 <DBordello> luke-jr, I appreciate that
43 2012-03-08 01:42:30 <DBordello> I'll give it a shot
44 2012-03-08 01:42:55 <luke-jr> -lz mean libz. which is zlib.
45 2012-03-08 01:43:07 <luke-jr> DBordello: why are you static linking?
46 2012-03-08 01:43:36 <DBordello> because I don't know any better and am following a guide for compiling on CentOS
47 2012-03-08 01:45:54 <DBordello> So what is "ldl"?
48 2012-03-08 01:48:14 <lianj> one from glibc
49 2012-03-08 01:48:41 <DBordello> got it, thanks. All compiled and nice
50 2012-03-08 01:49:26 <sipa> DBordello: CentOS... that means you also compiled OpenSSL from source?
51 2012-03-08 01:49:35 <DBordello> sipa, yes
52 2012-03-08 01:50:17 <sipa> good that there is functional guide for CentOS then; up to some time ago, people were using one for 0.3.24 :)
53 2012-03-08 01:50:28 <DBordello> a pretty good guide too
54 2012-03-08 01:50:32 <DBordello> it is actually a script
55 2012-03-08 01:52:47 <DBordello> sipa, I was actually compiling so that I could use one of your patches https://github.com/bitcoin/bitcoin/pull/841
56 2012-03-08 01:53:17 <luke-jr> DBordello: that's part of next-test fwiw
57 2012-03-08 01:54:18 <zirpint> coool
58 2012-03-08 01:54:28 <DBordello> what tree can I find next-test in?
59 2012-03-08 01:54:45 <luke-jr> DBordello: my personal repo on Gitorious
60 2012-03-08 01:55:00 <DBordello> let me give that a spin
61 2012-03-08 01:55:07 <luke-jr> git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin.git
62 2012-03-08 01:56:59 <DBordello> luke-jr, FYI warning: remote HEAD refers to nonexistent ref, unable to checkout.
63 2012-03-08 01:57:46 <luke-jr> DBordello: checkout next-test, not HEAD :P
64 2012-03-08 01:57:56 <luke-jr> I don't publish a HEAD
65 2012-03-08 01:58:46 <DBordello> luke-jr, fair enough
66 2012-03-08 01:59:14 <luke-jr> OR, just add it as a remote to your existing branch :p
67 2012-03-08 02:00:01 <zirpint> "i swear on luke-jr's mullet"
68 2012-03-08 02:36:09 <luke-jr> sipa: interestingly, it seems someone actually has a corrupt private key in their wallet :x
69 2012-03-08 02:36:20 <luke-jr> https://bitcointalk.org/index.php?topic=67798.msg789532#msg789532
70 2012-03-08 02:41:31 <kish> bitcoind: malloc(): smallbin double linked list corrupted: 0x0000000004582770 ***
71 2012-03-08 02:41:35 <kish> is that dangerous?
72 2012-03-08 02:42:14 <sipa> that should never happen
73 2012-03-08 02:42:26 <sipa> which version are you running, and what did you do?
74 2012-03-08 02:42:36 <kish> i'm running 60000
75 2012-03-08 02:42:37 <sipa> (it indicates memory corruption)
76 2012-03-08 02:42:42 <sipa> git head?
77 2012-03-08 02:42:51 <sipa> or 0.6.0rc2?
78 2012-03-08 02:43:15 <kish> i added some gcc protection lines from an earlier version to the makefile
79 2012-03-08 02:43:34 <kish> those lines were removed from 6