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

matthew green <[email protected]>
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> On Sun, 2024-06-30 at 09:44 +1000, matthew green wrote:
> > sh3 may be problematic,
>
> I can almost certainly test sh3. I should even be able to make a new
> bootable disk for an end to end test.

oh the problem is it's broken -- rin@ could talk more about it,
i'm just going on the notes in README.gcc12:

[20]: kernel needs -O1 for ffs32() and ffs_nodealloccg() for multi-user boot. Even if the whole kernel is built with -O1, it panics during ATF:
      kernel/t_sysv (92/935): 3 test cases
          msg: [ 3981.4751382] panic: kernel diagnostic assertion "msghdr->msg_spot >= 0" failed: file "../../../../kern/sysv_msg.c", line 426

[22]: single-user shell crashes. if userland is built with DBG=-O1, it boots into multi-user mode.
      however, at least db(3) is broken, by which files are corrupted when edited by vi(1).

i didn't try landisk gxemul yet.

GCC 12.4 came out recently and i'll be updating to that, and
it has some sh fixes, maybe for this?

thanks.


.mrg.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.