Issue information

Issue ID
#7803
Status
Working as Intended
Severity
None
Started
z O r n
Nov 6, 2013 23:17
Last Post
Haru
Jan 22, 2014 0:53
Confirmation
N/A

z O r n - Nov 6, 2013 23:17

[color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
make[1]: Entering directory `/root/Desktop/trunk/src/plugins'[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
CC HPMHooking.c[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
{standard input}: Assembler messages:[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
{standard input}:173042: Warning: end of file not at end of a line; newline inserted[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
gcc: Internal error: Killed (program cc1)[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
Please submit a full bug report.[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
See <URL:[url="http://bugzilla.redhat.com/bugzilla"]http://bugzilla.redhat.com/bugzilla[/url]> for instructions.[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
make[1]: *** [../../plugins/HPMHooking.so] Error 1[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
make[1]: Leaving directory `/root/Desktop/trunk/src/plugins'[/font][/color][color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
make: *** [plugins] Error 2[/font][/color]
[color=rgb(40,40,40)][font=helvetica, arial, sans-serif]
When i type make plugins this shows up.[/font][/color]

Ind - Nov 6, 2013 23:37

I *think* this error means you ran out of memory and the operating system terminated gcc before it completed[code=auto:0] gcc: Internal error: Killed (program cc1)[/code]

z O r n - Nov 7, 2013 7:15

Im using CentOS VPS. i cant use plugins because of low memory?

Dastgir Pojee - Nov 7, 2013 18:18

Be sure that while compiling you have enough memory available(Maybe when you were compiling, there weren't enough free memory available, like other things may be running on background)

alkhaleej - Nov 9, 2013 14:22

same problem here.

alkhaleej - Nov 9, 2013 14:24

make[1]: Entering directory `/root/Desktop/trunk/src/plugins'
CC HPMHooking.c
{standard input}: Assembler messages:
{standard input}:179558: Warning: end of file not at end of a line; newline inserted
{standard input}:181763: Error: suffix or operands invalid for `push'
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <[url="http://bugzilla.redhat.com/bugzilla"]URL:http://bugzilla.redhat.com/bugzilla[/url]> for instructions.
make[1]: *** [../../plugins/HPMHooking.so] Error 1
make[1]: Leaving directory `/root/Desktop/trunk/src/plugins'
make: *** [plugins] Error 2

Ind - Nov 11, 2013 19:43

try to configure with, e.g.[code=auto:0] ./configure --disable-lto [/code]and let me know if it is enough for it to compile without errors

alkhaleej - Dec 21, 2013 6:43

upgraded SVN to 13703

configured using[code=auto:0]./configure --disable-lto[/code]
still have some errors[code=auto:0]{standard input}: Assembler messages: {standard input}:177118: Warning: partial line at end of file ignored gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. make[1]: *** [../../plugins/HPMHooking.so] Error 1 make[1]: Leaving directory `/root/Desktop/trunk/src/plugins' make: *** [plugins] Error 2[/code]

Vanquiser - Jan 21, 2014 9:30

same here ...

Haru - Jan 22, 2014 0:53

CentOS 5 is quite old, and it comes with a very obsolete compiler (gcc 4.1.x from 2008). During my tests, that version of gcc takes over 1.5GB of memory, possibly even 2 or 3 GB just to compile the HPMHooking plugin.
More recent versions only require a fraction of that memory. gcc 4.6.3 (as seen in Linux Mint 13, 64 bit, from 2011) requires about 1.2GB for the same operation, and gcc 4.7.3 (as seen in Linux Mint 15, 64 bit, from 2012) only requires 330MB. Mind that those last two tests were performed on 64 bit versions of the OS - 32 bit versions would probably use even less memory.

You need to either upgrade your compiler or upgrade your OS, if you want to compile the HPMHooking plugin. Your VPS provider should really consider updating their virtual machines.