From owner-freebsd-arm@freebsd.org Sat Jan 16 05:25:10 2021 Return-Path: Delivered-To: freebsd-arm@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 756454D3B4E for ; Sat, 16 Jan 2021 05:25:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4DHmhj2m3Kz4r8B for ; Sat, 16 Jan 2021 05:25:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610774707; bh=lyaOMQl6MplftKPHI/JreF0RaoBf3vyAkyt9bC+W0vl=; h=Subject:From:Date:To:From:Subject:Reply-To; b=o5kqb3bULPMIe/ZR4b/wJ7//QjuF9YOKB3qwB2X44Lmic+V8UiokfXT7ykKzQ3kRGunHcBS3kAsyRGr/L+5SbEL5DH09jpP4kduqGOfWxhJieqidJxC+iNHeM4jZsZYoVjnypzyoUgujkDXWy5Lg5aZECYgpGylCiFJWzJpo5APRm0P3EZ3jXlbc02kE/HSefE5qcD+m08T76iZzOYBExChbvymPtpU+OeL8klRy9318w4VomB4vFrDVxtn4IeBJLj4YpBFXkVzVXtyPQcYdkR3RZajdEIfjg7qqZ/JIXRzV64CXvrVgWary2h5SusKkIhz2G5wVheIo54rCK7KpYg== X-YMail-OSG: 6XEEsbwVM1n5uKCwyHWt.SNF7g6c9y4rN5usD1LWqmt3xQwQRbr1Plf7qdB0iRz 6K8j9.2OsFnmVIHwIgBxpq9jyhFNPLsh8d5u4eShlo7fqFOvKYqcgdWnAxdS2nSGqVj3SmFhV.VW 0pE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h9SZgTX6YKTdzWS4Yo5pThcvsV7z7qmUtwEHVb8s3mcN2BmxxptijvG TTWQdwfOq8uWjCjUQKTbUtWdpgluolpKxRWZZNja1.WpRLCcx3LivRh0dgISDJffIVkccEFXJqa4 fQ5s_vIlv12_cwTvT_qQY_XO1dtBRS.ey3fqvc9DRB27AGrWKQpb6RujEEGDfuAijtW1Mz4JsSNM GSzTAjexlglF8mIad5lkfSTiU5t8qddAunez28oZXCHyZr00XhRV6qDq3SSzAaRxwNxcwuvEzNVg AhvsdjxTeRWgPpT8pKKe3Oq9VDq0akQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sat, 16 Jan 2021 05:25:07 +0000 Received: by smtp403.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3acf4cd7e4581d85d930b58828df0ffc; Sat, 16 Jan 2021 05:25:02 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: Invoking -v for clang during buildworld From: Mark Millard In-Reply-To: <20210116043740.GA19523@www.zefox.net> Date: Fri, 15 Jan 2021 21:25:00 -0800 Cc: Current FreeBSD , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210116043740.GA19523@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DHmhj2m3Kz4r8B X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.998]; 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)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.84:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 05:25:10 -0000 On 2021-Jan-15, at 20:37, bob prohaska wrote: > While playing with -current on armv7 using a raspberry pi 2 v1.1=20 > an error crops up with recent kernels while building world: >=20 > ++: error: linker command failed with exit code 1 (use -v to see = invocation) > *** [clang.full] Error code 1 >=20 > make[5]: stopped in /usr/freebsd-src/usr.bin/clang/clang >=20 > How does one invoke -v in this situation? Going a different direction: Going to publish the build log someplace? There is likely more there of interest to isolating the issue(s). I use META_MODE builds. One thing they do is record the command used to try to produce each file. So in that kind of context, identifying what it was trying to build allows finding the related NAME.meta file and looking in it. An example failure for armv7 and 1 GiByte of RAM could be a simple memory allocation failure: unable to get a sufficiently large contiguous range from the address space for some request. (So it never gets to the point of using swap for it.) Are you controlling how many threads the linker uses? > For the record, uname -a reports > FreeBSD www.zefox.com 13.0-CURRENT FreeBSD 13.0-CURRENT #6 = main-c950-gff1a307801: Wed Jan 13 19:02:18 PST 2021 = bob@www.zefox.com:/usr/obj/usr/freebsd-src/arm.armv7/sys/GENERIC-MMCCAM = arm >=20 > The present sources are a day or two newer. >=20 > Nothing is obviously wrong; swap usage is small, no warnings or errors = on the console. >=20 > In past occurrences, an old kernel (pre-git) worked through the = problem. > If a restart of make buildworld doesn't get past the stoppage I'll = check again. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)