Subject: Re: netbsd-3-0 build failure
To: None <tech-toolchain@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-toolchain
Date: 03/10/2006 19:37:37
In article <20060216111007.GA21521@beverly.kleinbus.org>
is@NetBSD.org wrote:

> On Thu, Feb 16, 2006 at 11:18:00AM +0100, Gunther Nikl wrote:
> > On Fri, Feb 10, 2006 at 12:41:59AM +0100, Anders Lindgren wrote:
> > > #   compile  GENERIC/if_x25subr.o
> > > /usr/build/tools.amiga/bin/m68k--netbsdelf-gcc -pipe -m68060 -Wa,-m68030 
> > > -Wa,-m68851 -msoft-float -ffreestanding
> > > -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
> > > -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare 
> > > -fno-zero-initialized-in-bss -Damiga -DFPCOPROC -I. -I/usr/src/sys/arch 
> > > -I/usr/src/sys -nostdinc
> > > -DDRACO -DM68060 -DM68040 -DM68030 -DM68020 -DLKM -DMAXUSERS=8 -D_KERNEL 
> > > -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c 
> > > /usr/src/sys/netccitt/if_x25subr.c
> > > /usr/src/sys/netccitt/if_x25subr.c: In function `x25_ifinput':
> > > /usr/src/sys/netccitt/if_x25subr.c:218: error: inconsistent operand 
> > > constraints in an `asm'

This could happen if COPTS is overriden with -pipe (in /etc/mk.conf),
i.e. some sources could get warnings if they are compiled without
optimization.
---
Izumi Tsutsui