public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Internal compiler error: program cc1plus got fatal signal 9
       [not found] <January_03_1998_at_00_13_40_1351_Joseph_H._Buehler@altera>
@ 1998-01-02 21:40 ` Joseph H. Buehler
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph H. Buehler @ 1998-01-02 21:40 UTC (permalink / raw)
  To: egcs

"Ulisses T. Mello" <ulisses@watson.ibm.com> writes:

> I compiled and installed the latest snapshot (971225) in a
> powerpc-ibm-aix4.1.5.0 with a 604 processor. I have no problems using
> c++ from this machine. However, when I log into another
> powerpc-ibm-aix4.1.5.0 with a 601 processor I get the error:
> 
> Internal compiler error: program cc1plus got fatal signal 9
> 
> Any ideas of what may be wrong?

I had a problem with a couple AIX 3.2 machines.  Compiling emacs on
one and trying to run it on the other did not work.  You may be
running into differences in system shared libraries, or the AIX
kernels.

Also, I don't know anything about 601 vs. 604, are you sure the
compiler should run OK on a 601?

Joe Buehler

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

* Re: Internal compiler error: program cc1plus got fatal signal 9
       [not found] <Pine.A32.3.93.980102171102.27324C-100000@jacare.watson.ibm.com>
@ 1998-01-02 16:44 ` David Edelsohn
  0 siblings, 0 replies; 3+ messages in thread
From: David Edelsohn @ 1998-01-02 16:44 UTC (permalink / raw)
  To: Ulisses T. Mello; +Cc: egcs

>>>>> "Ulisses T Mello" writes:

Ulisses> The error is sporadic. It does not happen in the same place.
Ulisses> I thought that the error #9 would mean something to whomever is
Ulisses> producing this code.
Ulisses> Attaching the code would not do any good
Ulisses> since it compiles fine in other machines, it only fails in
Ulisses> the one with a 601 processor. 

	Error #9 is SIGNAL 9 from the operating system (AIX).  AIX
performs lazy memory allocation: by default malloc() returns a pointer if
the *address space* is available for allocation, not if it actually has
enough physical memory and/or paging space.  The assumption is that an
application may sparsely allocate more memory than it actually will use.
Physical memory is not allocated until the page actually is touched.  If
the system does not instantaneously have enough memory to satisfy current
usage, it sends a SIGKILL signal to the next application to actually touch
a new page -- without any prioritization among processes or process groups
or uids -- and continues this until enough memory is recovered.

	(If you want traditional UNIX semantics, the environment variable
"PSALLOC" must be defined as "early" so that paging space is allocated
when malloc (sbrk) is called.  Note: defining PSALLOC to "early" will
prevent the AIX X Windows Server from functioning properly when it tries
to map the graphics adapter memory, so the environment variable cannot be
set to that value globally if you want to use X Windows.)

	If this is happening sporadically and at different locations and
you are receiving SIGKILL, I think that you system does not have enough
paging space.  The variance is due to whatever else is running on your
system at the time.

David

P.S. This is my own opinion and does not necesarily represent IBM Corporation.
===============================================================================
David Edelsohn                                      T.J. Watson Research Center
dje@watson.ibm.com                                  P.O. Box 218
+1 914 945 4364 (TL 862)                            Yorktown Heights, NY 10598

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

* Internal compiler error: program cc1plus got fatal signal 9
@ 1998-01-02 12:54 Ulisses T. Mello
  0 siblings, 0 replies; 3+ messages in thread
From: Ulisses T. Mello @ 1998-01-02 12:54 UTC (permalink / raw)
  To: egcs

I compiled and installed the latest snapshot (971225) in a
powerpc-ibm-aix4.1.5.0 with a 604 processor. I have no problems using
c++ from this machine. However, when I log into another
powerpc-ibm-aix4.1.5.0 with a 601 processor I get the error:

Internal compiler error: program cc1plus got fatal signal 9

Any ideas of what may be wrong?

ulisses.
--------------------------------------------------------------------------
63 jiboia:/u/ulisses/mm/sse++> make
mkdir /u/ulisses/mm/sse++/obj/obj.aix.g++.opt
g++ -c -D_UNIX_ -D_RTREE_ -v -Wl,--verbose -O2 -DNDEBUG
-I/u/ulisses/mm/sse++/include -I/u/ulisses/mm/red++/include
-I/u/ulisses/mm/rtree/include 
-o /u/ulisses/mm/sse++/obj/obj.aix.g++.opt/redusu.o 
/u/ulisses/mm/sse++/src/redusu.C
Reading specs from
/u/imaging/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/egcs-2.91.03/specs
gcc version egcs-2.91.03 971225 (gcc-2.8.0)
 /u/imaging/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/egcs-2.91.03/cpp
-lang-c++
-v -I/u/ulisses/mm/sse++/include -I/u/ulisses/mm/red++/include
-I/u/ulisses/mm/rtree/include -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=91 -D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_IBMR2
-D_POWER -D_AIX -D_AIX32 -D_AIX41 -Asystem(unix) -Asystem(aix) -D__EXCEPTIONS 
-D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D_ARCH_COM -D_UNIX_ -D_RTREE_ -DNDEBUG
/u/ulisses/mm/sse++/src/redusu.C /tmp/ccog3yia.ii
GNU CPP version egcs-2.91.03 971225 (gcc-2.8.0)
#include "..." search starts here:
#include <...> search starts here:
 /u/ulisses/mm/sse++/include
 /u/ulisses/mm/red++/include
 /u/ulisses/mm/rtree/include
 /u/imaging/local/include/g++
 /u/imaging/local/powerpc-ibm-aix4.1.5.0/include
 /u/imaging/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/egcs-2.91.03/include
 /usr/include
End of search list.
 /u/imaging/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/egcs-2.91.03/cc1plus
/tmp/ccog3yia.ii -quiet -dumpbase redusu.cc -O2 -version -o /tmp/ccog3yia.s
GNU C++ version egcs-2.91.03 971225 (gcc-2.8.0) (powerpc-ibm-aix4.1.5.0)
compiled by GNU C version egcs-2.91.03 971225 (gcc-2.8.0).
g++: Internal compiler error: program cc1plus got fatal signal 9  



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

end of thread, other threads:[~1998-01-02 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <January_03_1998_at_00_13_40_1351_Joseph_H._Buehler@altera>
1998-01-02 21:40 ` Internal compiler error: program cc1plus got fatal signal 9 Joseph H. Buehler
     [not found] <Pine.A32.3.93.980102171102.27324C-100000@jacare.watson.ibm.com>
1998-01-02 16:44 ` David Edelsohn
1998-01-02 12:54 Ulisses T. Mello

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).