[FUG-BR] Erro muito estranho ou instalar qualquer programa ou compilar buildworld

Ari Arantes ariarantes em gmail.com
Sábado Junho 24 12:07:22 BRT 2006


Pessoal,

Preciso de ajuda... Não sei o que pode estar acontecendo.

Vejam que estranho:

Minha máquina é:
6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Mar 20 02:38:56 BRT 2006


Ao tentar:

make buildworld

cc -O2 -fno-strict-aliasing -pipe
-I/usr/obj/usr/src/tmp/legacy/usr/include -c
/usr/src/games/fortune/strfile/strfile.c
/usr/include/machine/endian.h: In function `add_offset':
/usr/include/machine/endian.h:136: internal compiler error:
Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/games/fortune/strfile.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Vejam também o erro ao instalar qualquer ports:

===>  Configuring for gld-1.6_2
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe  )
works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
===>  Script "configure" failed unexpectedly.
Please report the problem to ports at FreeBSD.org [maintainer] and attach the
"/usr/ports/mail/gld/work/gld-1.6/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/mail/gld.


Outro ports:

checking for i386-portbld-freebsd6.1-gcc... cc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to cy at FreeBSD.org [maintainer] and attach the
"/usr/ports/sysutils/screen/work/screen-4.0.2/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/sysutils/screen.


Ou até mesmo compilar um simples hello world:

# cat a.c
#include <stdio.h>
void main(){
     printf("Hello world\n");
}

# gcc a.c -o a
a.c: In function `main':
a.c:2: warning: return type of 'main' is not `int'
a.c:2: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Alguém pode dar alguma dica?

Obrigado,

Ari


Mais detalhes sobre a lista de discussão freebsd