From nobody Wed Oct 9 06:35:08 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNjmw6KG0z5YvJP for ; Wed, 09 Oct 2024 06:35:12 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNjmw20g3z3xDQ for ; Wed, 9 Oct 2024 06:35:12 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Tqp4QPQf; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=paulf2718@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42ca4e0299eso57534095e9.2 for ; Tue, 08 Oct 2024 23:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728455710; x=1729060510; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+cajt4DJNgdM4KLt4MBvLj/2xTUMreNg8lPbM7Z+GAY=; b=Tqp4QPQfDl1CqT/A6C8t2ejoUfXJNKKlPEwPro6/pVTWVA2dJmErUzpG/KJTM4IXDY 15BR1BlTqkn9AgFZImD2oyKpS0HFKxNo1T2tWuGdoJv03njy8IEVbVtuNIl8zkprRmeM tu/nUKj62iY1KY5QqN4nzIXqMbJrE+yp1VvlrDWz8aOFmN/wDtw3RE9TZTc6/pvewIgt yyRiTUDg7LAUblZXDGZRD5WHCzQ7L0BKGug8dPihXJXnklRAIyWwAtCzXBdmTBapWCz0 PvH3ZFrhhukwErrFxwciBjA7Q3sXNn1YSepGIBFNtOzbElzoPmuhkRyvQF9jEjDlx461 FWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728455710; x=1729060510; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+cajt4DJNgdM4KLt4MBvLj/2xTUMreNg8lPbM7Z+GAY=; b=M/riJbKYQK4m14z/msAaf6atMINMsftUFUiV+v4b2s+T1K0sw9aOVWH+158lh2FuAP b6gKpdmhWfiExylkiK81ZF02URpU7w6ZM+vl17PHWKhZGyK09EbElAscwoYPDXhmTiaM lXNsojGkX/foXRACC623JklRwfmcxyoypvAOdKQtUBARF0iQUbi6cAWgGZzGpQYN3SGb 44b9YFK8q7GhfkaIt1hBgYK36veTU9SjfGnKocr+1SXatm1dbFyXBhjWhimItHX5Esil kQrPMQ0AytDQ0skHub9Lo/kkTyMS9NNhF7h1Lcqf478elAJkGJABgmDbSmF+JlRvRmzh pdMw== X-Gm-Message-State: AOJu0YwiptuGtqaAuw0HjGgd5cLPQuxTEdZ/Zq75+Ph73m4d6JT1uCew PlHB2tu8mRYGzE6K22h6bLkIOT8rwxGG7WVzLGt8KNlj7tps7Y7iczV4Ac/6 X-Google-Smtp-Source: AGHT+IEmcACceVhH2HqM3SYqnV236n4MsZk8W1wWGFEBazmwPDSPX+bkGxt4GNMZ9B3o1ySgCcBbvw== X-Received: by 2002:a05:600c:3b9f:b0:42c:a6da:a149 with SMTP id 5b1f17b1804b1-430d6faa3cdmr8290305e9.25.1728455710099; Tue, 08 Oct 2024 23:35:10 -0700 (PDT) Received: from ?IPV6:2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb? ([2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-430ccf4f8desm9782915e9.13.2024.10.08.23.35.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Oct 2024 23:35:09 -0700 (PDT) Message-ID: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> Date: Wed, 9 Oct 2024 06:35:08 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-current@FreeBSD.org From: Paul Floyd Subject: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from] X-Rspamd-Queue-Id: 4XNjmw20g3z3xDQ X-Spamd-Bar: --- Hi I don't often update my 15-0-CURRENT VM. I did last week and I'm getting several issues. Firstly, a bit annoying, both pkg and ksh93 fail to run, giving. ld-elf.so.1: Shared object "libmd.so.6" not found, required by "ksh93" Next I'm getting a lot of new Valgrind test failures. I haven't done any detailed debugging yet. One hang in a DRD test calling syscall 454 SYS__umtx_op. One for me, it looks like libc sendmsg has been re-implemented to use socketcall. The biggest problem is with Helgrind. All apps now generate an extra error ==68593== Thread #1: Exiting thread still holds 1 lock ==68593== at 0x4BBB5DA: _exit (in /lib/libsys.so.7) ==68593== by 0x49FC1C0: exit (in /lib/libc.so.7) ==68593== by 0x491CA10: __libc_start1 (in /lib/libc.so.7) ==68593== by 0x20182F: (below main) (crt1_s.S:83) I tried building Helgrind with pthread tracing turned on but that just gave me one more problem - a crash due to the tracing fprintf (https://bugs.kde.org/show_bug.cgi?id=494327). A+ Paul From nobody Wed Oct 9 07:06:03 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNkSy2dR8z5YvqM for ; Wed, 09 Oct 2024 07:06:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNkSn59ycz4215 for ; Wed, 9 Oct 2024 07:06:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 49976326096268; Wed, 9 Oct 2024 10:06:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 49976326096268 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 499763YQ096267; Wed, 9 Oct 2024 10:06:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 9 Oct 2024 10:06:03 +0300 From: Konstantin Belousov To: Paul Floyd Cc: freebsd-current@freebsd.org Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 Message-ID: References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XNkSn59ycz4215 X-Spamd-Bar: ---- On Wed, Oct 09, 2024 at 06:35:08AM +0000, Paul Floyd wrote: > Hi > > I don't often update my 15-0-CURRENT VM. I did last week and I'm getting > several issues. > > Firstly, a bit annoying, both pkg and ksh93 fail to run, giving. > ld-elf.so.1: Shared object "libmd.so.6" not found, required by "ksh93" > > Next I'm getting a lot of new Valgrind test failures. I haven't done any > detailed debugging yet. > > One hang in a DRD test calling syscall 454 SYS__umtx_op. > > One for me, it looks like libc sendmsg has been re-implemented to use > socketcall. > > The biggest problem is with Helgrind. All apps now generate an extra error > > ==68593== Thread #1: Exiting thread still holds 1 lock > ==68593== at 0x4BBB5DA: _exit (in /lib/libsys.so.7) > ==68593== by 0x49FC1C0: exit (in /lib/libc.so.7) > ==68593== by 0x491CA10: __libc_start1 (in /lib/libc.so.7) > ==68593== by 0x20182F: (below main) (crt1_s.S:83) This is intended, see 3f3ec4b99f79d32a0bf15495559ca9883bd751f2. > > I tried building Helgrind with pthread tracing turned on but that just gave > me one more problem - a crash due to the tracing fprintf > (https://bugs.kde.org/show_bug.cgi?id=494327). > > A+ > Paul > From nobody Wed Oct 9 08:27:22 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNmGb3xkmz5Z0nw for ; Wed, 09 Oct 2024 08:27:35 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNmGZ3c18z46y8 for ; Wed, 9 Oct 2024 08:27:34 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=la3TtbGl; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2607:f8b0:4864:20::92b as permitted sender) smtp.mailfrom=paulf2718@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ua1-x92b.google.com with SMTP id a1e0cc1a2514c-84fb56d2fb2so213322241.3 for ; Wed, 09 Oct 2024 01:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728462453; x=1729067253; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Qs7bDw77OAWjTh/XFskYYJVN5277Vtuza0grryA3N5s=; b=la3TtbGlhOgQybouLCOzTSFDN07LxugtRd9VQJbIyXFrchwdRZRkdel9LNyyXMoHaM fQavzmtKdSrj2PydFpSubgm4cZ8w1WF74TXRlMofkUjkDB1G20ZomGMAwQ3UQPN0Uwbd G32E7BvPXpIII94m2jqXzlEuUQqLheUao2LqNXBBIrsz6ZgiFQOIuZhkY7JpG1ZRYy39 w+0Uyi4BGPKtg6wTLxTOeYOJrQmWsazRIKAnsnTbk070u7gSP5kPVCfU9Es/b/699zyw mcATv8jp8Hz51wX7aYJvXUgqdW04QUOyMLOrzWzC5uM69pYBk70Z3wHRRzhNveuQ1DOT 5yKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728462453; x=1729067253; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qs7bDw77OAWjTh/XFskYYJVN5277Vtuza0grryA3N5s=; b=QOYYHCcHNgq7ikp5eirOgc/+V5kvNz/ALcxso9B9DSFVdfLYFG0dLbk31YJJRTdz8C uLSHm5pLN6S3bBoVEykoQ09ffuQ4BuZi5j9GRSR3OWOCb6W19T2RGCT4Sj1KPPWdgcfN +Vi93VYGmL7L4yW4VVw8wMWPMR3nYVsyengk7j+LROrKMtBFe1gK7/viP1F8FTB0Zk0G BQUoKrofRbS71sOgkX5knSYRVLwihLGZV9u7iFag3fVh9eeW3KwB7CivVuXUDwLt+095 6yHj7ceWT7+MdkkDXddW0wgWP9iffy/R1nKMDACwB0GcurG+xijxecMBamJtjAtGcqpi OXrA== X-Gm-Message-State: AOJu0YyyIJURuZLCAavh65QUbvhKB8eOXIcqhPtfBNtcFbgC1ch+Z5tj uBRzW7txSGBgtz8/DawklzRJs6UFpawuenpRTw1Orj+MvrAJsIQCTxxWFCB60sSrTezBiOPMJ0P GJYBmD6ZGyIPy2HU1PHU/BvzqqoJCQLoN X-Google-Smtp-Source: AGHT+IE6zKNY3tfpP3r5kq1Ih+l2/wRBTByv30CDQ9VOnREmvZNteqSrYxQ9PZHpCM+UvruBgtnr+FhCcX4vFLX+S5g= X-Received: by 2002:a05:6122:91d:b0:50c:4efb:835a with SMTP id 71dfb90a1353d-50cf09ab650mr730443e0c.1.1728462453437; Wed, 09 Oct 2024 01:27:33 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> In-Reply-To: From: Paul Floyd Date: Wed, 9 Oct 2024 10:27:22 +0200 Message-ID: Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 To: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008b7f2c062407069d" X-Spamd-Result: default: False [-3.77 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.78)[-0.776]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::92b:from] X-Rspamd-Queue-Id: 4XNmGZ3c18z46y8 X-Spamd-Bar: --- --0000000000008b7f2c062407069d Content-Type: text/plain; charset="UTF-8" > > On Wed, 9 Oct 2024 at 09:08, Konstantin Belousov > wrote: > On Wed, Oct 09, 2024 at 06:35:08AM +0000, Paul Floyd wrote: > > The biggest problem is with Helgrind. All apps now generate an extra > error > > > > ==68593== Thread #1: Exiting thread still holds 1 lock > > ==68593== at 0x4BBB5DA: _exit (in /lib/libsys.so.7) > > ==68593== by 0x49FC1C0: exit (in /lib/libc.so.7) > > ==68593== by 0x491CA10: __libc_start1 (in /lib/libc.so.7) > > ==68593== by 0x20182F: (below main) (crt1_s.S:83) > > This is intended, see 3f3ec4b99f79d32a0bf15495559ca9883bd751f2. > > Reply to list is better, Ug. I need to test but I don't think that I can simply add a default suppression for this as that would also mask any leaked user locks. I can probably check whether it's the main thread (I assume that this code doesn't run on subsidiary threads) and then only warn if there are 2 or more locks held. The next problem is that I don't see any way to tell whether I need to allow one lock or not. This is all userland so so __FreeBSD_version change. Also I don't see any public symbols. That just leaves me with configure time 'uname' checks. A+ Paul --0000000000008b7f2c062407069d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 9 Oct 2024 at= 09:08, Konstantin Belousov <kostikbel@gmail.com> wrote:
On Wed, Oct 09, 2024 at 06:35:08AM +0000, Paul Floyd wr= ote:
> The biggest problem is with Helgrind. All apps now generate an= extra error
>
> =3D=3D68593=3D=3D Thread #1: Exiting thread st= ill holds 1 lock
> =3D=3D68593=3D=3D=C2=A0 =C2=A0 at 0x4BBB5DA: _exit= (in /lib/libsys.so.7)
> =3D=3D68593=3D=3D=C2=A0 =C2=A0 by 0x49FC1C0:= exit (in /lib/libc.so.7)
> =3D=3D68593=3D=3D=C2=A0 =C2=A0 by 0x491CA= 10: __libc_start1 (in /lib/libc.so.7)
> =3D=3D68593=3D=3D=C2=A0 =C2= =A0 by 0x20182F: (below main) (crt1_s.S:83)
=C2=A0
This is intended, see 3= f3ec4b99f79d32a0bf15495559ca9883bd751f2.


Reply to list is better,

Ug. I need t= o test but I don't think that I can simply add a default suppression fo= r this as that would also mask any leaked user locks.

<= div>I can probably check whether it's the main thread (I assume that th= is code doesn't run on subsidiary threads) and then only warn if there = are 2 or more locks held. The next problem is that I don't see any way = to tell whether I need to allow one lock or not. This is all userland so so= __FreeBSD_version change. Also I don't see any public symbols. That ju= st leaves me with configure time 'uname' checks.

