Re: [PATCH v2 0/2] Various build fixes for NetBSD

John Baldwin
2017-09-04T17:08:45Z

On Monday, September 04, 2017 04:35:58 PM Kamil Rytarowski wrote:
> On 04.09.2017 16:01, Pedro Alves wrote:
> >
> > On 09/04/2017 02:04 PM, Kamil Rytarowski wrote:
> >> On 04.09.2017 14:50, Pedro Alves wrote:
> >>> On 07/25/2017 05:50 PM, John Baldwin wrote:
> >>>> Relative to the first patch series: one patch has been committed,
> >>>> the amd64 KVM support has been dropped, the _KMEMUSER #define was
> >>>> moved earlier in bsd-kvm.o, and the x86 debug registers change was
> >>>> expanded to also add needed object files in the NetBSD/x86 native
> >>>> targets. I haven't been able to test remaining patches so am
> >>>> waiting for testing reports from coypu@.
> >>>>
> >>>
> >>> This hasn't been pushed yet, right?
> >>> FWIW, it looks good to me.
> >>>
> >>> Thanks,
> >>> Pedro Alves
> >>>
> >>
> >> Hi,
> >>
> >> NetBSD patches are still pending. I'm going to readd NetBSD buildbot
> >> after merging them.
> >
> > So, how to break the deadlock? Can you perhaps try applying the
> > patches manually (or John could push them to some branch), and do some
> > quick smoke testing just to be sure things aren't horribly broken?
> > Otherwise, I'd be fine with just pushing them to master directly
> > and if the new buildbot reveals breakage we can always back out the
> > change.
> >
> > Thanks,
> > Pedro Alves
> >
>
> I'm right now upstreaming pkgsrc patches to qemu. Once I will be done, I
> will switch to gdb.
>
> In general there are around 2 remaining build issues on NetBSD
> (<sys/user.h> freebsdism and missing _KMEMUSER). In the past I was
> demotivated by that ChangeLog format.
>
> Long term, I'm still working on ptrace(2) correctness (appropriate
> support for threads in tracee) and LLDB/NetBSD porting.. I expect to
> allocate at some point time - when working on LLDB/kgdb - to improve GDB
> support and resurrect execution of tests.

I'm fine with pushing the current patchset to master if that works best
for you Kamil. I'm also happy to help shepherd NetBSD patches in when I
can.

--
John Baldwin