-
Notifications
You must be signed in to change notification settings - Fork 35.6k
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
0.9.2: make fails on ARM w Makefile:827: recipe for target 'main.o' failed #4384
Comments
Are you sure you have enough RAM on you RPi to build bitcoind? |
Not a bitcoin problem. As @sipa noted, it is probably RAM (check 'dmesg' for OOM killing evidence) or some other hardware issue. e.g. I've seen GCC ICEs like this when a CPU overheated. |
@jgarzik - wow that was quick... 5 minutes to close a suspected issue based on "probable" OOM cause... I've submitted a 4-5 bitcoin bugs that occured on this Pi with v0.9.1, so unless something spectacularly changed, it's not an out of memory condition as I've built bitcoind on the same box 3-4 times already. |
Whatever the problem, it has nothing to do with bitcoin. And yes, compiling one bitcoin source file may require many hundreds of megabytes of RAM. https://bitcointalk.org/index.php?topic=304389.0 |
Yes, but if I took time to properly submit this issue (and other already confirmed issues), that means I'm contributing. So, the problem was the lack of virtual memory because two days ago I replaced the SD card and didn't increase swap size on the new card. By increasing swap size to the size I had before (500 MB) I was able to build bitcoin successfully as before. I'm adding these notes for the benefit of others only because you replied. |
I can confirm that this is a out-of-memory issue. For small devices you should really use cross-compilation. You're tormenting yourself by compiling something as heavy as bitcoind on the device itself. |
100% out of memory issue - Confirmed by checking dmesg (this happens on altcoins too): |
I checked out 0.9.2 today using github clone of 0.9.2 and tried to build.
I made one change to the source, based on recco from #4362, but errors don't seem related to that.
Log from configure:
http://pastebin.com/SdsGj4EG
I got make errors yesterday when I cloned "master" branch (yesterday was about missing files).
The text was updated successfully, but these errors were encountered: