Subject: Re: Weird make release + gcc flags prob
To: None <jarkko.teppo@er-grp.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 08/07/2001 21:16:58
On Tue, Aug 07, 2001 at 08:57:34AM +0300, jarkko.teppo@er-grp.com wrote:
> Hi!
> I have a weird problem here. I'm trying to do make release on 1.5 or 1.5.1
> sources on a 1.5 machine (several, actually, i386)
> 
> DOBJDIR=/home/jarkko/NetBSD/obj
> BSDSRCDIR=/home/jarkko/NetBSD/src-1.5.1/src
> BUILD=1
> COPTS+=-Os -march=i486 -mcpu=i486
> DESTDIR=/home/jarkko/NetBSD/destdir
> RELEASEDIR=/home/jarkko/NetBSD/release
> 
> When I try "make release" it bombs out (eventually) with:
> 
> cc -O2 -DALL_STATE -Os -march=i486 -mcpu=i486 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS  -D_REENTRANT -I/home/jarkko/NetBSD/src-1.5.1/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE -I/home/jarkko/NetBSD/src-1.5.1/lib/libc/../../libexec/ld.elf_so -I/home/jarkko/NetBSD/src-1.5.1/lib/libc/dlfcn -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -idirafter /home/jarkko/NetBSD/destdir/usr/include -c /home/jarkko/NetBSD/src-1.5.1/lib/libc/rpc/rpcb_clnt.c
> cc: Internal compiler error: program cc1 got fatal signal 11
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> The memory is good on both machines I tested this with and it works without
> -march=i486 and -mcpu=i486. Is this a known bug/problem ? I'm just trying to 
> optimize everything I can for my 8MB 486 laptop :)

Hum, not known, but in this case it looks like a bug in gcc.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--