[Bug other/59889] New: gcj: internal compiler error: Killed: 9 (program jc1)

2014-01-20 Thread stefanao at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59889

Bug ID: 59889
   Summary: gcj: internal compiler error: Killed: 9 (program jc1)
   Product: gcc
   Version: 4.6.4
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: stefanao at gmail dot com

Trying to build the port net-p2p/deluge in a FreeBSD 9.2-Release AMD64 jail
results in an "gcj: internal compiler error: Killed: 9 (program jc1)"

Steps taken:
- create directories for jail
- fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/`uname -m`/`uname -m`/`uname
-r | cut -d- -f1-2`/base.txz
- extract and start jail
- pkg_add -r portmaster
- portmaster -H net-p2p/deluge

This generated the attached output. This is my first bug report, please be kind
and tell me what other info you might need.


[Bug other/59889] gcj: internal compiler error: Killed: 9 (program jc1)

2014-01-20 Thread stefanao at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59889

--- Comment #1 from Stefan  ---
Created attachment 31899
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31899&action=edit
output of the portmaster -H command

Unfortunately, the entire log is too long, I put it on my google drive under
this link:
https://drive.google.com/file/d/0B-Cx1r7LARUSejIyNGRnazBhSEU/edit?usp=sharing


[Bug other/59889] gcj: internal compiler error: Killed: 9 (program jc1)

2014-01-20 Thread stefanao at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59889

--- Comment #3 from Stefan  ---
(In reply to Richard Biener from comment #2)
> 'Killed' means sth killed gcc, likely you simply need more memory (also
> check ulimits).

ulimit: unlimited
RAM installed: 1GB -> too little?

(log file here, first link broken:
https://drive.google.com/file/d/0B-Cx1r7LARUSWHJBMnJNQ3VucWM/edit?usp=sharing)


[Bug other/59889] gcj: internal compiler error: Killed: 9 (program jc1)

2014-01-20 Thread stefanao at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59889

--- Comment #5 from Stefan  ---
(In reply to Richard Biener from comment #4)
> (In reply to Stefan from comment #3)
> > (In reply to Richard Biener from comment #2)
> > > 'Killed' means sth killed gcc, likely you simply need more memory (also
> > > check ulimits).
> > 
> > ulimit: unlimited
> > RAM installed: 1GB -> too little?
> 
> Yes, very likely.  You can try dropping -g if you use it or lower
> the optimization level.
> 
> > (log file here, first link broken:
> > https://drive.google.com/file/d/0B-Cx1r7LARUSWHJBMnJNQ3VucWM/
> > edit?usp=sharing)

Well, thank you very much. Increasing memory to 2GB solved this issue.


The following might be beyond a bug report, but I am testing this on a VM right
now, my production machine has a bit less than 2GB. Could you explain to me
what you meant by 'dropping -g or lowering the optimization level'? How would I
do that?

Thanks again!