Subject: Re: Compiler bug?
To: Chris Cowdery <chris@cowdery.demon.co.uk>
From: Scott Ashcroft <ashcroft@campus.bt.com>
List: port-arm32
Date: 09/25/1997 23:18:24
On Thu 25 Sep, Chris Cowdery wrote:
> Hi All,
> 	I've been trying to compile Pine. I've used their
> build script, with the parameter neb which tells it that
> it's compiling for NetBSD.
> 
> Unfortunately after a while I get the following error :
> 
> mailview.c: In function `format_header_text':
> mailview.c:1387: internal error--unrecognizable insn:
> (insn 1078 1077 569 (set (reg:SI 3 r3)
>         (smin:SI (reg:SI 3 r3)
>             (const_int 1024))) -1 (nil)
>     (nil))
> cc: Internal compiler error: program cc1 got fatal signal 6
> 
> after which it stops compiling.
> 
> My system is a SA-110 with 32Mb Ram, lots of swap (I can't
> remember how much) with Kernel voy-5328 and release 1.2
> (unpatched). CC is version 2.7.2.
> 

I got similar stuff when compiling samba.

Try hacking the makefile to turn down the optimisation level.
That fixed it for me.

Scott

-- 
Scott Ashcroft                                ashcroft@campus.bt.com