From nobody Wed Aug 07 11:10:07 2024 X-Original-To: freebsd-toolchain@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 4Wf6sX2Phzz5Rvtj for ; Wed, 07 Aug 2024 11:10:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-19.consmr.mail.gq1.yahoo.com (sonic306-19.consmr.mail.gq1.yahoo.com [98.137.68.82]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wf6sV5yTFz4VCW for ; Wed, 7 Aug 2024 11:10:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Jje31uS5; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723029020; bh=Pp4Ioj+BitSWlMBV8+p8tVIyoOFDrQYKEy6NABNj8ao=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Jje31uS5FLLF+naxsc0rJD3JZyaiwFP/prFj3uBLAdgvryWGc8s+iA3KDymuPABCNhg0HWTGFs2usLSRAGIjkWuLbhi2crPLtY20vtVDWBFPtkrZA2/wbhotQ2rX/2mykxWAYfEQGN1V5CnMbAaWt71mPZ7SAbbejTEaU3vrHn0kyqKvwgwhrNlLcA91voB04Hzo17FZNiuW1QuaLQ+SULO7IY8W3+j27UbujTqz3fdsnORXR+PutJaKVKf6mDBrq4sk30/zP4X9g6ckCqJ4ApTbvzdjzsXqbEqBjxSPLefqp+DmcZ4cBweOZBxS2+lPDqSMJlcZDDxiqBzynhxy+A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723029020; bh=Zl2UxpOWk3sGTyp7fERnonoCKuEB8mkfuxNg6Bb/nTA=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=kq3JRxSpPOcEBCgRLu8/sVLpabCStwHygF8zozCt7HkHurrG6Na4onSsgz8OSBwdVPup8Qmlj1pPg9Ay8Q6BSfEKSSkKLKeMhKWvprQnGi+17yHkxxxkFQr48TdLd5ycGbwpzaeClBdV9HIwub5158wk2MwREfCo7uzLpkRjLXraRbhV5+9ZdCWJOF0MwSXLr9agA5FFpuMtQqsuQpOW/iTHhvLZdxKY/vWcaU4I2TFGUkL2Rd/cdPWRY5m+a/S/2E4OpC3rm8MNXzhvPcO7OigV8youWhT2NKMQe4gQkRCRmpYCJDNNMq5LM8VBFZr1P2R0RXmTZhgiH8c7jCvP0A== X-YMail-OSG: fRsDRoYVM1nHeNS799_S3FEwOKUtHXlN55ang2tM5pgbyO4G74nBomWIYJpuZyr Y2EMrgkwb.ITTD28Ter3eKoBpdKBxIm8uiLVyaP19KNimajFRtqG5N3mcsM4pHsDUmFEOYBoyQJo 9sUSPVP4UDXyvEs3eyJnhsa_Pss5uuwa6I0s95xOzAPfIIWX.ZW3I9_uoX01dw0yujelt7NIP74. F.UqEgDFjHJsGFotg4fYJxhHlY74dNqut9kgVcBSkHaCqSCRT9kRA1mFf.7tu0l7uhXpiOOnSYMU fO9LssYr59G37.pBbhxmnCbZ7OBGaWcjYfykk9uuQjFwaldyL0T.Be8eA.1CbXFm2h6QqZe2ZeVN .mnyMrtV2nDuNYGSl2qFsjpmqb8g6wfMuC2h1poeNKfDK3oxdfcvTjwXk6c90hc4abEME92yz7zp iJgnrn8EGhy5Ms1lutDKezAOc6PtLM6jg5anQjII5An.eS.NIYP2IKo78lDbEIm_5XS4Ph4ez76H LXMveu9neV_3Hu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zqPCbY8hVCrfCE80I0dbSvw8TLHowWrHi83HkDpCaWhj0_WSi RyxHvSmNfKV0JZhkMsAxkoveVngGLPJAdUm5G1ByELhb2gH_O1G.nj_7dQjV24D43s7QsvGmEZaw IAjxaotVX5NboqYeqxjAJ38PXSOT1Dl1MClvk8c48m2JUGOSEMYVULhyur7m5IAd0yf6O.l9EOSO u0ITRopVTcuhBaXqGojTjUH512OBCCpMbu9asdz9NajWa4flkhIb5G68rCdpyJg349cGbncKSCRS _Xo3_tfPjt0587LOnZZNhz9Gy8OksHYlTfBuDeegygIVmeQuGfsyX1GKyedObJ7hQpQ3NTSVHWrh r.J5jSeKx4LAitsUL2d6We7qrmCi2CdTodw2FoKCPJ8hOrQXZFdFlDm6fnraZ7XY97CXEODDTHZ. mPMg0fDjKGrMG15oot0AtFm59w3Zb1IzMz0LtzugsZoFssrre5qtd7TRHCVIemI1XfgeCyNwl15W tySCLMQTiQY1s5saoM_K7eEiz_U.0q578VoHSI80dFJcew.X_LcMyguPEtS1P21Gw1o5FBNfxvJq YgMYbi1oDsKvo59ryk3DxRvommmjneSGEwJaCvghLOPitUn6suhTR8lhKQMuuCYKFkeKvdtwaks4 rHcA_OQq59dlEoZ3WZeRZgWj2pHhC68.GIzaZyIqpt_Yo_aduvDMIwKHfY6mUPsXePOWbYL_28N8 YDu6nICF.jx65WrE- X-Sonic-MF: X-Sonic-ID: 6623b004-2b3c-41fb-a76c-cf0028c85f78 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 7 Aug 2024 11:10:20 +0000 Received: by hermes--production-gq1-5d95dc458-rvnnh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2bac3f32d0bec3a1e829d44cb53c0a56; Wed, 07 Aug 2024 11:10:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Any known way to build devel/llvm* ( such as devel/llvm19 ) with --threads=1 for its linker activity during the build? From: Mark Millard In-Reply-To: <0C648446-D075-4981-B348-1525DD1ECD8A@yahoo.com> Date: Wed, 7 Aug 2024 04:10:07 -0700 Cc: Dimitry Andric , FreeBSD Toolchain , FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: <677ACAB7-2932-408D-9C51-A9D1E25ADD32@yahoo.com> References: <4FFD603F-E67C-4B62-B91B-8BE365EAA050@yahoo.com> <82E78798-C376-45C4-80FE-96AD14229419@yahoo.com> <0b3b532c-ae94-439c-81aa-9e80a08af43f@freebsd.org> <4b5a6fa1-3b08-4b8b-8577-c548116d2115@freebsd.org> <0853529b-eb45-43c7-9957-8fe23001c94a@freebsd.org> <0C648446-D075-4981-B348-1525DD1ECD8A@yahoo.com> To: mmel@freebsd.org X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.96 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.956]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_THREE(0.00)[4]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-toolchain@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.82:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.82:from] X-Rspamd-Queue-Id: 4Wf6sV5yTFz4VCW On Aug 6, 2024, at 11:27, Mark Millard wrote: > On Aug 6, 2024, at 01:56, meloun.michal@gmail.com wrote: >=20 > . . . >> Mark, I think that root case of your problems is that you're trying = to link with libraries (shared or local) with debug information = (unstriped). >=20 > Seems likely that more needs to be stripped (or never generated) > than before. I'll probably manage to regenerate the armv7 context > and test that at some point. It is definitely true that I've > historically kept more of such information around than FreeBSD > does on its own for optimized code: with symbols or debug > information. But it seems that such no longer fits in the armv7 > context for what I've historically done. Confirmed. Use of -gline-tables-only instead of -g allowed lang/rust to build and allowed devel/llvm19 to reach the error that you had reported, getting well past the earlier failure point. But clang*'s -gline-tables-only looks to enable a subset of gcc*'s -g1 and the two do not have a common command line notation. This lead to lang/gcc14 failing to build (unlike before) for how I did this experiment: checking for suffix of object files... configure: error: in = `/wrkdirs/usr/ports/lang/gcc14/work/.build/armv7-portbld-freebsd15.0/libgc= c': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details gmake[1]: *** [Makefile:13527: configure-target-libgcc] Error 1 gmake[1]: *** Waiting for unfinished jobs.... >> This causes a huge memory consumption. I don't remember if it just = wastes address space (because mmapping a large library but never = accessing the debugging information) or if it accessing the debugging = information (so the link needs physical memory for it as well). =3D=3D=3D Mark Millard marklmi at yahoo.com