A+
Paul=C2=A0
--0000000000008b7f2c062407069d-- From nobody Wed Oct 9 08:45:10 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNmg81P1Xz5Z1RS for ; Wed, 09 Oct 2024 08:45:24 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNmg65yxNz49Ry for ; Wed, 9 Oct 2024 08:45:22 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=iAsuPcba; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2607:f8b0:4864:20::a2e as permitted sender) smtp.mailfrom=paulf2718@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-vk1-xa2e.google.com with SMTP id 71dfb90a1353d-50c9fb5751cso1556344e0c.0 for ; Wed, 09 Oct 2024 01:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728463522; x=1729068322; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=APkJLILQvEP0+ZgQ88xqz5ifmvvrBtHiqv+bbRz7sc8=; b=iAsuPcbazkbQ4hSAdfysxcTHBl/+9n80jb68HqR02rFMuuy1XjmWk/KOVAe9bEG98K PF/M/2DTX921neCH8JT4kGo1Su8ZEvfmYI+YC5SWTvu7NbzIcrDxgfbQSYgHAEye6qy8 5viqo73ZeiP4IcVFpoT7Ca9ZCs8mIQ4WH29FiQx9yXtHY0OYv3Dl6iXasSGGcmpsSPhi EsLRF6Jv/mUiuNefbiizwgZTEIp/oCXSB58vhDENJvFtV+QD9Zou63Ty4l0D6ga++nA+ Z8oirRh7Vm6hFJaA6omQbX43JW6uiNHlb4aDvygTuzq1MaDq2oM57xeHhfIFVbHe1bkL IdoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728463522; x=1729068322; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=APkJLILQvEP0+ZgQ88xqz5ifmvvrBtHiqv+bbRz7sc8=; b=TTDrQ/FZSBK+uV3R4uicAQbIOlpvHLP7/vLCJ0a7+b/lvu3PwuH/3JPIrGXXvVJ9W6 DqqeCTb2M3JpLwZoXa6c7KUy3Z2nu9GWiUyX7svc1TAdhCaiRVLFeVsNeEU0QdNKSzjX Rl4AnyBYtTwb9lYDXJ6WlXda/esoGgxneyLLakpUffW2QCFxaJ/kA5xNgvI4d5QLxq5U pwYLxrmcmypzrTdEggUpZxGAuvdOUki0dQfWnmmDQdXnknNRCZzykUiQf1ReW/oFUu7+ GJUD+sbjReQI41o6vifP2jftFL8ZB9TzSgE5vernQy34YxJvqSexFEEufThTNGjb4N9Y BFxQ== X-Gm-Message-State: AOJu0Yx9K5BTHex0KsDPtULmryCaNIW+M/yeQLkjLYFQuqEmbKk9r/tc jg+GWz4P7S0CoujNeZfiRKpGF4Q76NAqIh5PnNs4sqZORDAzhZNeQxrL8n+AL1WG3Y24piNOwZI h/Jq7b3z+gTS3N94KATAioGMRIxCk6w== X-Google-Smtp-Source: AGHT+IEnzDAinFNNP3nDDXme+qOUpnUoGASE4OvJ5zWRoXD92bd22EptrP4g5vPlh9Q1flYiV++sThVUUYVz7wBExpk= X-Received: by 2002:a05:6122:2023:b0:50c:55f4:b53f with SMTP id 71dfb90a1353d-50cf0c5d63amr1452920e0c.8.1728463521858; Wed, 09 Oct 2024 01:45:21 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> In-Reply-To: From: Paul Floyd Date: Wed, 9 Oct 2024 10:45:10 +0200 Message-ID: Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 To: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003a4c8d0624074604" X-Spamd-Result: default: False [-3.77 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.989]; NEURAL_HAM_SHORT(-0.78)[-0.777]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2e:from] X-Rspamd-Queue-Id: 4XNmg65yxNz49Ry X-Spamd-Bar: --- --0000000000003a4c8d0624074604 Content-Type: text/plain; charset="UTF-8" > > > I can probably check whether it's the main thread (I assume that this code > doesn't run on subsidiary threads) > No it looks like it can be any thread. A+ Paul --0000000000003a4c8d0624074604 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I can probably check whether it's = the main thread (I assume that this code doesn't run on subsidiary thre= ads)

