From nobody Wed Mar 23 03:06:46 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 85B9E1A22B16 for ; Wed, 23 Mar 2022 03:07:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4KNYDM3kVBz4qr7 for ; Wed, 23 Mar 2022 03:06:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648004811; bh=ktnJFpq0TWrSi7anNw4s8kuINWtgAg5hW10n7Kzh6GA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=oSBsR/WbQeVaR/uK+Sm14GmXqR5Dp5Ua5YEQ/ZvKv9QeTAM4Mrn8xEbyhyBkpB21AOjAy/kjcvRyY1ZTaZoePN7uuKROJgF6nTGygtElOJPKLqwpmzmOdBPEA+8QFd6C4bAVR6jqmDNfb3Q+HhBx0F6mDEa8lFSqjSqgKjmMJm+o0pIYWa4XcYB5bGmprsk/gFdt5Whimq+v572c5dHyJ9Gqd/L5RSByv3HpWVAe+E9yCy93Rtyx/GS1WBJHre1VElJOpZMaqxm9zoNkrrEeNgnUfmVU7I/W726WjAVrN9aODabrxFOA1eVtcyMsENaZjo35vs7gs0tifm0qzxdU1Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648004811; bh=DWrNXbsToyBKgT3ZidFKrod10Rav6HLxbt6UPw7VSsD=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=di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hmf5Wx YFU4xIGudZ4zF21F6g_lhHvwCJg9Iq.WDzs88DTDtaV_Z2D6sPNc278aQmwPJL.DzMH6gikvEsyi 8hZfw9j8KnSlFRUTWj4v31F2yIinajR6TD4dAvx0zhkjKkj4fq5CynRk29PTdJKLkYaeITwX2pSY aAsYUdyeOyGgOc1T7omW4o8ypKo7GozSePnEGwuQUsqgDBjQrzb7iX8AOx_sBWdK1NMNyKH67WE. BOPvSVky61KzCp0a_JCxPu1WAMMNfdDV7qVz_mp0_2LtCeD0hPmRI1T.7fPfsZKNTHlmpQzqDhES MfA8aXfVWi7sfg6HtBampVkmhF5hCmkMcOIiQevCMXs5gTj0F9RpzXmKVop0J.tFq01ZJQzf2_rZ dQseZbRQUd7FVhXMZmpGoDfmulG7sONqMOVjlMNIYfE8u9KDFsjjplFY9F913gJcu5sXAPPzcT5U OqfGMFaufW3IOETOiHG01O9O5iCdLdfcFtbrHRqUv7QMszsHXCL6XyKaytQVPCupMuKDZU0MLMcn xbKwZBroyIAATXMwwBIokVMyGPgbnQcL0snlKS6tHmHODPu3tf9I- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Wed, 23 Mar 2022 03:06:51 +0000 Received: by kubenode510.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 20092869fb7f53c92be3ae3813b55ffe; Wed, 23 Mar 2022 03:06:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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: ... From: Mark Millard In-Reply-To: <20220323012657.GA82109@www.zefox.net> Date: Tue, 22 Mar 2022 20:06:46 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220323012657.GA82109@www.zefox.net> To: bob prohaska , "mav@freebsd.org" X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KNYDM3kVBz4qr7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="oSBsR/Wb"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.76 / 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]; 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.74)[0.740]; 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.69.84:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Mar-22, at 18:26, bob prohaska wrote: > 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 author Alexander Motin 2022-03-16 04:09:09 = +0000 committer Alexander Motin 2022-03-23 = 01:31:17 +0000 commit 5f81a4619dcf8026ab0ba12ea0bd1e6e36ae8c6c (patch) . . . Remove "/dev/" from geom name in `gpart add` command.stable/12 broke things by adding the atomic_testandclear_long usage without defining it as well. It goes like this: 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 . . . So not updated in a long time. But for armv7 and the like, it includes: 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 . . . Also not updated in a long time. sys/arm/include/atomic-v6.h has various "atomic_testand" examples ( sys/arm/include/atomic.h does not ): atomic_testandset_32 atomic_testandset_int atomic_testandset_long atomic_testandset_64 But no examples of "atomic_testandclear" =3D=3D=3D Mark Millard marklmi at yahoo.com