Subject: RE: Bizarre g++ behavior on sparc
To: None <current-users@NetBSD.ORG>
From: Taras Ivanenko <ivanenko@ctpa03.mit.edu>
List: current-users
Date: 05/02/1996 09:13:33
> Has anyone had trouble with g++ on the sparc port (specifically the Sun4m)
> or any other port recently? This simple program:

It seems that your problem is IO-related. I tried to rebuild libc on
our Sparc SLC and got all kinds of weird error in fopen() calls. The
simplest case is

main(){
FILE *f=fopen("x.c","r");
fclose(f);
}

Rebuilding libc.so without optimization eliminated this problem (but
not others?) I am not sure about the value of a new GCC optimizer.
I am using -current for the libc sources, GNU tools sources and
kernel.

	Taras Ivanenko.