From nobody Fri Jun 25 00:54:36 2021 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 3EBD311CBCC7 for ; Fri, 25 Jun 2021 00:54:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.148]) (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 4G9z6l6JDPz4clx for ; Fri, 25 Jun 2021 00:54:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624582478; bh=KHwk3tLIZPNF72wTaSGs6LgL/R6ib0l7gMycxp5XRok=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=V5zuVSPxjfuwg1n6UP30jdOd/AZvq96POz8RV5IgRjfGUwP/A44INK9YfdiN3Zy5P/WtWo0tfY7yqvG1ohVRulPtapsaLco6p/gkL6eJhLZ6lVZCLzP5lvhm1hUXM+lQd7VEQ9DO8qljVSrfxmxVj2dpaXigSBTVPLsmyEm1CmJaBUQu36l85QTnogMJhr+w1SwV21emmSyTaw31XUxDrcLm2mp9rfpbCXiSAVZeQgn3hz51SZSPC4UB/bToccwwHHCMAQQtjnPDY8ifUTwNSrwhCrBUv/zI1EwVCGK1+FpamnsyiuwlR4wXCDhD6i1UjMmqyaJbBnRNOS3vcm8jag== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624582478; bh=k9j6vxqNoz/uek53lL8Sb1LQRl18G9uZ2RByAAK+deE=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=uEHs6cWhLLtc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JrjdLMSj3 JAMqeQrRpHyM0tpB1xiNd7mAkn14jrudI0_kGTQoeG3w8SjriKDdKjrlBPzdfkhHj3bdE12lFVUQ 2vCshXNrZobFRRVIi4zDOvlOKzCuVm0Sxk3.DN2VGgTU3LCvuDuOyiBR1GrxeQV1bsHu3KrE9Aeu 4129lGbMJTTPa6RTe0.dWuy4D7pNj4qX7xFc5FgIZ41O_8SSQrFL8ppbwzCGFUKwdjr7DY8e4OUy mxkDWBZYM2f1vX2FYPIl_CnQ4GPYGkJU78SmI81P6MNsmoYJlqTXB3LLjnJM4nlpXnZjlhmJj6kE eq2uJPjTEBOmskBp8cL8q_pmWWZlaHlAlmmpMYYv_rcb580EvCMW7cBD6jTurxJnkElB7FT.AOFw o2o8vXMohl17KVD7WaYdA1a.SgMRCK5lv178oGchM8iUx47_N1YLISKfxrMy5teJDgrSazKC8xrw SwDqHWJJ_D1LCFX8hTKMOSvyvgcgqStxRECAtH.u8rnuVqd5pgtYhank3S8aJ973MWZzEX0PTjqC 1GKhgm6WLTCES_MJMlRlZEl3KdGuLZOXVxda0n1k53.KE_HMC9jDWtS_taRlocJy0TskPh8OHpwm 4sLWsyDZVSAC6txxV9tgg_t7qYmjRcR51GWRTAjaVOPXXEum3efhFesQz_4a1kbO6Mqjqy5Vp5Tt D_KXDiIkv2Hee2zZaFXb_AsDOZFdHvGGFzsLd2.AOu6pvGC7KSEMYyVOe5U6bBx2GgFoR.bFbTWn tR9cR6sN0_myox3FzayCfHTSELxFU37gCzNBArUzmjXDPo6wFMVfjwKqK5c8jOHcIrYXDnImNcw1 DlzQlcij_9SWaaz36XkQ1rkaTBWRJ9e_bBoE97KtYWSR3eTUEZtBKv3JMTcMA5JyXIHG8J6y.lns ocur45yQOxM.DO_6ZwQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Fri, 25 Jun 2021 00:54:38 +0000 Received: by kubenode501.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 12f4d4b3260412e275d1742b4b17ebe8; Fri, 25 Jun 2021 00:54:37 +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.100.0.2.22\)) Subject: Re: llvm10 build failure on Rpi3 In-Reply-To: <20210625001651.GA98214@www.zefox.net> Date: Thu, 24 Jun 2021 17:54:36 -0700 Cc: FreeBSD ports , freebsd-arm , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210623050958.GA79888@www.zefox.net> <20210623174338.GA84853@www.zefox.net> <6F0CF2F3-A298-4CEA-AA07-B79810F3E8CF@yahoo.com> <20210623222838.GA85566@www.zefox.net> <8E78EE69-44A2-429E-AB65-941537DE25A0@yahoo.com> <20210624043000.GA87740@www.zefox.net> <22B941CA-3AFF-42FD-98D1-D40EC2F6EC43@yahoo.com> <20210624160109.GB87740@www.zefox.net> <3B41633E-AAFC-422A-8D73-3B1B001023F0@yahoo.com> <20210625001651.GA98214@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4G9z6l6JDPz4clx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-ports X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Jun-24, at 17:16, bob prohaska wrote: > On Thu, Jun 24, 2021 at 10:41:38AM -0700, Mark Millard wrote: > [huge snip] >>=20 >> So: Even going back to June 9 may messed up nfs >> use. (I've no clue what services you depend on >> or in what contexts.) You might need to disable >> nfs even trying to start at the next boot before >> booting into such an older kernel. >=20 > No NFS involved. Right now the machine is running > FreeBSD 13.0-CURRENT #5 main-c255664-g4d64c7243d26: Sat Jan 9 = 11:27:58 PST 2021 > = bob@www.zefox.org:/usr/obj/usr/freebsd-src/arm64.aarch64/sys/GENERIC-MMCCA= M arm64 I'll note that the output of -apKU fpr uname: # uname -apKU FreeBSD CA72_16Gp_ZFS 13.0-STABLE FreeBSD 13.0-STABLE #3 = stable/13-n246090-6e2623c012c3-dirty: Thu Jun 24 13:59:44 PDT 2021 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/13S-CA72-nodbg-clang/usr/13S-src/arm64.= aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1300509 1300509 has some extra text at the end that would indicate when the world is mismatched with the kernel: the last 2 numbers end up not equal and the prefix 13 vs. 14 would indicate crossing a major version. (Kernel newer, world older can be valid/supported.) > and repeating the previous attempt to build devel/llvm10 with no other > intentional changes.=20 >=20 >> Jan 9 predates 14 and 13.0-RELEASE: sys/sys/param.h got >> #define __FreeBSD_version 1400000 back on Jan-22. >>=20 >> Running newer worlds on older kernels is not supported. >> Generally folks to not track the KBI changes vs. the >> consequences of not having the right KBI. This makes >> interpreting results difficult even when it appears to >> work. There can be mixes like NFS not working but other >> things working. There could be corruptions but such >> may not be likely. Do you have what you consider >> sufficient backups it case things get messed up? (That >> might be the status of being okay with starting over >> if something really bad happens.) >>=20 > No backups, but I'm not averse to starting from scratch on > this particular machine. >=20 > As it happens, the poudriere session ended much as before: >=20 > FAILED: = lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSel= ector.cpp.o=20 > /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS = -D__STDC_LIMIT_MACROS -Ilib/Target/AArch64 = -I/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64 = -Iinclude -I/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include = -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include -fPIC = -fvisibility-inlines-hidden -Werror=3Ddate-time = -Werror=3Dunguarded-availability-new -Wall -Wextra -Wno-unused-parameter = -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic = -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default = -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor = -Wstring-conversion -fdiagnostics-color -ffunction-sections = -fdata-sections -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem = /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem = /usr/local/include -fvisibility=3Dhidden -fno-exceptions -std=3Dc++14 = -MD -MT = lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSel= ector.cpp.o -MF = lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSel= ector.cpp.o.d -o = lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSel= ector.cpp.o -c = /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64/AA= rch64InstructionSelector.cpp > In file included from = /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64/AA= rch64InstructionSelector.cpp:312: > lib/Target/AArch64/AArch64GenGlobalISel.inc:33194:41: error: expected = expression > /*GIM_CheckRegBankForClass: @0*/, /*MI*/0, /*Op*/0, = /*RC*//*AArch64::FPR64RegClassID: @0*/, > ^ > lib/Target/AArch64/AArch64GenGlobalISel.inc:33194:99: error: expected = expression > /*GIM_CheckRegBankForClass: @0*/, /*MI*/0, /*Op*/0, = /*RC*//*AArch64::FPR64RegClassID: @0*/, > = ^ > lib/Target/AArch64/AArch64GenGlobalISel.inc:40087:39: error: expected = expression > /*GIM_CheckRegBankForClass: @0*/, /*MI*/0, /*Op*/2, = /*RC*//*AArch64::FPR64RegClassID: @0*/, > ^ > lib/Target/AArch64/AArch64GenGlobalISel.inc:40087:97: error: expected = expression > /*GIM_CheckRegBankForClass: @0*/, /*MI*/0, /*Op*/2, = /*RC*//*AArch64::FPR64RegClassID: @0*/, > = ^ > 4 errors generated. > [ 25% 1396/5364] This still had junk:false in /etc/malloc.conf ? So, if it is a kernel problem, it is an old one and likely also in releng/13 and stable/13. Beyond other things that I've listed, there is also that you have an unusual context in that you use GENERIC-MMCCAM. So I'm going to suggest using an official kernel build as built by the ci.freebsd.org systems, one that is not GENERIC-MMCCAM. In: = https://artifact.ci.freebsd.org/snapshot/main/66aec14a5391bda1e9a20f5e4381= 626797c3e0fb/arm64/aarch64/ there is: kernel.txz and, if you want the debug information to match: kernel-dbg.txz These are compressed tar archives. Possibly after first uncompressing, a command of the form: # tar -xpf NAME -C / will overwrite what you now have installed. (Make any desired copies first.) Then you can reboot and use the kernel. The debug info ends up places like: # ls -Tld /usr/lib/debug/boot/*/ drwxr-xr-x 2 root wheel 647 May 27 12:39:52 2021 = /usr/lib/debug/boot/kernel.old/ drwxr-xr-x 2 root wheel 647 Jun 24 14:14:08 2021 = /usr/lib/debug/boot/kernel/ drwxr-xr-x 2 root wheel 2 Apr 8 22:40:04 2021 = /usr/lib/debug/boot/modules/ So appropriate copies from there may be involved. (I do this sort of https://artifact.ci.freebsd.org/snapshot/. . . thing to approximately bisect without spending time on doing builds and if a problem reproduces that means my personal builds are not at fault.) > Not sure what to try next. I gather that no RPi4B is available to move the media to? (Having more RAM but being able to force much of it to be ignored can be handy as a test environment for this kind of context.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)