public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP
@ 2011-04-27 23:42 wgj at cast dot uark.edu
  2011-04-28 10:04 ` [Bug c/48796] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wgj at cast dot uark.edu @ 2011-04-27 23:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

           Summary: gcc: Internal error: Killed (program cc1) while
                    compiling PHP
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: wgj@cast.uark.edu


In php-5.3.6, the file ext/fileinfo/libmagic/apprentice.c fails to compile on a
Gumstix Overo running Angstrom Linux.

The compiler was cross compiled using Bitbake to the Gumstix Overo from Ubuntu.

gcc version 4.5.3 20110223 (prerelease)

Last bit of verbose output:

/usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.3/cc1 -fpreprocessed
apprentice.i -quiet -dumpbase apprentice.c -auxbase-strip apprentice.lo -g -O2
-version -fvisibility=hidden -o apprentice.s
GNU C (GCC) version 4.5.3 20110223 (prerelease) (arm-angstrom-linux-gnueabi)
    compiled by GNU C version 4.5.3 20110223 (prerelease), GMP version 5.0.1,
MPFR version 3.0.0-p7, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=46 --param ggc-min-heapsize=30222
GNU C (GCC) version 4.5.3 20110223 (prerelease) (arm-angstrom-linux-gnueabi)
    compiled by GNU C version 4.5.3 20110223 (prerelease), GMP version 5.0.1,
MPFR version 3.0.0-p7, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=46 --param ggc-min-heapsize=30222
Compiler executable checksum: 246c3547883d599e3b96ce1bee99ed7b
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/48796] gcc: Internal error: Killed (program cc1) while compiling PHP
  2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
@ 2011-04-28 10:04 ` rguenth at gcc dot gnu.org
  2011-05-03 15:40 ` wgj at cast dot uark.edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-28 10:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.04.28 10:03:45
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-28 10:03:45 UTC ---
You appearantly ran out of memory and the kernel decided to kill cc1.  This
is likely not a GCC bug.  How much memory do you have?

Please attach apprentice.i.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/48796] gcc: Internal error: Killed (program cc1) while compiling PHP
  2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
  2011-04-28 10:04 ` [Bug c/48796] " rguenth at gcc dot gnu.org
@ 2011-05-03 15:40 ` wgj at cast dot uark.edu
  2011-05-03 15:50 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wgj at cast dot uark.edu @ 2011-05-03 15:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

--- Comment #2 from William Johnston <wgj at cast dot uark.edu> 2011-05-03 15:37:55 UTC ---
(In reply to comment #1)
> You appearantly ran out of memory and the kernel decided to kill cc1.  This
> is likely not a GCC bug.  How much memory do you have?

Oh, that's possible I guess. I have 256MB and no swap. I can't say how much was
remaining when I was compiling the program. 

> 
> Please attach apprentice.i.

I thought I had attached the apprentice.i file... I just tried it again and
it's too large. 

You can pick it up here: ftp://cast-ftp1.cast.uark.edu/wgj/apprentice.i


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/48796] gcc: Internal error: Killed (program cc1) while compiling PHP
  2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
  2011-04-28 10:04 ` [Bug c/48796] " rguenth at gcc dot gnu.org
  2011-05-03 15:40 ` wgj at cast dot uark.edu
@ 2011-05-03 15:50 ` redi at gcc dot gnu.org
  2012-09-24  0:32 ` supercres at gmail dot com
  2013-10-21 20:11 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-05-03 15:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-03 15:46:42 UTC ---
That's not a lot of memory.

You could use gzip to compress the file before attaching it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/48796] gcc: Internal error: Killed (program cc1) while compiling PHP
  2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
                   ` (2 preceding siblings ...)
  2011-05-03 15:50 ` redi at gcc dot gnu.org
@ 2012-09-24  0:32 ` supercres at gmail dot com
  2013-10-21 20:11 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: supercres at gmail dot com @ 2012-09-24  0:32 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

--- Comment #4 from bryan <supercres at gmail dot com> 2012-09-24 00:32:10 UTC ---
(In reply to comment #1)
> You appearantly ran out of memory and the kernel decided to kill cc1.  This
> is likely not a GCC bug.  How much memory do you have?
> 
> Please attach apprentice.i.

oh,I wish I had read these comments earlier. turns out the process got killed
due to using excessive memory by the host.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/48796] gcc: Internal error: Killed (program cc1) while compiling PHP
  2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
                   ` (3 preceding siblings ...)
  2012-09-24  0:32 ` supercres at gmail dot com
@ 2013-10-21 20:11 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 20:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Closing.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-21 20:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-27 23:42 [Bug c/48796] New: gcc: Internal error: Killed (program cc1) while compiling PHP wgj at cast dot uark.edu
2011-04-28 10:04 ` [Bug c/48796] " rguenth at gcc dot gnu.org
2011-05-03 15:40 ` wgj at cast dot uark.edu
2011-05-03 15:50 ` redi at gcc dot gnu.org
2012-09-24  0:32 ` supercres at gmail dot com
2013-10-21 20:11 ` mpolacek at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).