Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: netbsd-3-0 build failure
Hi,
Izumi Tsutsui wrote:
> is%NetBSD.org@localhost 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.
Ah - thanks for the clarification. "Don't do that, then" - that is,
put something like .ifdef PKGSRC ... .endif around your stuff.
COPTS is very delicately chosen to suit the CPUs and whether we're compiling
a bootblock ...
Regards,
-is
--
seal your e-mail: http://www.gnupg.org/
Home |
Main Index |
Thread Index |
Old Index