From owner-freebsd-toolchain@freebsd.org Thu Jul 12 20:07:42 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1B79103F598 for ; Thu, 12 Jul 2018 20:07:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-22.consmr.mail.gq1.yahoo.com (sonic311-22.consmr.mail.gq1.yahoo.com [98.137.65.203]) (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 2D0727D22E for ; Thu, 12 Jul 2018 20:07:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: rm40ypUVM1nNNXMc5qhht29uIIVeK6g8VtwLjCllCZcpLOQ6Ml8cOrCZ3qzcYGA cBZc6qSqPawwK64Ib.46IvjG5xxX0W8Gb8XRNwRWqihFWkUHjNTW2hzBc6BQJZAe_fvYmuadxhUB IEs8kWmlM256WwqVNSqAEqzrcBE09GSzQLnqdqTJfmlWVGAqZsSu4X.ndsS8d6o315CTSsSqfjDv 8otGbWGLIRNVpns0Vi7LNOh.UP7WOEUxHJzsMv4HtTc5_3FomS0iodjiVeh1jA.vA1YJccIY6KMs Xgu56_Pqu31xqXrHMITm_lcgkHx8I9TQ89Vz1Zp8T16_3pGieAV_DavV7e_l7XWPslGNDXD1gGl0 OkYdjO3XqA8B8gSaqRpIJ9z3_6V7qem8aKSVDdlJ.ZWmJrMz88WWCbQ5Q.xrW.Npxb4LImfMPfN5 IsUuEEsliFMGN7fWs51KSfA4OxpgOOlmHHTmwnR7drg3wGbhMqjB0KEHq1MrMGpIXhLp_5oKjmSm LxoWZDoM8eSv3G4SAd4DsgI5qqBNSV5E3f9WiUT0BzPal3oRl8LuZK0y9lobAkGIISs2E7COALvS Mrd5XZg2Q8ryLP2rhOjyGIgNmjtO1Z8Vaz75nW7gY3QlPEBaGXEVvktzZtUBUWYDFnvpf5HUHcY6 WWaK9m4_f5szWm9QcDnfco.1Hc3rVLVDirzQsJsg2AspiUxJgR2Vuni0xLy.ex3idMV_2algS0oa FzqVbZO0rTke_cTwE0PgyNTbtIRATnx3UNlZwUXs1KXlilQ6epSMd3IVFn.t0AaQhIQtgBKfWby0 OTwF9ukLEwDGp7c7OZiFVFe7_Wr6Wr3anMAslWV1FPpNpfYJuYcTM6lKQzhDYjRVIECAnV8.0fpx ktLr5pX3NDXYJQVPWBS58vY.MIbIVqgsCL.cxMU0i6GyNtq_YzjV.VyL4PhJlfF_qGSa.Aj7cfIR rE8W2V4iBgLxQGT5.9zNZJspD9jk5zHz7Z67Gjv1fi7P9BnSrG6bTqrnsayEBw0hfqf5A Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Thu, 12 Jul 2018 20:07:35 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp418.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d319fa0f46a596cc767bf15d582c1f37; Thu, 12 Jul 2018 20:07:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: aarch64-arm64 fails to build kernel 12-current raspberry pi 3 From: Mark Millard In-Reply-To: <6DDED0A0-588D-4323-8E22-1267AA06615E@FreeBSD.org> Date: Thu, 12 Jul 2018 13:07:32 -0700 Cc: tech-lists , freebsd-arm , FreeBSD Current , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <3723A682-71BD-4654-9DCB-6FCBF12BEC49@yahoo.com> References: <2F72F7DB-F5DD-471A-B644-9CDE3FABFAC1@yahoo.com> <6DDED0A0-588D-4323-8E22-1267AA06615E@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 20:07:43 -0000 On 2018-Jul-12, at 11:32 AM, Dimitry Andric wrote: > On 12 Jul 2018, at 15:23, Mark Millard via freebsd-toolchain = wrote: >>=20 >> On 2018-Jul-12, at 2:44 AM, tech-lists = wrote: >>=20 >>> On 11/07/2018 17:21, Mark Millard wrote: >>>> It seems from the quoted material that neither kernel-toolchain nor >>>> build world was done before buildkernel . My understanding is that >>>> the intent is that one or the other be done first. (But for aarch64 >>>> currently only buildworld works.) >>>=20 >>> Thanks for this. I'm running a buildworld now. >>>=20 >>> For how long has it been the case that buildworld is needed for = buildkernel? Coming from amd64 and before that, i386, in situations = where I've only wanted to install a custom kernel, I was firstly used to = making and installing it from /sys/{i386,amd64}/conf. Then that broke a = number of years ago. Then got used to making kernel in /usr/src with = make buildkernel && make installkernel. And now this is broken, on = aarch64-arm64. Nobody knows if it's accidental or policy. >>=20 >> It has been true since clang added use of stdint.h to the kernel = build. >> Prior to this stdint.h was not needed to build the kernel for any >> architecture (as far as I know). >=20 > No, it's because sys/crypto/armv8/armv8_crypto_wrap.c includes > , an intrinsics header, which in turn requires . >=20 > This was introduced in = https://svnweb.freebsd.org/changeset/base/308921, > and at the time resulted in similar build failures, specifically when > one attempted to build a new kernel, without building world or a new > toolchain first. Sorry. I was distracted this morning and should have cross checked my claims instead of quickly babbling off the top of my head. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)