NetBSD-Users archive

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

Re: netbsd-8 build distribution error



Hi, it's great this is fixed.

But, I do wonder: How is even possible to have something called "NetBSD mumble STABLE  ..." not compile?  Because, you know, not compiling is kinda Not Stable.

It would seem to me some automatic check isn't working -- the one that guarantees buildability?

On Sun, Oct 21, 2018 at 1:10 PM Gua Chung Lim <gua.chunglim%gmail.com@localhost> wrote:
* Gua Chung Lim (gua.chunglim%gmail.com@localhost) wrote:
> There is no 'ifv_psz' member in struct ifvlan.
> Let me try fixing it.
Definitely correct,
Try this patch...

--- /usr/src/sys/net/if_vlan.c  2018-10-22 02:46:54.409390068 +0700
+++ if_vlan.c   2018-10-22 02:46:30.235596617 +0700
@@ -161,7 +161,7 @@
                                         * instead of direct dereference
                                         */
        kmutex_t ifv_lock;              /* writer lock for ifv_mib */
-
+       pserialize_t ifv_psz;
        LIST_HEAD(__vlan_mchead, vlan_mc_entry) ifv_mc_listhead;
        LIST_ENTRY(ifvlan) ifv_list;
        struct pslist_entry ifv_hash;

Now build distribution fine, and I carry on with successfully build kernel.

% uname -a
NetBSD sirius 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #4: Mon Oct 22 02:50:55 +07 2018  root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64

Cheers!!

--
Gua Chung Lim

"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie


Home | Main Index | Thread Index | Old Index