Port-sparc64 archive

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

Re: README: ports switching to GCC 8.

Thank you

On Tue, Dec 3, 2019 at 10:39 AM Michael L. Hitch <mhitch%netbsd.org@localhost> wrote:
On Sun, 17 Nov 2019, Michael L. Hitch wrote:

> On Sun, 17 Nov 2019, matthew green wrote:
>> hi folks.
>> i've recently switched sparc* to GCC 8 and will be soon
>> switching powerpc.  just running a few more tests to
>> ensure builds should work.
>> you'll probably need to do a clean build, though at least
>> tools/gcc itself will be OK.
>> as always, please send-pr or email me with issues related
>> to this.
>  I tried to boot a sparc64 kernel that I think was built after the switch on
> an Ultra 45, and it fails to find any disks.  I see the same problem with a
> netbsd-9 branch kernel.  This looks very similar to PR port-sparc64/54211,
> except that mine is an mtp controller.  That PR was after sparc64 was
> switched to GCC 7, so my first instinct is the problem may be due to GCC 7
> and GCC 8.  I haven't had any time to do any debugging yet, but hope to work
> on it soon.

   OK, I was able to track down the commit that causes this failure, and it
was not obvious.  The commit was revision 1.69 of sys/dev/i2c/i2c.c.  This
resulted in attempting to configure amdtemp0 instead of gpio0.  Reverting
this change results in a working kernel - both netbsd-9 (gcc7) and
-current (gcc8).

   So far, I've only booted a new kernel.  I plan to install th whole
release on a disk to see that other things work.


Michael L. Hitch                        mhitch%montana.edu@localhost
Operations Consulting,  University Information Technology
Montana State University, Bozeman, MT     USA

Home | Main Index | Thread Index | Old Index