Re: /sbin/init does not run on ibm4xx

Rin Okuyama <[email protected]> Thu, 28 Jul 2016 00:33:42 +0900
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
On 2016/07/21 21:39, Rin Okuyama wrote:
> /sbin/init does not start on ibm4xx for -current and 7.0_STABLE,
> whereas it normally runs for 7.0.1.
>
> For 7.99.34 and 7.99.26 (found at ftp7.jp.n.o), it fails as follows.
>
>   init: copying out flags `-s' 3
>   init: copying out path `/sbin/init' 11
>   exec /sbin/init: error 13
>   init: copying out flags `-s' 3
>   init: copying out path `/sbin/oinit' 12
>   exec /sbin/oinit: error 2
>   ...

This turned out to be a regression introduced to gcc >= 4.8.5.
I sent a PR with fix:

kernel for powerpc/ibm4xx miscompiled by gcc >= 4.8.5
http://gnats.netbsd.org/51366

I also sent PRs related to ibm4xx:

kernel panic for powerpc/ibm4xx with "option DDB"
http://gnats.netbsd.org/51367

powerpc FPU emulation fails for single precision floating point arithmetic
http://gnats.netbsd.org/51368

kernel image for OpenBIOS not generated
http://gnats.netbsd.org/51369

I will appreciate it a lot, if you guys review and commit them.

Thanks,
Rin