From nobody Wed Mar 23 03:12:21 2022 X-Original-To: freebsd-arm@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 B950B1A24371 for ; Wed, 23 Mar 2022 03:12:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNYLn0gKZz4s8Q for ; Wed, 23 Mar 2022 03:12:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648005146; bh=FJfWLx4izICyVPMo2Z+p7O2haNW5cKOFxijhObYb6QI=; h=From:Subject:Date:In-Reply-To:Cc:References:From:Subject:Reply-To; b=SX3AveEi24l3vO4GDlqfs0+nBpcOzzlweRRSXLbJKYaqGeynSjVR/FeEWGkqReHsHVYACNfP+GC6JSS18IfUJFg9QU/DtoXKK+e6+8so1caFsM6EzGkwtyRqyVSb5IEc/IjPg0B+yFHtspfctVJG0PIElYhRXFey4WnYrvyVAlgUclDxKG6tBG4v396sooxgJYNGFs0cLFy5prn/eFbqZOWcmFkXHAJVZJezfvHfxA8otUlsXPqozaVofxTn0j2YTkbvV1WgF+iaSomlb6t8jV/38dKAOVJrdFsJlrIc4P6dkAuH5x7vIjHtZGPVqL8iQcXlxGkiJkETwB1FRf0Flg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648005146; bh=zrXgVyqpzn36PRca4+/5DVgx/Bf7j8lRr25g+liH81S=; h=X-Sonic-MF:From:Subject:Date:From:Subject; b=fnR3iivRu/7qD3liLlBmrvFM3S85iF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z8R5clb53uLSIHebl4vWv377h2b5Hf_v5NFkPLPfWMvU6DiEmUHY8vYMvCbL 3OVioKvO2iO1DyCSZI6BfPcmPQLuot2I2k0OYSDuOImI3gRiNMyYgDNyE7KWGmuhAacVnhX_TQPW bjPTEnlZzOD29_VxEvDB_HyLcMWh315VkRCwi5mRpEALIm54PP0TbtHF2WerkwBQpYHW65Ej7SS7 9M6BCEJA_SEGPVxyY6gBjsdtmW9hbZUIRTUEn6KWTYsBknNONsFJTZtVyQKBzFNVWf8U.7BW_bzP TpT_DkiqSekAirnahl4ZWnZuc0LPjDin2Q4I68U4JQ2ezjBwfNYak3QEit7W0vuTeJy1m2PYuvVh 9W4vmnEceugTKXVpICfiDqusvT0yC1m.0aBqTTIdEK3MMz39M7Ik0mT0aRhjPU.2jJi96SDjWfbr 3QtMU.P6wr.V2pQCwv5GEDU0I4bqnn3zjTEMH2kCcm4eqToW.IjxY8UIBI.wEcmWtbfw1DlnkbWl RugvO4KfjqDsa0_q._VvMhnUc X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Wed, 23 Mar 2022 03:12:26 +0000 Received: by kubenode510.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bb12fef0c1bd0cfab01079379866fecd; Wed, 23 Mar 2022 03:12:22 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: /usr/src/sys/net/if_epair.c:181:6: error: ... Date: Tue, 22 Mar 2022 20:12:21 -0700 In-Reply-To: Cc: bob prohaska , "mav@freebsd.org" , freebsd-arm@freebsd.org References: <20220323012657.GA82109@www.zefox.net> Message-Id: <956CA18B-CB65-412D-86D3-60400FD30767@yahoo.com> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KNYLn0gKZz4s8Q X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=SX3AveEi; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [0.47 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MISSING_TO(2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.97)[0.969]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.32:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.32:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N IGNORE THIS: I somehow switched contexts. Wrong commit referenced! > On 2022-Mar-22, at 20:06, Mark Millard wrote: >=20 > On 2022-Mar-22, at 18:26, bob prohaska wrote: >=20 >> A Pi2 running=20 >> FreeBSD www.zefox.net 12.3-STABLE FreeBSD 12.3-STABLE r371495 GENERIC = arm >>=20 >> stops buildkernel with: >> --- if_epair.o --- >> /usr/src/sys/net/if_epair.c:181:6: error: implicit declaration of = function 'atomic_testandclear_long' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] >> if (atomic_testandclear_long(&q->state, BIT_MBUF_QUEUED)) >> ^ >>=20 >> Not sure if this is specific to the Raspberry Pi 2, it didn't show up = on a pair of Pi3's >> and a single Pi4. The system is still using svnlite, info reports >> root@www:/usr/src # svnlite info >> Path: . >> Working Copy Root Path: /usr/src >> URL: svn://svn.freebsd.org/base/stable/12 >> Relative URL: ^/stable/12 >> Repository Root: svn://svn.freebsd.org/base >> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f >> Revision: 371771 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: 0mp >> Last Changed Rev: 371771 >> Last Changed Date: 2022-03-22 15:28:40 -0700 (Tue, 22 Mar 2022) >>=20 >>=20 >> Didn't see anything similar on bugs.freebsd.org, if it's worth a bug = report or >> there's a workaround please post. It was built using WITH_META_MODE = if that=20 >> matters.=20 >=20 >=20 > author Alexander Motin 2022-03-16 = 04:09:09 +0000 > committer Alexander Motin 2022-03-23 = 01:31:17 +0000 > commit 5f81a4619dcf8026ab0ba12ea0bd1e6e36ae8c6c (patch) > . . . >=20 > Remove "/dev/" from geom name in `gpart add` command.stable/12 >=20 > broke things by adding the atomic_testandclear_long usage without > defining it as well. >=20 > It goes like this: >=20 > path: root/sys/arm/include/atomic.h > Commit message (Expand) Author Age Files Lines > * MFC r341787 by hselasky: Implement atomic_swap_xxx() for all = platforms. Andriy Gapon 2019-10-24 1 -0/+7 > * Remove arm-specific implementations of atomic_load/store_xxx() = now that Ian Lepore 2017-12-20 1 -27/+0 > . . . >=20 > So not updated in a long time. But for armv7 and the like, it = includes: >=20 > path: root/sys/arm/include/atomic-v6.h > Commit message (Expand) Author Age Files Lines > * MFC r352938: Ian Lepore 2019-12-07 1 = -100/+256 > * MFC r341679: Michal Meloun 2018-12-14 1 -1/+1 > . . . >=20 > Also not updated in a long time. >=20 > sys/arm/include/atomic-v6.h has various "atomic_testand" > examples ( sys/arm/include/atomic.h does not ): >=20 > atomic_testandset_32 > atomic_testandset_int > atomic_testandset_long > atomic_testandset_64 >=20 > But no examples of "atomic_testandclear" >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com