No it looks li= ke it can be any thread.

A+
Paul
=C2=A0
--0000000000003a4c8d0624074604-- From nobody Wed Oct 9 08:50:50 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNmnk50V6z5Z1cD for ; Wed, 09 Oct 2024 08:51:06 +0000 (UTC) (envelope-from kib@freebsd.org) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNmnj69Xnz4Cjv for ; Wed, 9 Oct 2024 08:51:04 +0000 (UTC) (envelope-from kib@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 4998ooZS000293; Wed, 9 Oct 2024 11:50:53 +0300 (EEST) (envelope-from kib@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 4998ooZS000293 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 4998ooho000292; Wed, 9 Oct 2024 11:50:50 +0300 (EEST) (envelope-from kib@freebsd.org) X-Authentication-Warning: tom.home: kostik set sender to kib@freebsd.org using -f Date: Wed, 9 Oct 2024 11:50:50 +0300 From: Konstantin Belousov To: Paul Floyd Cc: freebsd-current@freebsd.org Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 Message-ID: References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XNmnj69Xnz4Cjv X-Spamd-Bar: ---- On Wed, Oct 09, 2024 at 10:27:22AM +0200, Paul Floyd wrote: > > > > On Wed, 9 Oct 2024 at 09:08, Konstantin Belousov > > wrote: > > > On Wed, Oct 09, 2024 at 06:35:08AM +0000, Paul Floyd wrote: > > > The biggest problem is with Helgrind. All apps now generate an extra > > error > > > > > > ==68593== Thread #1: Exiting thread still holds 1 lock > > > ==68593== at 0x4BBB5DA: _exit (in /lib/libsys.so.7) > > > ==68593== by 0x49FC1C0: exit (in /lib/libc.so.7) > > > ==68593== by 0x491CA10: __libc_start1 (in /lib/libc.so.7) > > > ==68593== by 0x20182F: (below main) (crt1_s.S:83) > > > > > > This is intended, see 3f3ec4b99f79d32a0bf15495559ca9883bd751f2. > > > > > Reply to list is better, > > Ug. I need to test but I don't think that I can simply add a default > suppression for this as that would also mask any leaked user locks. > > I can probably check whether it's the main thread (I assume that this code > doesn't run on subsidiary threads) and then only warn if there are 2 or > more locks held. The next problem is that I don't see any way to tell > whether I need to allow one lock or not. This is all userland so so > __FreeBSD_version change. Also I don't see any public symbols. That just > leaves me with configure time 'uname' checks. No, this is not limited to the main thread. Whatever thread called exit() and won the race to get the lock, would keep it owned till the process exit. Perhaps you can check for the presence of the symbol exit@FBSD_1.0 in the backtrace to determine the situation. From nobody Wed Oct 9 18:13:44 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XP1H53HFDz5YqFs for ; Wed, 09 Oct 2024 18:13:53 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Received: from 01d.relay.hey.com (01d.relay.hey.com [204.62.114.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP1H458Mlz4D7D for ; Wed, 9 Oct 2024 18:13:52 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hey.com header.s=heymail header.b=bZlkJGaK; spf=pass (mx1.freebsd.org: domain of nathan.nasby@hey.com designates 204.62.114.227 as permitted sender) smtp.mailfrom=nathan.nasby@hey.com; dmarc=pass (policy=quarantine) header.from=hey.com Received: from hey.com (bigip-vip.rw-ash-int.37signals.com [10.20.0.24]) by 01.relay.hey.com (Postfix) with ESMTP id 092D1850E5 for ; Wed, 9 Oct 2024 18:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1728497626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=361Ocp/WZWsc93Mfzr/5EPKN/OdjC7oJ2rlttGJ6hHQ=; b=bZlkJGaKL5EBuJdwUvDUegukWJI+7quIaBmnSQ26kZ37nOKOQcvvMz1+0BWsQjgyyWphpD nVk1p0bX5rzmqPEZoviK7jigNZzZZff7mwtaCpGMRl09X3o3Z9xsoUMoGX/LoBSADHu2FU INLGW2iz6ajHrHni8EtGIa/mZNLfNXNcXmR/3zTAoGo8aBYsTd9Y+QJHlehEV37IJ/o7bD iLnseiVNBJyzaHHCN3SjAO++KB0bEXEZNMn3Ftdx4eujVwzl6TA4R9MtgfsvmSvHBVxphB e54Qoj+Yi7GGZKW/ITdhCRwQeNNbdNEoW/OMSlsz8ZLrFrj0ifazQT0oAjuu6w== Date: Wed, 09 Oct 2024 18:13:44 +0000 From: Nathan Nasby To: freebsd-current@freebsd.org Message-ID: Subject: Buildworld stops build - undeclaired identifier List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6706c7d940f5c_554c0182647"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-5.35 / 15.00]; DWL_DNSWL_MED(-2.00)[hey.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_HAM_SHORT(-0.96)[-0.958]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[hey.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:204.62.114.0/23]; R_DKIM_ALLOW(-0.20)[hey.com:s=heymail]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; ASN(0.00)[asn:25657, ipnet:204.62.114.0/24, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hey.com:+] X-Rspamd-Queue-Id: 4XP1H458Mlz4D7D X-Spamd-Bar: ----- ----==_mimepart_6706c7d940f5c_554c0182647 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, When I try to compile world with the latest source, I get error of undeclared identifiers /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of undeclared identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 =C2=A0 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D);= /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of undeclared identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0) /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undeclared identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0) ----==_mimepart_6706c7d940f5c_554c0182647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

When I try to compile world with the latest source, = I get error of undeclared identifiers

/usr/src/usr.bin/= procstat/procstat_vm.c:118:7: error: use of undeclared identifier =E2=80=98= KVME_FLAG_SYSVSHM=E2=80=99
=C2=A0
118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2= =80=9Ctrue : =E2=80=9Cfalse=E2=80=9D);

/usr/src/usr.bin/pro= cstat/procstat_vm.c:169:25: error: use of undeclared identifier =E2=80=98= KVME_FLAG_SYSVSHM=E2=80=99

169 | if ((kve->kve_flags & KVME= _FLAG_SYSVSHM) !=3D 0)

/usr/src/usr.bin/procstat/procstat_vm.c:173= :25: error: use of undeclared identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80= =99

173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)=



