From nobody Sat Jan 29 06:43:39 2022 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 D428D1985795 for ; Sat, 29 Jan 2022 06:43:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (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 4Jm4Y33gZwz3Cm5 for ; Sat, 29 Jan 2022 06:43:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643438624; bh=NB8P9feHpbvav59O1Tuuj8DDg7rtJCAtU0s3Qqpc4MY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=KkJFua5xcouwmVuqzv/3fv7guNvPYbREWkfw7apPv+U8W+9QZYHQ7xW3L6Gxjr1iz2m0PGCHr2WNfKNrM78RWXcywA1aEDE+bt3d+tCTcV0okzv59mUy+Ka9psqfKDcWzUN+f2dMGVylIFMGT9sBsY1T9TQl5uq13n8LBDqg47spqmgZ5ItDsm4UdT7MLyuFf4COwVV8LMKxB+SCnZL64oekvuOtf9IMY0EZOkbo/DlvkOTLBhwcAa3K+aMQWjAh05XSbEf4I1JRc91UclJYJFAYI2V1FiacH2/9mc3EZnvBekkYZFJc1v5IEKCdKr/XuQXK2kmKQYbcDnTd2ELAkg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643438624; bh=fFAHoWupOrgpfc7Fd4SwsMQs01Fn9D9iXkgXoScHxBM=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=rap942vEnr2es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zDlrB2u4NLz0cvmSY0Z14 70AvaYj1AcWeDooDvazRDGTQHubQUUI4PRQh70HxOSmu7AMkkuTL8hOq7FEKD9WF4AycLS2LyZRu 0KJKl4O4dxNoQkq6UG2SLsoHpaVOSqdA7B0ysE1ptRtehk9kGJMP4cfSIa1W8NnjjPIxI6kp4ttJ TsirpfpU6tX_glhkwA4HZCDeP.h3EHJGQIXNTvwOoKmZvK1FHtqtq3FjkVZG4XNMY6RQSA.qE078 h9NMCbExbdMT1fJItuGoWMYGD0s5Lwg.wBHfC4S0PPGeEqyah0iGX1nAXKUXDK2Z69LFNAMVORnQ jkE5Tk5L7l8eaUNWi7I0jioxeN0dHkYkE4WxXZLxgTfdo66Lel98WhwEhQV.C_xwPrGYxc1bDX7q YWuILCBNjJwvj__5jzReMtWr8Wcmw9IDRPCKmyyn64m6gQBilFYu5ckTEigHSyBwHfIHv3HhUakb I9r46dlB4FBeGzhL43YPZT6J.cCHpMRZkp1aCXjbomKhprEfMXSBGDQJuXOz7HhntNSy4bESbERz fdiohxizkxw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 29 Jan 2022 06:43:44 +0000 Received: by kubenode533.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID eb40e965ae80ec12bf894b316a0d80e6; Sat, 29 Jan 2022 06:43:40 +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.120.0.1.13\)) Subject: Re: Troubles building world on stable/13: here, gmock_main-f5c28a.cpp built fine with no swap enabled From: Mark Millard In-Reply-To: <58DF1E04-98F4-496C-AFEC-B80EADFF8A74@yahoo.com> Date: Fri, 28 Jan 2022 22:43:39 -0800 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <2F856AEE-F580-4578-BA45-16849769AD18@yahoo.com> References: <8595CFBD-DC65-4472-A0A1-8A7BE1C031D6@yahoo.com> <20220124165449.GA39982@www.zefox.net> <5FAC2B2C-7740-435E-A183-FB3EF1FCE7F9@yahoo.com> <1CB4EDCD-0998-4363-8CEA-14854EB76FA3@yahoo.com> <20220125162245.GA43635@www.zefox.net> <61A3CF79-552C-4884-A8EA-85003B249856@yahoo.com> <20220125180823.GB43635@www.zefox.net> <35046946-7FE4-4E44-950F-BF9CCA72D8F0@yahoo.com> <20220125221753.GA44654@www.zefox.net> <58DF1E04-98F4-496C-AFEC-B80EADFF8A74@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Jm4Y33gZwz3Cm5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=KkJFua5x; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N An FYI: I do not have problems building gmock_main-f5c28a.cpp --even with no swap at all on an RPi3B: # swapinfo Device 1K-blocks Used Avail Capacity /dev/gpt/RPi3Bswp2g 2097152 0 2097152 0% # swapoff /dev/gpt/RPi3Bswp2g # swapinfo Device 1K-blocks Used Avail Capacity # ./gmock_main-f5c28a.sh # ls -Tldt gmock_main-f5c28a* -rw-r--r-- 1 root wheel 134840 Jan 28 22:02:09 2022 = gmock_main-f5c28a.o -rwxr-xr-x 1 root wheel 4509 Jan 21 23:26:29 2022 = gmock_main-f5c28a.sh -rw-r--r-- 1 root wheel 7044253 Jan 21 23:26:29 2022 = gmock_main-f5c28a.cpp You could try such on other aarch64 RPi*'s and see if any of them require swap space to do the compile. (The same for any other example .cpp and .sh pairs.) My expectation is that you will find that they do not require any swap space be enabled. This is main [so: 14] instead of stable/13 . My only stable/13 environments at this point are bectl (so under ZFS). I do not not try to use ZFS with less than 8 GiBytes of RAM: default configuration instead of tailoring for smaller amounts of RAM. But I've also built under stable/13 (with ZFS involved). top did not show the build of the .o using significant memory under stable/13. Part of the point of the .cpp that the compiler generated is that it uses no include files: everything is expanded inline for the source code. Thus, no other c++ source file should be involved. I got the copy from where you posted it. That it builds in my context indicates that it is unlikely for your or my copy of the source code to be corrupted. That leaves basically compiler binaries (and supporting files) as potential sources of variation, possibly via corruption. (This was only the production of a .o file. Fewer toolchain programs are involved.) For reference . . . Under main [so: 14] (UFS context example): # c++ -v FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin Under stable/13 (ZFS and bectl context example): # c++ -v FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin So, for as much as the compiler identifies its own content, they are supposedly the same, other than having a different default Target FreeBSD variant. (But I do not expect that the compiler identifies something unique to the combination of FreeBSD specific patches or other FreeBSD choices that are involved.) =3D=3D=3D Mark Millard marklmi at yahoo.com