Re: GCC8 v.s. amiga

[email protected] (Christos Zoulas)
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.amiga,gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
In article <[email protected]>,
Rin Okuyama  <[email protected]> wrote:
>Hi,
>
>For my Amiga A1200 with 68060, kernel built by GCC8 does not work.
>It randomly crashes, and I could not enter DDB nor even obtain
>backtrace; it suddenly freezes.
>
>This occurs even if the entire kernel is built with -O0. On the
>other hand, if only kern_tc.o is replaced by that compiled by GCC7,
>kernel works without problems as far as I can see.
>
>Userland built by GCC8 works just fine. Also, for other m68k ports,
>kernels for sun3 and luna68k seem (almost) OK. Kernel for mac68k
>works if -fno-omit-frame-pointer is specified (-fomit-frame-pointer
>is enabled by default for optimize levels >= -O1 for GCC8).
>
>I tried various things, but all attempts failed miserably.
>Could anyone help us? If you have Amiga's, please test kernel
>built by GCC8 for your configuration.

Wow, you did a lot of work... If I wanted to drill this down more I would
start comparing rhe generated assembly from gcc-7 and gcc-8, or split the
file into individual functions and see which one is broken.

christos
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.