From owner-freebsd-current@freebsd.org Wed Jul 11 16:21:23 2018 Return-Path: Delivered-To: freebsd-current@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 BD0FF1022B1C for ; Wed, 11 Jul 2018 16:21:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-11.consmr.mail.bf2.yahoo.com (sonic304-11.consmr.mail.bf2.yahoo.com [74.6.128.34]) (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 E9A3B79CB8 for ; Wed, 11 Jul 2018 16:21:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: FzJZtDsVM1laMAzoMkgUJmeFZ6LTReUB_EPmfqM5J.d7wN.T8PO50DKdWjWW6PQ HFPmtlGGF1bNTlDeUJ4WVe.TdNEntkXpgNfsynFUUTDqrb7hWpo7G5ZxvoIANsUkRyEn.NiiTgTc m2QXfNoV1BTsx13xD3FHqpQK7Vi5xanxmZVI.EoAZItS4CaOONvLqMnJHx1R7.999_KCkyVycRCq akZRbs007.fWVKxTjX3D_qnVLTCondgKxZDLGlDUG3znUW3R8pu0.lQQX2noT0uBGhYWmxJ24Qpd wLAcOmKAUCqNyRBo2e5QWD_n2QG7I_SV8yR02nZhwSzOmvFVwIix5rN1gORnAt3byWW.ehYhcZAq G947MTWvQyghblVL6NSzlrHgoe1TpF2G2n48eMHNNYcNnWK6oSVkY7rpHRhZBbkSamLeGuXiVb9P vMswX0F5AIfjh2N4Dp11Hj9GgNyZMIiDIJBksZwNzoo.BPLrPYmQlmhkIihV1BT9Hkm16q4qBmJo rL0vh9AJ8MCZtiahifO93T3pIed5UWXULBC8AAvvx2xETOsnbJDKbA2n.LqXzQgq8uysCsBYoUCd 6xYmug83ceU9c6t51a18.QV2PF7M5N6DhLWqo.JZFPfpUnyC2mysZZ1k6_E2FRWVoi6Tvv0nZ1C7 jVENf0dhK8qBljpT_xbjtdS5ursbSqiPJAuqw1_kC.aQ3dk0lUi5bU0DsFo4_p9vII9t_hMQkVa8 oAoRJlMoAzWuROzVupO501Wq0N5pMHLwoXuJRGh.bQynTbU8l4eIN7LuB0Fzp9Tv_XTZ_yo86dMs ki9qZSgXy_MI1jLew7iT1nNgIrAX.r_fxRdaKd_rkMPDNJr5MCWN.rNzLXBVVbvuyz39e3hhVlj9 sbUXCd0wiTbrc2wrIlzRgkDrwH5kHFCnOJp8.jNny_T34IuDdvn_IuNCKnzk5i2B_ocdkivTCnqm LwTaFF1UZOVpft2B1eSckkwFaMAvb.h0LTzGCJb2r31lakuXIAnrKUtQ17wSDqQEZhA5CShs- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Wed, 11 Jul 2018 16:21:22 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp411.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ccafd419de053a23f276ec87f9262c21; Wed, 11 Jul 2018 16:21:19 +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 11.5 \(3445.9.1\)) Subject: Re: aarch64-arm64 fails to build kernel 12-current raspberry pi 3 Message-Id: Date: Wed, 11 Jul 2018 09:21:17 -0700 To: FreeBSD Current , freebsd-arm , FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Wed, 11 Jul 2018 16:21:24 -0000 tech-lists tech-lists at zyxst.net wrote on Wed Jul 11 11:42:58 UTC 2018 : > Hello lists [x-posted to -current where it's also relevant] >=20 > 12-current-arm64 fails to build generic-nodebug kernel >=20 > context: > 12.0-CURRENT #0 r336134: Mon Jul 9 GENERIC arm64 (this is the older = rpi3B+) >=20 >=20 > root at rpi3 > :/usr/src# svnlite info > Path: . > Working Copy Root Path: /ext/src > URL:=20 > https://svn.freebsd.org/base/head >=20 > Relative URL: ^/head > Repository Root:=20 > https://svn.freebsd.org/base >=20 > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 336195 > Node Kind: directory > Schedule: normal > Last Changed Author: eugen > Last Changed Rev: 336195 > Last Changed Date: 2018-07-11 10:41:50 +0100 (Wed, 11 Jul 2018) >=20 > Some dirs on /usr are symlinked to a 1TB external disk. Swap is on the=20= > external disk. Made sure there was no src.conf or make.conf present: >=20 >=20 > root at rpi3 > :/root# cd /etc >=20 > root at rpi3 > :/etc# mv src.conf old.src.conf >=20 > root at rpi3 > :/etc# mv make.conf old.make.conf >=20 > root at rpi3 > :/etc# cd /usr/src >=20 >=20 > root at rpi3 > :/usr/src# rm -rf /ext/obj >=20 > root at rpi3 > :/usr/src# mkdir /ext/obj >=20 > root at rpi3 > :/usr/src# ls -lah /usr > total 72 > drwxr-xr-x 12 root wheel 512B Jul 10 11:15 . > drwxr-xr-x 20 root wheel 512B Jul 10 18:45 .. > drwxr-xr-x 2 root wheel 7.5K Jul 9 20:45 bin > drwxr-xr-x 2 root wheel 512B Jul 10 11:15 home > drwxr-xr-x 56 root wheel 6.5K Jul 9 20:44 include > drwxr-xr-x 10 root wheel 16K Jul 9 20:45 lib > drwxr-xr-x 5 root wheel 512B Jul 9 20:28 lib32 > drwxr-xr-x 5 root wheel 512B Jul 9 20:28 libdata > drwxr-xr-x 9 root wheel 1.5K Jul 9 20:45 libexec > lrwxr-xr-x 1 root wheel 10B Jul 10 11:43 local -> /ext/local > lrwxr-xr-x 1 root wheel 8B Jul 10 11:41 obj -> /ext/obj > lrwxr-xr-x 1 root wheel 10B Jul 10 11:41 ports -> /ext/ports > drwxr-xr-x 2 root wheel 5.0K Jul 9 20:45 sbin > drwxr-xr-x 29 root wheel 512B Jul 9 20:28 share > lrwxr-xr-x 1 root wheel 8B Jul 10 11:41 src -> /ext/src > drwxr-xr-x 15 root wheel 512B Jul 9 20:46 tests >=20 >=20 > root at rpi3 > :/usr/src# make -j10 cleanworld && make -j10 cleandir && make=20 > -j10 clean <--- just to make absolutely sure >=20 > [...] >=20 > RPI3 is just a copy of GENERIC-NODEBUG. it looks like this: >=20 > include GENERIC >=20 > ident RPI3 >=20 > nooptions INVARIANTS > nooptions INVARIANT_SUPPORT > nooptions WITNESS > nooptions WITNESS_SKIPSPIN > nooptions DEADLKRES > nooptions USB_DEBUG >=20 >=20 > root at rpi3 > :/usr/src# make -j1 buildkernel KERNCONF=3DRPI3 >=20 > [...] [Like a answered in freebsd-arm . . .] Bugzilla 220125 (from over a year ago) is a non-fixed report about this = for the likes of: make kernel-toolchain buildkernel Over the time since then the workaround was to use: make buildworld buildkernel buildworld put the needed stdint.h in place, kernel-toolchain did not. If kernel-toolchain was in use, then the recent bugzilla 229702 and this exchange is a duplicate. If buildworld was in use then 229702 and this exchange is new. [Added note . . .] 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.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)