----==_mimepart_6706c7d940f5c_554c0182647-- From nobody Wed Oct 9 19:34:31 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XP34C4mz9z5YvHN for ; Wed, 09 Oct 2024 19:34:35 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP34B4Yt9z4P9b for ; Wed, 9 Oct 2024 19:34:34 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KWjCJDO7; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=paulf2718@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-37d39d9f782so72724f8f.1 for ; Wed, 09 Oct 2024 12:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728502473; x=1729107273; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=U1LWLj3dFV6tZZ0Z5zKi75Jkxm5odyTCu23uJQTb/nI=; b=KWjCJDO796canv8SjSaHujEId60X229VohQ+4+4NoVblbPdNIuDJSC7eZkGobYuR+I TrrY2Eg2ipTvPZwRxedjWv/J7lMkdlBAailHGQAGK9keY7FhAhpk2/fz6CrXqqUu21Nm kO5nj0/vdCw0Bp5AjfPFeJexeSo9PxmYR5fvXcwSaXN0ieTNfwzMint/pKOjjgIP5afy gYA4nHPe5a6NqkIHBwHAGj7s8giOnn/KmwpFKMvUrmuvkMEQgNLk3phwt3bIh5u10/98 augpo5ndvoPDV4T1o1ZkskVcAquRyBK1zsQ0QV7tGe2/5L+vjtEDz19kSFtaq1g01QqO ufug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728502473; x=1729107273; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U1LWLj3dFV6tZZ0Z5zKi75Jkxm5odyTCu23uJQTb/nI=; b=wo5bM4erDd/2zbzHYjjuU6M40zWtcoR+C3R7cvUpccNizEA+CeLi1on2nTbExmURUq HnYIK8QfcW0VLbMiNPNEugKOKf8gcEhINvek4BXvXPuOQw6BJFizptpLG688yG+jiTWo ESkF/RYtDx8reeU/c7JAH0HYV5LuBuZ1pgmyyetACSaGSUyfI9WXGqEIyiBSujipGwA5 KC6AXkm+vHcVhkMBuPab8DQEfzcDV9JB/oeVp62lk5d+LkM/0Ih5/q8BxFVg9vbu7bep 88gb2j4UYCzvRm0f+PyKNFOzF+coTTbEiwFlvKD4/grRU2QBQtrW2rENTBviBaZpkMqQ WcOw== X-Gm-Message-State: AOJu0Yzwzl6RHRGXJh7ESr7c/8810QdCZFwTdYu5AQiqsnp6l4peX4Gd L9lbrhZe+R6cfrq/bVmpV87qX2KiRyeeBcwS6HiLXEA+iAWSIURd7RP6gUXh X-Google-Smtp-Source: AGHT+IHKXZTqF4s+VYeFY9SJ84+OpJHL6av9OSjRVGwSg8pXmM41dq+NMMPM+nvBKoYp5AJTWD6fXQ== X-Received: by 2002:a5d:4e0d:0:b0:37c:ce26:95eb with SMTP id ffacd0b85a97d-37d3aa23d8emr2284759f8f.2.1728502472636; Wed, 09 Oct 2024 12:34:32 -0700 (PDT) Received: from ?IPV6:2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb? ([2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d43d2c4f5sm1775939f8f.94.2024.10.09.12.34.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Oct 2024 12:34:32 -0700 (PDT) Message-ID: <62745a68-9ed7-4f6f-bd6f-0ba3e10629c3@gmail.com> Date: Wed, 9 Oct 2024 19:34:31 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 To: freebsd-current@freebsd.org References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> Content-Language: en-US From: Paul Floyd In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from] X-Rspamd-Queue-Id: 4XP34B4Yt9z4P9b X-Spamd-Bar: --- On 09-10-24 08:50, Konstantin Belousov wrote: > Perhaps you can check for the presence of the symbol exit@FBSD_1.0 in the > backtrace to determine the situation. We don't read .gnu.version and the version number hasn't changed as far as I can see. I can check osreldate to get an idea of the version. However this looks like it is going to be a lot more difficult. I need to be able to tell apart abnormal termination (where no locks are to be expected) and normal termination (one lock expected). If it's not possible/too difficult to work out how mnay locks should be allowed on exit another option will be to try to fiddle around with what happens during a call to exit(). That would mean something like ignoring the lock count when called from exit(). And the last resort will be to just turn this check off. A+ Paul From nobody Thu Oct 10 10:44:02 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPRG51wJ9z5YqBB for ; Thu, 10 Oct 2024 10:44:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPRG45gjDz40R8 for ; Thu, 10 Oct 2024 10:44:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 49AAi3qm044851; Thu, 10 Oct 2024 13:44:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 49AAi3qm044851 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 49AAi3nq044850; Thu, 10 Oct 2024 13:44:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 Oct 2024 13:44:02 +0300 From: Konstantin Belousov To: Nathan Nasby Cc: freebsd-current@freebsd.org Subject: Re: Buildworld stops build - undeclaired identifier Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XPRG45gjDz40R8 X-Spamd-Bar: ---- On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan Nasby wrote: > Hello, > > When I try to compile world with the latest source, I get error of > undeclared identifiers > > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of undeclared > identifier ‘KVME_FLAG_SYSVSHM’ >   > 118 |  KVME_FLAG_SYSVSHM ? “true : “false”); > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of undeclared > identifier ‘KVME_FLAG_SYSVSHM’ > > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) != 0) > > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undeclared > identifier ‘KVME_FLAG_POSIXSHM’ > > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) != 0) You have the corrupted checkout. sys/sys/user.h is out of date. From nobody Thu Oct 10 11:16:49 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPRzX4jxMz5YsLY for ; Thu, 10 Oct 2024 11:16:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPRzX2QyRz43bZ for ; Thu, 10 Oct 2024 11:16:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 49ABGn5k045903; Thu, 10 Oct 2024 14:16:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 49ABGn5k045903 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 49ABGnHK045902; Thu, 10 Oct 2024 14:16:49 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 Oct 2024 14:16:49 +0300 From: Konstantin Belousov To: Paul Floyd Cc: freebsd-current@freebsd.org Subject: Re: Problems with FreeBSD-15.0-CURRENT-amd64-20241003 Message-ID: References: <7bdb3c71-8a36-444e-8b1d-9c4f789fe638@gmail.com> <62745a68-9ed7-4f6f-bd6f-0ba3e10629c3@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62745a68-9ed7-4f6f-bd6f-0ba3e10629c3@gmail.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4XPRzX2QyRz43bZ X-Spamd-Bar: ---- On Wed, Oct 09, 2024 at 07:34:31PM +0000, Paul Floyd wrote: > > > On 09-10-24 08:50, Konstantin Belousov wrote: > > > Perhaps you can check for the presence of the symbol exit@FBSD_1.0 in the > > backtrace to determine the situation. > > We don't read .gnu.version and the version number hasn't changed as far as I > can see. > > I can check osreldate to get an idea of the version. > > However this looks like it is going to be a lot more difficult. I need to be > able to tell apart abnormal termination (where no locks are to be expected) > and normal termination (one lock expected). > > If it's not possible/too difficult to work out how mnay locks should be > allowed on exit another option will be to try to fiddle around with what > happens during a call to exit(). That would mean something like ignoring the > lock count when called from exit(). > > And the last resort will be to just turn this check off. If you can determine not just the number of taken locks, but also the specific locks that were taken, perhaps you can check that this is the libc exit lock? From nobody Fri Oct 11 01:37:56 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPq575tS5z5Z0WB for ; Fri, 11 Oct 2024 01:38:03 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Received: from 01c.relay.hey.com (01c.relay.hey.com [204.62.114.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPq573s6fz47b9 for ; Fri, 11 Oct 2024 01:38:03 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Authentication-Results: mx1.freebsd.org; none Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 01.relay.hey.com (Postfix) with ESMTP id CF19885103; Fri, 11 Oct 2024 01:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1728610677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=VgtKwla+AdwDfA8Xsdu8vw0gM6JEWuzKKycTfBqfo5A=; b=MLII6QAfo3a/wNc3SowbRmj/FBx1oeyOqZ8nUzngXUhVjPyt3LXITh7DtUceK0RjucQJNy bP/p5GHbEZXEuMRUqYH7y9gxgaRJeBYzQ+utgTgQ71bNNH6/O5+7GC91LZM31cg/JuLTxD 4CfBJRu9QuiAc/fcXOFEFBPpUVRJPVK1WKD8HYAzOYCr8JmGNsiI2r97TrhqGfHoSzOdTt NyvGoUSwcS1YnUFdYpIGkcH4wjiyg1ve1JcBJ2sOoeFMlbAYitQ5SQOkjIK7c35COR1lqz fWeeh86ZQAXOY6v2ksOlo6lTGepZgLuDK+svMuM2Bw/2xMYTgK6cIecq/7MnrQ== Date: Fri, 11 Oct 2024 01:37:56 +0000 From: Nathan Nasby To: Konstantin Belousov Cc: freebsd-current@freebsd.org Message-ID: <6c3c140c52ee272fd7c85c843bc50506e9c5a32a@hey.com> In-Reply-To: Subject: Re: Buildworld stops build - undeclaired identifier List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_67088174bb671_5e4c01824773"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25657, ipnet:204.62.114.0/24, country:US] X-Rspamd-Queue-Id: 4XPq573s6fz47b9 X-Spamd-Bar: ---- ----==_mimepart_67088174bb671_5e4c01824773 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So will doing git reset =E2=80=94hard solve it? - Nathan On October 10, 2024, Konstantin Belousov wrote: On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan Nasby wrote: > > Hello, > >=C2=A0 > > When I try to compile world with the latest source, I get error of > > undeclared identifiers > >=C2=A0 > > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > =C2=A0 > > 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D= ); > > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > >=C2=A0 > > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0) > >=C2=A0 > > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99 > >=C2=A0 > > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0) > > You have the corrupted checkout. sys/sys/user.h is out of date. ----==_mimepart_67088174bb671_5e4c01824773 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So will doing git reset =E2=80=94hard solve it?

- Nathan
On October 10, 2024, Konstantin Belousov <kostikbel@gm= ail.com> wrote:
On Wed, Oct 09, 2024 at 06:13:44PM +0000, Na= than Nasby wrote:

> Hello,
>=C2=A0
&= gt; When I try to compile world with the latest source, I get error of> undeclared identifiers
>=C2=A0
> /usr/src/usr.bin/procs= tat/procstat_vm.c:118:7: error: use of undeclared
> identifier =E2=80= =98KVME_FLAG_SYSVSHM=E2=80=99
> =C2=A0
> 118 |=C2=A0 KVME_FLA= G_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D);
> /usr/src/us= r.bin/procstat/procstat_vm.c:169:25: error: use of undeclared
> ide= ntifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99
>=C2=A0
> 169 | i= f ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0)
>=C2=A0
&= gt; /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undecla= red
> identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99
>=C2=A0=
> 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)
You have the corrupted checkout. sys/sys/user.h is out of date.
----==_mimepart_67088174bb671_5e4c01824773-- From nobody Fri Oct 11 12:18:28 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQ5Jf610Hz5Ynvy; Fri, 11 Oct 2024 12:18:58 +0000 (UTC) (envelope-from thj@freebsd.org) Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQ5Jf1Ywvz4S8h; Fri, 11 Oct 2024 12:18:58 +0000 (UTC) (envelope-from thj@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=kYGvVHgH; spf=softfail (mx1.freebsd.org: 103.168.172.150 is neither permitted nor denied by domain of thj@freebsd.org) smtp.mailfrom=thj@freebsd.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 7E70C1380287; Fri, 11 Oct 2024 08:18:57 -0400 (EDT) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-02.internal (MEProxy); Fri, 11 Oct 2024 08:18:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728649137; x=1728735537; bh=gUO+hbLHEB9J1X1faBm0JkUTAgxP bhKWMzlSJmtuess=; b=kYGvVHgHHveWkLOumAohOYnFatLyHzwshp/76qVa6WPE sRSnn4DQWETF6ZeThnV7F3vSSnE0dGGkl32oERhK6jUJ60Q5cH3UVXG72NuFj5mw hRSpJ91qZCTPlwIUCUxVxNYgEaYETOrAMsNL+jM29GKOySw14ZDIT3ZNaXsubCe4 a/NL/NaQo1FHGI84fgFxrJ095tWWwKJ3Ih8VtGLz7+G5PIa9Q8xUzo3z0xU36AiI RRYasIZf/uDEwZ3st71xO9ISGWingYxnUUgUExY1Zi5X5pyppk6JgCYKzU9rW3/E aFdSxKuD0TEYT9BOaoaiwwYv5kNOCDzQP1X4pHSkHA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefkedghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvkffutgfgsehtjeertdertddtnecuhfhrohhmpedfvfhomhculfhonhgvshdfuceothhh jhesfhhrvggvsghsugdrohhrgheqnecuggftrfgrthhtvghrnhepvefhtdejteejfeehvd euiefgvdeugfeludffudfggfehleehgfejveelvefhhedvnecuffhomhgrihhnpegrughv vghnthhurhhishhtrdhmvgdphihouhhtuhgsvgdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhjsehfrhgvvggsshgurdhorhhg pdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrh gvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhgpdhrtghpthhtohepfhhr vggvsghsugdqnhgvthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: ib75146ab:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 33928BA006F; Fri, 11 Oct 2024 08:18:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Fri, 11 Oct 2024 13:18:28 +0100 From: "Tom Jones" To: freebsd-net@freebsd.org, freebsd-current@freebsd.org Message-Id: Subject: Goings on in the Network Stack Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[messagingengine.com:s=fm2]; RWL_MAILSPIKE_VERYGOOD(-0.20)[103.168.172.150:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.150:from]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, DKIM not aligned (relaxed),none]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[thj]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-net@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[messagingengine.com:+] X-Rspamd-Queue-Id: 4XQ5Jf1Ywvz4S8h X-Spamd-Bar: --- Hi folks, For the past three weeks on a Friday I have been writing some commentary on what has been happening in the FreeBSD Network Stack. The commentary is primarily based on main branch commits, but also includes some other stuff from the community I gather via mailing lists, phab reviews and bugs. The third one of these is published on my blog here: https://adventurist.me/posts/00328 all of the network status reports are available on my blog via this tag: https://adventurist.me/tag/networkstatus For the third one I also streamed to YouTube the assembly and writing process: https://www.youtube.com/live/evSOOwUIBmA My goal with these is to try and shine some light on what is happening in the project on a regular basis. I decided the entire project was too much to cover and picked networking (not knowing that it was ~50% of commits in a given week). I'm not aiming for perfection, but better engagement with the community from the project. These reports are funded by the FreeBSD Foundation. In the spirit of "doing something quickly" no one other than myself has been involved in an editorial role so far. If you have comments, suggestions or *complaints*, I'm happy to get them via email, irc, slack, discord, the fediverse or in the street (if you can find me). If you see value in me continuing to write these reports I would love to hear that too. I won't commit to writing them forever, but I will continue at least until I break for the winter. Thanks Tom From nobody Fri Oct 11 23:48:32 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQNcS22Mgz5YNGb for ; Fri, 11 Oct 2024 23:48:40 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Received: from 101d.relay.hey.com (101d.relay.hey.com [204.62.115.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQNcR1WY0z4fjn for ; Fri, 11 Oct 2024 23:48:39 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hey.com header.s=heymail header.b=T+tRjs0Q; spf=pass (mx1.freebsd.org: domain of nathan.nasby@hey.com designates 204.62.115.198 as permitted sender) smtp.mailfrom=nathan.nasby@hey.com; dmarc=pass (policy=quarantine) header.from=hey.com Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 101.relay.hey.com (Postfix) with ESMTP id 0299984CCE; Fri, 11 Oct 2024 23:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1728690513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=1tVhk1CwRQgxPGwayk+kwS3/7wap2h/3YrdAqIduzOY=; b=T+tRjs0QS95KnPQWEfLgi2LBtVXpyKbH0S/1UwmMX4VVHuwT/UCTh9yEwcuZTi7bFiNLBD UEzya/NHI0n/7hkXSKDnQ5Q3uHc3WSRKkC+n+hywtKL1CIGJtW7Cxp1tdJYG6pv3Rg9WIW 9UZlIUAnkVNEZZlPqn34HeNQN2h4/nHdTu9n+LhB7Ocdyc6gluh9Nc9TpBhxlaquf0UmwC TArAD8nbpp0xu0nqUXyzyl1efyeZnjScam2N7wQgPiowY1IhUdGs7vzRaa9cM8iYGii4U3 R0UDEtE48gqo1SFVKpJzz4C4YFVoArBgJT3U8Vpv+18Y23gRMQVONipyn0FYJQ== Date: Fri, 11 Oct 2024 19:48:32 -0400 From: Nathan Nasby To: Konstantin Belousov Cc: freebsd-current@freebsd.org Message-ID: In-Reply-To: <6c3c140c52ee272fd7c85c843bc50506e9c5a32a@hey.com> Subject: Re: Buildworld stops build - undeclaired identifier List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6709b950f3c6c_5d4c018214647"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-5.40 / 15.00]; DWL_DNSWL_MED(-2.00)[hey.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[hey.com,quarantine]; R_DKIM_ALLOW(-0.20)[hey.com:s=heymail]; R_SPF_ALLOW(-0.20)[+ip4:204.62.114.0/23]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[hey.com:+]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:25657, ipnet:204.62.115.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4XQNcR1WY0z4fjn X-Spamd-Bar: ----- ----==_mimepart_6709b950f3c6c_5d4c018214647 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok I re-cloned the repository and then made sure every single file is up to date. Now I'm getting this. Why is everything getting corrupted after multiple times of pulling and confirming that the repo is up to date? =3D=3D=3D> lib/libpfctl (all) --- libpfctl.o --- cc=C2=A0 -O2 -pipe -fno-common -fpic =C2=A0 -g -gz=3Dzlib -MD=C2=A0 -MF.d= epend.libpfctl.o -MTlibpfctl.o -std=3Dgnu99 -Wno-format-zero-length -fstack-protector- strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused- parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused- parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style- definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const- variable -Wno-error=3Dunused-but-set-parameter=C2=A0 -Qunused-arguments=C2= =A0 =C2=A0 =C2=A0-c /usr/src/lib/libpfctl/libpfctl.c -o libpfctl.o /usr/src/lib/libpfctl/libpfctl.c:2922:12: error: use of undeclared identifier 'PF_RS_NR'; did you mean 'PF_RT_NR'? =C2=A02922 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NR, .off = =3D _OUT(nr), .cb =3D snl_attr_get_uint32 }, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0^~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0PF_RT_NR /usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR' declared here =C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u32 */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2923:12: error: use of undeclared identifier 'PF_RS_NAME' =C2=A02923 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NAME, .of= f =3D _OUT(name), .arg =3D (void *)PF_ANCHOR_NAME_SIZE, .cb =3D snl_attr_copy_string }, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2926:1: error: invalid application of 'sizeof' to an incomplete type 'const struct snl_attr_parser[]' =C2=A02926 | SNL_DECLARE_PARSER(ruleset_parser, struct genlmsghdr, fp_ruleset, ap_ruleset); =C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ /usr/include/netlink/netlink_snl.h:175:2: note: expanded from macro 'SNL_DECLARE_PARSER' =C2=A0 175 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SNL_DECLARE_PARSER_EXT(_nam= e, sizeof(_t), 0, _fp, _np, NULL) =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netlink/netlink_snl.h:170:13: note: expanded from macro 'SNL_DECLARE_PARSER_EXT' =C2=A0 170 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.np_size =3D NL_ARRAY_LEN(_= np),=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~~~ /usr/include/netlink/netlink_snl.h:71:33: note: expanded from macro 'NL_ARRAY_LEN' =C2=A0 =C2=A071 | #define NL_ARRAY_LEN(_a)=C2=A0 =C2=A0 =C2=A0 =C2=A0 (si= zeof(_a) / sizeof((_a)[0])) =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 ^~~~ /usr/src/lib/libpfctl/libpfctl.c:2944:52: error: use of undeclared identifier 'PFNL_CMD_GET_RULESETS'; did you mean 'PFNL_CMD_GETRULES'? =C2=A02944 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create_genl_msg= _request(&nw, family_id, PFNL_CMD_GET_RULESETS); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES /usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here =C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D = 6, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2946:31: error: use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF_CS_NAT'? =C2=A02946 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw= , PF_RS_PATH, path); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 ^~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 PF_CS_NAT /usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here =C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2980:52: error: use of undeclared identifier 'PFNL_CMD_GET_RULESET'; did you mean 'PFNL_CMD_GETRULES'? =C2=A02980 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create_genl_msg= _request(&nw, family_id, PFNL_CMD_GET_RULESET); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^~~~~~~~~~~~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES /usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here =C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D = 6, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2982:31: error: use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF_CS_NAT'? =C2=A02982 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw= , PF_RS_PATH, path); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 ^~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 PF_CS_NAT /usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here =C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2983:28: error: use of undeclared identifier 'PF_RS_NR'; did you mean 'PF_RT_NR'? =C2=A02983 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_u32(&nw, P= F_RS_NR, nr); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= PF_RT_NR /usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR' declared here =C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u32 */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ 8 errors generated. *** [libpfctl.o] Error code 1 make[5]: stopped making "all" in /usr/src/lib/libpfctl make[5]: 1 error make[5]: stopped making "all" in /usr/src/lib/libpfctl make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/googletest --- make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/libomp --- make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/clang --- make[5]: stopped making "all" in /usr/src/lib/clang make[4]: stopped making "all" in /usr/src/lib make[3]: stopped making "_generic_libs" in /usr/src make[2]: stopped making "libraries" in /usr/src =C2=A0 =C2=A0 =C2=A0 375.76 real=C2=A0 =C2=A0 =C2=A0 1368.14 user=C2=A0 =C2= =A0 =C2=A0 =C2=A0121.33 sys make[1]: stopped making "buildworld" in /usr/src make: stopped making "buildworld" in /usr/src On October 10, 2024, Nathan Nasby wrote: > So will doing git reset =E2=80=94hard solve it? > > - Nathan > > On October 10, 2024, Konstantin Belousov > wrote:On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan Nasby wrote: > > > Hello, > > >=C2=A0 > > > When I try to compile world with the latest source, I get error of > > > undeclared identifiers > > >=C2=A0 > > > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > > =C2=A0 > > > 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80= =9D); > > > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > >=C2=A0 > > > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0) > > >=C2=A0 > > > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99 > > >=C2=A0 > > > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0) > > > > You have the corrupted checkout. sys/sys/user.h is out of date. > ----==_mimepart_6709b950f3c6c_5d4c018214647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok I re-cloned the repository and then made sure every single file= is up to date. Now I'm getting this.

