Re: hack for ifconfig on m68000 (was: Floppy image overflow)

Izumi Tsutsui <[email protected]> Thu, 9 Feb 2017 02:07:11 +0900
Newsgroups gmane.os.netbsd.ports.sun2,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
rin@ wrote:

> For this, could I remove a hack for ifconfig on m68000?
> 
> sbin/ifconfig/Makefile:
> https://nxr.netbsd.org/source/xref/src/sbin/ifconfig/Makefile#35
> 
>       1  #       $NetBSD: Makefile,v 1.56 2015/05/19 08:14:38 ozaki-r Exp $
> ......
>      35  .if ${MACHINE_ARCH} == "m68000"
>      36  # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
>      37  COPTS.ifconfig.c+= -fno-loop-optimize
>      38  .endif

Oh well.  8 years old workaround..

> So, can I think that the problem has already gone?

Maybe yes, but it would be better to test it on tme using a liveimage
by "build.sh -U -m sun2 release live-image" :-)
(though I'm afraid tme still doesn't work on LP64 machines)

The entry in doc/HACKS should also be removed, btw.

---
Izumi Tsutsui