From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 3 Jan 2011 08:18:48 -0800 Message-ID: From: ron minnich To: fernanbolando@mailc.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] pcc/8c dies compiling simh code Topicbox-Message-UUID: 90565616-ead6-11e9-9d60-3106f5b1d025 On Mon, Jan 3, 2011 at 8:11 AM, Fernan Bolando wrote: > hi all > > can anyone else confirm that the attached file effectively kills 8c? > it dies on 9vx and virtualbox, will test it on real hardware tomorrow. > > cpp -D__STDC__=1 -N -I. -D_PLAN9 -D_POSIX_SOURCE -D_BSD_EXTENSION > -D_C99_SNPRINTF_EXTENSION -DVM_PDP10 -IPDP10 -IPDP11 > -I/386/include/ape -I/sys/include/ape PDP10/pdp10_ksio.c | 8c -o > pdp10_ksio.8 > This may sound silly, but ratrace is your friend here. I've used it to find all sorts of weird problems on compiles including stack overlow and out of memory errors. Consider giving it a try. ron