Why is everything gettin= g corrupted after multiple times of pulling and confirming that the repo = is up to date?

=3D=3D=3D> lib/libpfctl (all)
--- libpfctl.o = ---
cc=C2=A0 -O2 -pipe -fno-common -fpic =C2=A0 -g -gz=3Dzlib -MD=C2=A0= -MF.depend.libpfctl.o -MTlibpfctl.o -std=3Dgnu99 -Wno-format-zero-length= -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpoint= er-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wun= used-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-styl= e-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declaration= s -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-= variable -Wno-error=3Dunused-but-set-parameter=C2=A0 -Qunused-arguments=C2= =A0 =C2=A0 =C2=A0-c /usr/src/lib/libpfctl/libpfctl.c -o libpfctl.o
/us= r/src/lib/libpfctl/libpfctl.c:2922:12: error: use of undeclared identifie= r 'PF_RS_NR'; did you mean 'PF_RT_NR'?
=C2=A02922 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NR, .off =3D _OUT(nr), .= cb =3D snl_attr_get_uint32 },
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~
=C2=A0 =C2=A0= =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0PF_RT_NR
/usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR= ' declared here
=C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_R= T_NR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u3= 2 */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr= /src/lib/libpfctl/libpfctl.c:2923:12: error: use of undeclared identifier= 'PF_RS_NAME'
=C2=A02923 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ = .type =3D PF_RS_NAME, .off =3D _OUT(name), .arg =3D (void *)PF_ANCHOR_NAM= E_SIZE, .cb =3D snl_attr_copy_string },
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/= lib/libpfctl/libpfctl.c:2926:1: error: invalid application of 'sizeof= ' to an incomplete type 'const struct snl_attr_parser[]'
=C2= =A02926 | SNL_DECLARE_PARSER(ruleset_parser, struct genlmsghdr, fp_rulese= t, ap_ruleset);
=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netlink/ne= tlink_snl.h:175:2: note: expanded from macro 'SNL_DECLARE_PARSER'=
=C2=A0 175 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SNL_DECLARE_PARSER_EXT(= _name, sizeof(_t), 0, _fp, _np, NULL)
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~
/usr/include/netlink/netlink_snl.h:170:13: note: expanded = from macro 'SNL_DECLARE_PARSER_EXT'
=C2=A0 170 |=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0.np_size =3D NL_ARRAY_LEN(_np),=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~~~
/u= sr/include/netlink/netlink_snl.h:71:33: note: expanded from macro 'NL= _ARRAY_LEN'
=C2=A0 =C2=A071 | #define NL_ARRAY_LEN(_a)=C2=A0 =C2=A0= =C2=A0 =C2=A0 (sizeof(_a) / sizeof((_a)[0]))
=C2=A0 =C2=A0 =C2=A0 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~
/= usr/src/lib/libpfctl/libpfctl.c:2944:52: error: use of undeclared identif= ier 'PFNL_CMD_GET_RULESETS'; did you mean 'PFNL_CMD_GETRULES&= #39;?
=C2=A02944 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create= _genl_msg_request(&nw, family_id, PFNL_CMD_GET_RULESETS);
=C2=A0 =C2= =A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^~~~~~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES
/usr/include/netp= fil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here
=C2= =A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D 6,<= br>=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/= lib/libpfctl/libpfctl.c:2946:31: error: use of undeclared identifier '= ;PF_RS_PATH'; did you mean 'PF_CS_NAT'?
=C2=A02946 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw, PF_RS_PATH, = path);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PF_CS_NAT
/usr/include/netpfil/= pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here
=C2=A0 295 |= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/lib/libpfctl/libpfctl.c:2980:52= : error: use of undeclared identifier 'PFNL_CMD_GET_RULESET'; did= you mean 'PFNL_CMD_GETRULES'?
=C2=A02980 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0hdr =3D snl_create_genl_msg_request(&nw, family_id, PFN= L_CMD_GET_RULESET);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 = =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFN= L_CMD_GETRULES
/usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_C= MD_GETRULES' declared here
=C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES =3D 6,
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0^
/usr/src/lib/libpfctl/libpfctl.c:2982:31: error= : use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF= _CS_NAT'?
=C2=A02982 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_ms= g_attr_string(&nw, PF_RS_PATH, path);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~
=C2=A0= =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= PF_CS_NAT
/usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT= ' declared here
=C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_C= S_NAT=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bo= ol */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/us= r/src/lib/libpfctl/libpfctl.c:2983:28: error: use of undeclared identifie= r 'PF_RS_NR'; did you mean 'PF_RT_NR'?
=C2=A02983 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_u32(&nw, PF_RS_NR, nr= );
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0^~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0PF_RT_NR
/usr/include/netpfil/pf/pf_nl.h:210:2: note:= 'PF_RT_NR' declared here
=C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D 23, /* u32 */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0^
8 errors generated.
*** [libpfctl.o] Error code 1

