Re: HEADS UP: plan to switch many ports over to GCC 12 soon

Rin Okuyama <[email protected]> Mon, 1 Jul 2024 09:59:54 +0900
Newsgroups gmane.os.netbsd.ports.sh3,gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.current
Message-ID <[email protected]>
On 2024/06/30 14:51, Rin Okuyama wrote:
>> GCC 12.4 came out recently and i'll be updating to that, and
>> it has some sh fixes, maybe for this?
> 
> The situation for sh3 is getting worse since these note were
> added last year. Kernel from recent -current does not boot on
> landisk, even if compiled with `DBG=O1`.
> 
> This does not change if two upstream commits b/w GCC 12.3 and
> 12.4 in `gcc/config/sh` are cherry-picked :(

With in-tree GCC 12.4, kernel crashes just same as 12.3 :(

Even a single character is output to console. I tried to
drop some features from kernel config to reduce size
significantly, but it does not help. On the other hand,
same kernel works just fine if compiled by GCC 10.5.

I've noticed that GCC/sh is relatively active these days;
some people are developing their own SDK for Dreamcast.
These updates made our configuration stale?

Thanks,
rin