Subject: Re: pkg/37019: [fix] lang/stalin doesn't build in current
To: None <pkgsrc-bugs@NetBSD.org>
From: Aleksej Saushev <asau@hotbox.ru>
List: pkgsrc-bugs
Date: 09/23/2007 14:33:16
"OBATA Akio" <obache@netbsd.org> writes:
> Added follwing line to lang/stalin/Makefile also fixes this problem?
>
> CPPFLAGS+=3D -I${BUILDLINK_PREFIX.boehm-gc}/include/gc
Except for optimisation flags, I still have to add "CFLAGS=-O0".
I investigated it a little.
If you run build with -O2 or -O3, you can find that swap space
is consumed: run "make CFLAGS=-O3" or "make" and look how it
grows in "systat -w 1 swap". The build process hangs here:
--- libstalin.a ---
ar cru libstalin.a xlib-c.o gl-c.o
ranlib libstalin.a
I've found that it is somewhere in cc1 internals using this command:
while :; do ps -o pid,vsz,command | grep cc1; sleep 1; done
I suppose that this (or related) problem causes other packages'
breakage in recent bulk builds.