public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/21758] New: cc1: out of memory allocating...
@ 2005-05-25 20:05 pluto at agmk dot net
  2005-05-25 20:06 ` [Bug other/21758] " pluto at agmk dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 20:05 UTC (permalink / raw)
  To: gcc-bugs

during build http://fftw.org/fftw-3.0.1.tar.gz 
with attached gcc4 fix I get: 
 
(...) 
make[1]: Entering directory  
`/home/users/builder2/rpm/BUILD/fftw-3.0.1/single/dft/simd/codelets'  
if /bin/sh ../../../libtool --tag=CC --mode=compile ppc-pld-linux-gcc  
-DHAVE_CONFIG_H -I. -I. -I../../..  -I../../../kernel -I../../../dft  
-I../../../dft/simd -I../../../simd   -O2 -fsigned-char -ggdb -pthread   
-maltivec -mabi=altivec --save-temps -MT n1fv_11.lo -MD -MP -MF  
".deps/n1fv_11.Tpo" -c -o n1fv_11.lo n1fv_11.c; \  
then mv -f ".deps/n1fv_11.Tpo" ".deps/n1fv_11.Plo"; else rm -f  
".deps/n1fv_11.Tpo"; exit 1; fi  
 ppc-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kernel  
-I../../../dft -I../../../dft/simd -I../../../simd -O2 -fsigned-char -ggdb  
-pthread -maltivec -mabi=altivec --save-temps -MT n1fv_11.lo -MD -MP  
-MF .deps/n1fv_11.Tpo -c n1fv_11.c  -fPIC -DPIC -o .libs/n1fv_11.o  
  
cc1: out of memory allocating 615615520 bytes after a total of 7448052 bytes  
make[1]: *** [n1fv_11.lo] Error 1  
  
 
$ free -m  
             total       used       free     shared    buffers     cached  
Mem:           375         61        313          0          7         14  
-/+ buffers/cache:         40        335  
Swap:          511         25        486

-- 
           Summary: cc1: out of memory allocating...
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ppc-pld-linux
  GCC host triplet: ppc-pld-linux
GCC target triplet: ppc-pld-linux


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


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

* [Bug other/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
@ 2005-05-25 20:06 ` pluto at agmk dot net
  2005-05-25 20:09 ` pluto at agmk dot net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 20:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-05-25 20:05 -------
Created an attachment (id=8967)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8967&action=view)
compilation fixes.


-- 


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


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

* [Bug other/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
  2005-05-25 20:06 ` [Bug other/21758] " pluto at agmk dot net
@ 2005-05-25 20:09 ` pluto at agmk dot net
  2005-05-25 20:23 ` pluto at agmk dot net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 20:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-05-25 20:06 -------
Created an attachment (id=8968)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8968&action=view)
preprocessed source.


-- 


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


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

* [Bug other/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
  2005-05-25 20:06 ` [Bug other/21758] " pluto at agmk dot net
  2005-05-25 20:09 ` pluto at agmk dot net
@ 2005-05-25 20:23 ` pluto at agmk dot net
  2005-05-25 20:29 ` pluto at agmk dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 20:23 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmazur at kernel dot pl


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


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

* [Bug other/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2005-05-25 20:23 ` pluto at agmk dot net
@ 2005-05-25 20:29 ` pluto at agmk dot net
  2005-05-25 22:15 ` [Bug target/21758] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 20:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-05-25 20:24 -------
what for does gcc need ~590MB of memory on ppc? 
on ix86 it works fine. 
 

-- 


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


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

* [Bug target/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2005-05-25 20:29 ` pluto at agmk dot net
@ 2005-05-25 22:15 ` pinskia at gcc dot gnu dot org
  2005-05-25 22:34 ` pluto at agmk dot net
  2005-05-25 22:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25 22:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-25 22:14 -------
Hmm, the preprocessed source will no longer work on the mainline because of changing how the altivec 
intrinsics work.  In fact the preprocessed source is not even complete which makes this a dup of bug 
19411.

*** This bug has been marked as a duplicate of 19411 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|other                       |target
         Resolution|                            |DUPLICATE


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


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

* [Bug target/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2005-05-25 22:15 ` [Bug target/21758] " pinskia at gcc dot gnu dot org
@ 2005-05-25 22:34 ` pluto at agmk dot net
  2005-05-25 22:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-05-25 22:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-05-25 22:31 -------
any fix/workaround for 4.0.x stable branch? 
 

-- 


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


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

* [Bug target/21758] cc1: out of memory allocating...
  2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2005-05-25 22:34 ` pluto at agmk dot net
@ 2005-05-25 22:38 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25 22:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-25 22:34 -------
(In reply to comment #5)
> any fix/workaround for 4.0.x stable branch? 

Use tempary variables,
instead of doing something like:
  vec_add(vec_add (a, b), vec_add (c, d))
do:
  temp = vec_add (a, b);
  temp1 = vec_add (c, d);
  vec_add (temp, temp1);

-- 


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


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

end of thread, other threads:[~2005-05-25 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 20:05 [Bug other/21758] New: cc1: out of memory allocating pluto at agmk dot net
2005-05-25 20:06 ` [Bug other/21758] " pluto at agmk dot net
2005-05-25 20:09 ` pluto at agmk dot net
2005-05-25 20:23 ` pluto at agmk dot net
2005-05-25 20:29 ` pluto at agmk dot net
2005-05-25 22:15 ` [Bug target/21758] " pinskia at gcc dot gnu dot org
2005-05-25 22:34 ` pluto at agmk dot net
2005-05-25 22:38 ` pinskia at gcc dot gnu dot 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).