gcc 4.3.1?

Ralph Siemsen ralphs at netwinder.org
Tue Jul 22 22:47:46 EDT 2008


On Tue, Jul 22, 2008 at 04:14:05PM -0700, Joe Perches wrote:

> sendmail 8.14.2 doesn't compile using gcc 3.4.6.
> 
> I get errors like:
> 
> cc -O2 -I. -I../../include  -DNEWDB       -c -o domain.o domain.c
> domain.c: In function `getmxrr':
> domain.c:591: internal error--unrecognizable insn:
> (insn 1922 1918 369 (set (reg:SI 4 r4)
>         (umin:SI (reg/v:SI 4 r4)
>             (const_int 8192 [0x2000]))) -1 (nil)
>     (nil))

This has the look of an optimiser bug - quite frequent occurrence,
especially with older versions of gcc on ARM.  Suggest you try 
reducing the optimisation, eg. instead of -O2 try -Os, -O1 or -O0.
In the Makefile you can usually do something like so:

domain.o: CFLAGS += -O0

> http://www.netwinder.org/howto/Disk-Update-HOWTO.html
> (thank you Ralph)

Most welcome!

> Are many people using debian etch?
> Any known issues installing it over 3.1.15?

I know of a small number of folks running debian, haven't heard any
horror stories.  The installer bootstraps via TFTP, so if you have
been through re-imaging that way, its fairly straightfoward to get
going.  Once the installer is running, its pretty much like installing
debian on a PC.

-R



More information about the Netwinder mailing list