make[= 5]: stopped making "all" in /usr/src/lib/libpfctl
make[5]: 1= error

make[5]: stopped making "all" in /usr/src/lib/lib= pfctl

make[4]: stopped making "all" in /usr/src/lib
-= -- all_subdir_lib/googletest ---

make[4]: stopped making "all= " in /usr/src/lib
--- all_subdir_lib/libomp ---

make[4]: s= topped making "all" in /usr/src/lib
--- all_subdir_lib/clang= ---

make[5]: stopped making "all" in /usr/src/lib/clang=

make[4]: stopped making "all" in /usr/src/lib

ma= ke[3]: stopped making "_generic_libs" in /usr/src

make[2= ]: stopped making "libraries" in /usr/src
=C2=A0 =C2=A0 =C2=A0= 375.76 real=C2=A0 =C2=A0 =C2=A0 1368.14 user=C2=A0 =C2=A0 =C2=A0 =C2=A01= 21.33 sys

make[1]: stopped making "buildworld" in /usr/s= rc

make: stopped making "buildworld" in /usr/src

=
On October 10, 2024, Nathan Nasby <nathan.nasby@hey.com>= wrote:
So will doing git reset =E2=80=94hard solve it?<= br>
- Nathan

On October 10, 2024, Konstantin Belousov <kosti= kbel@gmail.com> wrote:On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan= Nasby wrote:
> Hello,
>=C2=A0
> When I try to = compile world with the latest source, I get error of
> undeclared i= dentifiers
>=C2=A0
> /usr/src/usr.bin/procstat/procstat_vm.c:= 118:7: error: use of undeclared
> identifier =E2=80=98KVME_FLAG_SYS= VSHM=E2=80=99
> =C2=A0
> 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80= =9Ctrue : =E2=80=9Cfalse=E2=80=9D);
> /usr/src/usr.bin/procstat/pro= cstat_vm.c:169:25: error: use of undeclared
> identifier =E2=80=98K= VME_FLAG_SYSVSHM=E2=80=99
>=C2=A0
> 169 | if ((kve->kve_fl= ags & KVME_FLAG_SYSVSHM) !=3D 0)
>=C2=A0
> /usr/src/usr.b= in/procstat/procstat_vm.c:173:25: error: use of undeclared
> identi= fier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99
>=C2=A0
> 173 | if = ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)

You have the= corrupted checkout. sys/sys/user.h is out of date.
----==_mimepart_6709b950f3c6c_5d4c018214647--