Bitcoin Forum
October 20, 2018, 06:11:22 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] g++: internal compiler error: Killed (program cc1plus)  (Read 62366 times)
vual
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile
September 29, 2013, 04:16:32 AM
 #1

SOLVED: Not enough ram, make sure to run the command "free -m" and check your ram, turns our 256 isnt enough even with all the swap space in the world.

Hi guys ,

I have tried everything, swap space fix, building dependencys from scratch, ... reinstalling os.. everything.
Anyway i keep getting this error:


http://pastebin.com/w14BVNAL

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4


All dependencys are fine, its just this strange error im getting, i tried to check dmsg and there was no info about running out of memory and i tried to give it 1g of swapspace before build.. still same error.

I offer a 0.1BTC bounty to any linux wizard that can jump on my home windows box via team-view and use my ssh connection threw that to get it to compile.

Bounty's on the table,
MSG me if you are interested.
-Scott

center]

            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
[/center]
1540059082
Hero Member
*
Offline Offline

Posts: 1540059082

View Profile Personal Message (Offline)

Ignore
1540059082
Reply with quote  #2

1540059082
Report to moderator
1540059082
Hero Member
*
Offline Offline

Posts: 1540059082

View Profile Personal Message (Offline)

Ignore
1540059082
Reply with quote  #2

1540059082
Report to moderator
1540059082
Hero Member
*
Offline Offline

Posts: 1540059082

View Profile Personal Message (Offline)

Ignore
1540059082
Reply with quote  #2

1540059082
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540059082
Hero Member
*
Offline Offline

Posts: 1540059082

View Profile Personal Message (Offline)

Ignore
1540059082
Reply with quote  #2

1540059082
Report to moderator
GoldenWings91
Full Member
***
Offline Offline

Activity: 141
Merit: 100


View Profile
September 29, 2013, 04:36:14 AM
 #2

Sounds as if your out of memory try adding even more swap space.

Support The Bitcoin Network By Running A Full Node
Node Stats     GPG Key-ID: 0x445DF2D8     Monetary Freedom Is A Basic Human Right
JoelKatz
Legendary
*
Offline Offline

Activity: 1582
Merit: 1004


Democracy is vulnerable to a 51% attack.


View Profile WWW
September 29, 2013, 04:42:40 AM
 #3

I agree with GoldenWings91. How much swap space and memory do you have? Make sure you're only compiling one file at a time. You can watch with 'top' as it compiles. See how many compilers it's starting and how big the RSS of the compiler process gets. Determine, for sure, whether it's virtual memory exhaustion or not.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
vual
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile
September 29, 2013, 06:01:53 AM
 #4

I tried adding a extra 1g swap space, still had problems.
I just bought some more ram.... ill keep you posted.

center]

            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
[/center]
vual
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile
September 29, 2013, 06:10:44 AM
 #5

OK solved i build on a 4g ram system no worrys, turns out 256 is to low Wink
For others stuck here, make sure you do a "free -m" and see how much ram you have.

center]

            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
[/center]
twistedtrick
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
December 18, 2013, 09:04:10 PM
 #6

Currently having this issue as well - going to try and boost my RAM and see if it solves the issue. Thank you for the topic/solution!
headsex
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
December 23, 2013, 04:39:39 AM
 #7

turns out 512mb of ram is not enough either Cheesy, you need 1gb ram

GoldSeal
Legendary
*
Offline Offline

Activity: 1750
Merit: 1002



View Profile
June 18, 2014, 06:20:18 AM
Merited by JimmyCoin (1)
 #8

I had the same problem ona  digital ocean $5 VPS. Couldn't compile a client to save my life. The fix was to do the following:

Code:
free
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
free
make -f makefile.unix

Regardless of what the first poster said. Swap will overcome this problem.

Moving to Puerto Rico...
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!