Subject: Re: Weird make release + gcc flags prob
To: None <jarkko.teppo@er-grp.com>
From: None <jarkko.teppo@er-grp.com>
List: netbsd-help
Date: 08/08/2001 11:23:12
On Wed, Aug 08, 2001 at 10:08:47AM +0300, jarkko.teppo@er-grp.com wrote:
> 
> Isn't there some toolchain work done on current as we speak ? Maybe
> I'll try it with current in a few weeks. I also found out that
> when building xsrc it doesn't care about COPTS in /etc/mk.conf.
> Maybe I'll find a work-around.

Well, I found out where to change the flags for xsrc and now I get this:

install in lib/oldX done
installing in lib/ICE...
rm -f transport.o unshared/transport.o
gcc -c -ansi -Dasm=__asm   -I../.. -I../../exports/include  -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO   -Os -march=i486 -mcpu=i486 -I../../lib/xtrans -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -DBSD44SOCKETS transport.c -o unshared/transport.o
rm -f transport.o
gcc -c -Os -march=i486 -mcpu=i486 -ansi -Dasm=__asm    -I../.. -I../../exports/include  -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO   -I../../lib/xtrans -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -DBSD44SOCKETS   -fPIC transport.c
gcc: Internal compiler error: program cc1 got fatal signal 11

Doh. I'll have to do with -Os only :-)
-- 
jht