From nobody Thu Nov 14 22:26:42 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 4XqFBY5W6rz5dF6M for ; Thu, 14 Nov 2024 22:27:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4XqFBY0x1nz4M7K for ; Thu, 14 Nov 2024 22:27:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731623219; bh=ypXEJu4fd/p1EWPr9x4ijZzdZxPRF6JSLkpxbdBIAs4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=QwPf5eXqBZEMbAyhpZL3M2K4Tk3EIiiiJnxWa+04e+a10X7tlGEXXj3ISVoWn4r3PdJZek8j/wfBEc6Tj2l9/Fj4mFrpG5BN/sx/laI9hld/w0fOlyCBRYdoYYcbx8vah0owpeX+fqu21f5isNi3oy3VH0gdgi15WJ5TWjaVhZ31Nfz6dmLaRXEJViZloczqVVZBPEhqGlRRJMBR5cTOYoXn1In76QR8cxLZ2UMQ11y7QZjS7gpEkXMjviOn8ZW/CG8hNJq1JM7J19J7rg5L1SypMVBhNXzuxrHmxAOsIoQwmmF1Eqa1+TAnRFwbWvM3Uxzbmz21XgR556qV0jL02Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731623219; bh=plTVH2QWHjGmIriA4ph6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wEObC_flz.R9ZWHDOZp.RDewI uSu.1bwNv_6w4UC9MGaT5BTtxMNWrzIAzkQE0mDchE9MlZq.pum9k1SmAlcIe6r9UXw1El_VyWFn 0kU_fI8DuVUhzWJRc3DwQOjUjBui8Mf1LeUptnmqlppnd9.bzyrxRG9ITvZRDjll347phTF7i5r0 0lNDJ6STpBvg4ICw3QO2QcwA3h1Xsjv.eiQjh_lm96fHWAngzvNhHGUVbQiqShomOFQ6m7ukohRI .arzOURPJXL_MnccoH1xgmUfDvQNgGuSzYFT5JojGnGZfhQ8w_zACkjadwJ54YTgDK6M7tT1KINd aJdM.bVRuOpeHd5tFT3E4sA6mY41WfEwis.L6RQ9Csclk1WRP9zGYDI9jCTC06uMPnA.v1uLaXx6 EuFMJoJzJUz3KXlgovzvch6Vi2VPXdd9zRwt31FPOI5MYDLVugXmd7QE8nJEJfVuJhlQ8NWmzePv ucHfOpAdTg097wZu4nlN5IlfeFM_Ey2GoFN40gxR1Q7a5Ij7LVLNzIm0Q6LmIv5ZCs3NpDiwFDJR IZ3SfUoRzzSPL_LBEGNh5_KKtGrs_u6xlBx2xLbWwbnF8VHiLhmhwkSRKhRYs9FIX0nIssWxHnj4 lkzVHiNddAWGPaEPGKCN0JRRNLMo- X-Sonic-MF: X-Sonic-ID: c44e5362-55f4-43a3-8969-730f7e9a7c73 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Thu, 14 Nov 2024 22:26:59 +0000 Received: by hermes--production-gq1-5dd4b47f46-9j75b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c0b5d341e9a6c0a914d47e028a9f7f13; Thu, 14 Nov 2024 22:26:53 +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 \(3776.700.51\)) Subject: Re: lang/rust/Makefile for 1.82.0 has wrong llvm:min= value; more From: Mark Millard In-Reply-To: <6f3f4b47-05a2-453a-8d1c-258d17fc1a1c@freebsd.org> Date: Thu, 14 Nov 2024 14:26:42 -0800 Cc: FreeBSD Mailing List , FreeBSD Toolchain , "mikael@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <52DCD460-D1BE-4F74-A567-347C8D9F31CE@yahoo.com> References: <6D0FF1C8-CA51-44B0-A1D8-0B4F670F647C.ref@yahoo.com> <6D0FF1C8-CA51-44B0-A1D8-0B4F670F647C@yahoo.com> <6f3f4b47-05a2-453a-8d1c-258d17fc1a1c@freebsd.org> To: Charlie Li X-Mailer: Apple Mail (2.3776.700.51) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4XqFBY0x1nz4M7K X-Spamd-Bar: ---- On Nov 14, 2024, at 13:21, Charlie Li wrote: > Mark Millard wrote: >> https://github.com/rust-lang/rust/pull/130487 reports . . . >> QUOTE >> Update the minimum external LLVM to 18 #130487 >> With this change, we'll have stable support for LLVM 18 and 19. >> For reference, the previous increase to LLVM 17 was #122649. >> END QUOTE >> Note: the internal LLVM is 19 for 1.82.0 . > This commit is not in the 1.82 releases so the USES=3Dllvm values = remain correct. It will be bumped for 1.83 as tagged in the pull = request.> It leads me to wonder if lang/rust should be using an external =46rom using pkg to update to the recent official lang/rust = distribution: # rustc -vV rustc 1.82.0 (f6e511eec 2024-10-15) (built from a source tarball) binary: rustc commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14 commit-date: 2024-10-15 host: x86_64-unknown-freebsd release: 1.82.0 LLVM version: 19.1.1 So the internal LLVM for lang/rust is LLVM 19.1.1 based as of that update. It is not my build, but is the official FreeBSD one for main [so: 15 as stands]. For reference: # pkg info rust rust-1.82.0_1 Name : rust Version : 1.82.0_1 Installed on : Thu Nov 14 22:09:53 2024 UTC Origin : lang/rust Architecture : FreeBSD:15:amd64 Prefix : /usr/local Categories : lang Licenses : MIT or APACHE20 Maintainer : rust@FreeBSD.org WWW : https://www.rust-lang.org/ Comment : Language with a focus on memory safety and concurrency Options : DOCS : on GDB : off LTO : off PORT_LLVM : off SOURCES : on WASM : on Shared Libs required: libcurl.so.4 Shared Libs provided: libstd-d4ce5f4319a0892a.so librustc_driver-3dd68610bfbc3827.so Annotations : FreeBSD_version: 1500026 build_timestamp: 2024-11-12T01:08:37+0000 built_by : poudriere-git-3.4.2 cpe : = cpe:2.3:a:rust-lang:rust:1.82.0:::::freebsd15:x64:1 port_checkout_unclean: no port_git_hash : b039f2e46b1 ports_top_checkout_unclean: no ports_top_git_hash: ea7acb65556 repo_type : binary repository : FreeBSD Flat size : 1.14GiB . . . The only way the internal LLVM for lang/rust ends up being based on LLVM 18 for 1.82.0 is via use of PORT_LLVM , which the official FreeBSD package builders do not do (at this time). So lang/rust 1.82.0 builds can potentially have newer, LLVM 19 specific material if there is such. >> devel/llvm* by default, set to match a default ports tree >> LLVM to be used for major ports that involve lang/rust use. > No. Not something upstream encourages by default even if support = exists, especially because the default upstream builds use the bundled = LLVM which is what most consumers qualify with. The FreeBSD may at times have to update such that the default LLVM is forced to well match the lang/rust default LLVM. That might mean not updating lang/rust . (I'm not claiming there are always conflicts to deal with when LLVM's mismatch, just that there could be such at times.) =3D=3D=3D Mark Millard marklmi at yahoo.com