Hi,
 
I have a redhat 6.2 Kernel 2.2.19-6.2.16 on an i686. After I updated some packages from rhn my gcc stopped working from the command line  - it can't compile any program and exits issuing the following message:
 
[root]# gcc progzz.c -o progzz
../../gcc/gcc.c:2325: Internal compiler error in function execute   
 
The strange thing is: if I make a shell script containing the line 
gcc progzz.c -o progzz

and I `chmod +x scriptfile` and execute it, the gcc works!! 
 
The contents of the c program "progzz.c" is:
#include <stdio.h>
main ()
{
        int i =2;
        printf ("\n the value of i = %d ", i);
}                                           
 
Unfortunately I don't remember which were the packages I updated when this problem appeared.
(I already tried to reinstall the egcs package and a bunch of related packages but it didn't work)
 
How can I fix it?
 
The packages versions:
egcs-1.1.2-30
egcs-objc-1.1.2-30
binutils-2.9.5.0.22-6
cpp-1.1.2-30
glibc-devel-2.1.3-24
info-4.0-5
bash-1.14.7-23.6x
glibc-2.1.3-24
 
Thak you,
-------------------------------------------------
 -- Bruno Negrão -- Suporte
 -- Plugway Acesso Internet Ltda.
 -- (31)34812311

Reply via email to