tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



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


Home | Main Index | Thread Index | Old Index