Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007803

  • 0 - None Assigned

  • Working as Intended

Issue Confirmations

  • Yes (0)No (0)
Photo

HPMHooking.c

Posted by z O r n on 06 November 2013 - 11:17 PM


make[1]: Entering directory `/root/Desktop/trunk/src/plugins'

        CC      HPMHooking.c

{standard input}: Assembler messages:

{standard input}:173042: Warning: end of file not at end of a line; newline inserted

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


When i type make plugins this shows up.

I *think* this error means you ran out of memory and the operating system terminated gcc before it completed
gcc: Internal error: Killed (program cc1)


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

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)

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> for instructions.
make[1]: *** [../../plugins/HPMHooking.so] Error 1
make[1]: Leaving directory `/root/Desktop/trunk/src/plugins'
make: *** [plugins] Error 2

try to configure with, e.g.
./configure --disable-lto
and let me know if it is enough for it to compile without errors

Ind 
changed status to: Working as Intended

upgraded SVN to 13703

configured using
./configure --disable-lto
still have some errors
{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


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.