From owner-freebsd-arm@freebsd.org Sat Sep 14 18:49:39 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56E65FC18D for ; Sat, 14 Sep 2019 18:49:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-2.consmr.mail.bf2.yahoo.com (sonic305-2.consmr.mail.bf2.yahoo.com [74.6.133.41]) (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 46W1l61yRCz4JRn for ; Sat, 14 Sep 2019 18:49:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5BsV46gVM1mzhZrBvKAkAQtJBUEFf7moNfs4uQSplvOEX2qjHmekKGLqJoEhh7X _CGj0.rznU4KFChxrVfulN_EszgqH7auJfdxZ483udQUu8Efma9VRV0PWInDaXz_tGVFAKjG.LmA eXZG3mhABgopWocV8t_iDOc_S46a2.o0v2vsVJvD1UUh69qKSHj_Rke07VRqPth5BQpjGRUjSHO2 6se1AfFWyn9Js1LGtO1YMELiDzRL96GNV8ii3SQt7U.ZFIGIJZgz_7Y2ow8pqWjhkfEayps.0k3. 5P8.3CLQ3D44L6tmh1aTq.5R_Pshpam.oXCktQ9PVA1KAx5sAymuxFVlubivhn_HCcGHozP6IWI. oumuHX6sxp7bAHfGTNnzDYXlzBGM2IJAZ3DiUPPP8_82lW7j.CCD8mV8cFTp0TR2fbslKZKOeA.J 1BtRNuXQims1pvVRaLnw2DzH4M9oRFHltZ5sG7v0UgbKFckVO58S7AigJd1bs50HK4VbnFMvrBgq IcGug_aQtH6V8joiRi9nmVGHcy2LPDsRCgCKzVQLlGgrcW0h8otmyO11Un6RHfWBMvpKCBsiECes L2AkLlRWeROQSU5sim6Y3pluDbxVJhZFDssf83lPcH5olwNqcyxsvTcFMbLfnQ6O362jJEyS.zI. uS.B3z3VQeQaXdQWsoWuB9Mi1GJDPZ1NkNAWwbMFXbl.Nz3XXTeA7Mw6qBfJztIcfkYDUfnsaj2X O.S5Mlrt8g4W_ZxTNVv5LT.RLzAGUEh.3gXjvWiqfTvAvyyyrh1k2str69j7AVV9wJtYPyQ.bcZd 50d2Li1zC1cxvTKoEIb6u25tcLt3L6rWEkyb7UtFI6O0MHhLc_DsdnNGgJlUEGvmhDojdtbUA.ot _noXTjk6mHgPpoSPcg.2ujj3CkogApCXKdFpNbtjl0WvSFs.bJ8PCqlxf_39Civ1b0RwDnr990L1 21OBT5mL3_rxP06rt832hSu.jHek4ifhAI3ih2QF4eFXlOuRCAGPRWg60Cw0okxpUWSNwgR8mwDu Q.qdfTcJJBI4WCSsunX.lNYmIYIcd9nVeH0esMlXwfA1Q05WHXtokTkNNbSqNpX_gkFeZJ_S9reI .APNnmiF753XTdcU2IuFOVJx_JrJkpRvpaJb5YmfGuByE1bcOKzniQEyV2JZvKCL84nLfys8yHjD uKZ0DHzqyLv3tpkX8ntVH6H.WNDn7aA7Op83JjYgGRD4Nxc9_ZeSGApOZscYGsUNH6.GeVw2QFzz gpeUFtnRy8emVisrsTbV9bs1KtpZxTaZ5sR4SIPXnpQcZpm74T07tj42QLIXVo4rc Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Sat, 14 Sep 2019 18:49:35 +0000 Received: by smtp410.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4844f306538fab6cdf33a9de820ec6e0; Sat, 14 Sep 2019 18:49:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: head -r352274 buildkernel targetting armv7 failure: am335x/am335x_dmtpps.c:304:3: error: implicit declaration of function 'spinlock_enter' is invalid in C99 [-Werror,-Wimplicit-function-declaration] From: Mark Millard In-Reply-To: Date: Sat, 14 Sep 2019 11:49:31 -0700 Cc: FreeBSD Current , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <2F803AD5-900F-44F3-99E9-89082D604CA8@yahoo.com> References: <0E884723-2826-4EDF-A16F-841E01E9D4EC@yahoo.com> To: Ian Lepore X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46W1l61yRCz4JRn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.864,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.95)[-0.947,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[41.133.6.74.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (3.76), ipnet: 74.6.128.0/21(1.45), asn: 26101(1.16), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 18:49:39 -0000 On 2019-Sep-14, at 11:21, Ian Lepore wrote: > On Sat, 2019-09-14 at 11:05 -0700, Mark Millard via freebsd-arm wrote: >> After updating my amd64 context to head -r352274, >> attempting an amd64->armv7 cross buildworld buildkernel >> ended up failing with: >> >> >> --- am335x_dmtpps.o --- >> /usr/src/sys/arm/ti/am335x/am335x_dmtpps.c:304:3: error: implicit >> declaration of function 'spinlock_enter' is invalid in C99 [-Werror,- >> Wimplicit-function-declaration] >> mtx_lock_spin(&sc->pps_mtx); >> ^ >> (...shortened...) >> . . . >> >> (spinlock_enter was not the only example.) >> >> > > My bad, I forgot to include when I switched the code to > spinlocks. Should be fixed by r352333. Thanks. It is interesting that: https://ci.freebsd.org/job/FreeBSD-head-armv7-build/6042/ shows a successful build of -r352274 (the last before -r352275 broke both arm and aarch64). Prior builds also were successful. I'm manually applied your update to -r352274 and am rebuilding from scratch. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)