From owner-freebsd-current@freebsd.org Sat Sep 14 18:05:13 2019 Return-Path: Delivered-To: freebsd-current@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 CDB8BFAECA for ; Sat, 14 Sep 2019 18:05:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-9.consmr.mail.ne1.yahoo.com (sonic307-9.consmr.mail.ne1.yahoo.com [66.163.190.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 46W0lr3q1Bz4G8H for ; Sat, 14 Sep 2019 18:05:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: U7vAjOkVM1nitrfSD_zwoorP53o4qBG7qg2dCG3c0SY5xRf_GW66FMnL0QgKPJ2 pP4OPj2QlpnuZrFfE_2aETCw22J_ekkSfgqF8dY6Y2SY_DZD1eq708adQERxawvMdATryDYL6aUQ ZDM8K21WCYzffPjdqRUdwEd9OvYo0f5gT0pWEIiF7T7wBzvTUYfzJpSnGWyYvYypa3QGwNe_ax3j P3cZnhpFc3k2p3.ip0xAbXqksMw6sBdsxWYDw5Cp4QMBUj.iNYFtdQbiF4cxumhzsx7YvYSce3N8 s.Bw4pWBdTtduIAqBhFYD9YyWSwjI9ctXLT0WlmtcmXN8KP_UTUl1wwsWT9iuX.0vpi_8CU7ceK8 78haZdNOfQFyVx83Rod7YVShCYHfZ0SU5eOVIaUbviOVDABNHnBAajXmKZhim70N3moW4ASMp998 RTcy6nad2dtG1fK4V2dTEkBqXIGIvMEw.C5B6f2Zfql1eLAb5OPqKImtQ5yP6.sXliJShf232tBy dI2mqgwEatnHtqQfy3nNdlBpMNstdsZNPEddXx7Jw3jXoi0eEXK1aD3H7lvvq00udlPyNEN15Zdg 4hadZu7qog5haqFNeiG7RrL7sqk_dlcsSvoi5MXbSZVNbbkQwm33d0Yv5eGi6Hd3bRdC5XVw.aja ZokYlc2EtoNBR8WaEdW0Oan6tH4nu1jb0Lr7ixkEw8fKugZjaD9RmyfEemZfFi8Yf0j8Ni5rtYoI 9KeKpcWlV2xcq3hAeEqM5gbut9nkVsbupNlR8lJLofEQmpCLw6jCz5UkoSSQuCvao5730b.RYtGx 9MBcliC.qTe8TKwL8OI4UAUi5SqwyrdodnECPE6xgW8LdZIazfj.4zYvJfboCKhhDHGPAergKo5Y tkmhhb90IkEuNFWsOJtko1cxEl1x9t_On5vFfucOjWhjjzhTDiSdYZPlxpvm8xCVVAsUww68yGMm WFmyyqBJVafmubYz.Ir_HtCCCUeJXTQk5ConK9TCp1DFgVN2kFltCUo1lZDq53l.fZFmX44R5.PT L_TAbrrrvFGwuQ69nl_4dfPngGTDZ69RLH_JS2tGTyDx7_NMaKagPh1AMhetkUC.EQyWrZ_8bi1i l._yVjVRRdLbxYqsVPP99RNOKth4eSk2PbJGtw4Nvxx0m_Ilan0ZPbBNs7Ig2mTfAk0IqrBDfIh7 HiJq.4NNiJXKrN_hQBF59oMvSG8A_suDdsY5uh9E.IXyV8y5lwrluNWLqIWrdgsBH15vhU..Iwms Wq4mR_nCRw397AvTNppkZPVDbO9Cmr6DGPcRIenN4NUu5B07I8L8PWaaV0g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 Sep 2019 18:05:10 +0000 Received: by smtp420.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 13b11ce7938a56cd8c0fc711236cd56c; Sat, 14 Sep 2019 18:05:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: 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] Message-Id: <0E884723-2826-4EDF-A16F-841E01E9D4EC@yahoo.com> Date: Sat, 14 Sep 2019 11:05:08 -0700 To: FreeBSD Current , freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46W0lr3q1Bz4G8H X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.879,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; 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.91)[-0.914,0]; IP_SCORE_FREEMAIL(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[32.190.163.66.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (4.06), ipnet: 66.163.184.0/21(1.30), asn: 36646(1.04), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 18:05:13 -0000 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); ^ /usr/src/sys/sys/mutex.h:383:26: note: expanded from macro = 'mtx_lock_spin' #define mtx_lock_spin(m) mtx_lock_spin_flags((m), 0) ^ /usr/src/sys/sys/mutex.h:452:2: note: expanded from macro = 'mtx_lock_spin_flags' mtx_lock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE) ^ /usr/src/sys/sys/mutex.h:429:2: note: expanded from macro = 'mtx_lock_spin_flags_' __mtx_lock_spin((m), curthread, (opts), (file), (line)) ^ /usr/src/sys/sys/mutex.h:258:2: note: expanded from macro = '__mtx_lock_spin' spinlock_enter(); = \ ^ /usr/src/sys/arm/ti/am335x/am335x_dmtpps.c:304:3: error: this function = declaration is not a prototype [-Werror,-Wstrict-prototypes] /usr/src/sys/sys/mutex.h:383:26: note: expanded from macro = 'mtx_lock_spin' #define mtx_lock_spin(m) mtx_lock_spin_flags((m), 0) ^ /usr/src/sys/sys/mutex.h:452:2: note: expanded from macro = 'mtx_lock_spin_flags' mtx_lock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE) ^ /usr/src/sys/sys/mutex.h:429:2: note: expanded from macro = 'mtx_lock_spin_flags_' __mtx_lock_spin((m), curthread, (opts), (file), (line)) ^ /usr/src/sys/sys/mutex.h:258:2: note: expanded from macro = '__mtx_lock_spin' spinlock_enter(); = \ ^ . . . (spinlock_enter was not the only example.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)