From nobody Tue Feb 13 18:18:40 2024 X-Original-To: freebsd-ports@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 4TZ8hy3LFjz59RHM for ; Tue, 13 Feb 2024 18:18:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZ8hy2t1zz45Vl; Tue, 13 Feb 2024 18:18:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707848322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m/7tj+4YIRH+DNZM8wFvg1XOnY/orS+KILRsQ1tx52A=; b=AF5NmXO7eyXU59sHZ3w8qbttXInGKVqp8bK6rLXe6oXLEpIATA9QYGkHw4NSz/i04hU7l4 DsEEVRuNsHpSZQkrWeJTzd3WowbtH8cmyRQX0uxtVRh5KmClwkbaAvDMREwUHSOTv2Lev9 4nfnSXWkyirlCR1ooiyYCX4+ERiWK/4EUh1dJTN2IwKgfTsRFZxIU1HLlODEY4r3GO2qP8 3C/BSyJpzbCTmpgFyu6YaZOnJehpfNlGcZl/Ay8uZUoGT2Sm2WsVKp2nFK0M/3hOMJYRms VxM0kb0LHCOCdsA0NxRiIk2fJPVwjVWGsWDACoKCKfW06ENKaufs7kPPIC279Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707848322; a=rsa-sha256; cv=none; b=ejjEwhC/b9u81vy2SjZ35/HmboihdD0wUdLULrURnnftRBGfyirK+cSFjsPEtBG6l915wY gFkEFsGYOYhIKsZyjMwRbuUT9JoqGCZ11DiWUupu3V46hzI02gvcc8WDSe2PPg/jwnR/Fm nPRb4kTRoam9LvjPbr5OOJmDLpX3iDn5bpgDsBSw5mx/9r1XYbrm4qbxHAWHrFJh8gCUt4 ip382kmz6MoOSPw6R6h1pG8lLfAGpwIjZI7t3vPKXV8jQ/xXgNcYBQll6ScP54WiYE/Pa3 OpjFyviRWLuH2R326Fo6t3Hu1v3r222bsmTzXF8lm68vYWaGCAjgch8KBIJ+Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707848322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m/7tj+4YIRH+DNZM8wFvg1XOnY/orS+KILRsQ1tx52A=; b=Rafy9AjXHzMKb/wOf9+OAeHxQAxfVj60Mpw2vMgt2fgDxwxBfJuQIqiML2h9xWZpMMGijD LenlmUvOyABJaSENrxDgrbpgPGn6+I2PnTLIgXrnmJx/QaJQJwITjhCS9EHFoj4CXltK9v y5hcp6h5k94s6BeqcABXsAiz81IwBX89JPUBM2MxbNowUVy0qBOm+pbWcMunWdDdVgnlF0 Y+u3kPYYRCTZLdswtTLhsZfdT1upx0ohssdwbsZmr9zPauTYzlBd/x2mnq8q00jzSbxEz7 w74NviMbnjjoUV6gUYJDzTvrPkfMROAt+4NJc3TfNh5My4LLY7D2c9YkAgusCA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TZ8hy0Cqsz1BBk; Tue, 13 Feb 2024 18:18:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B4F9164C1D; Tue, 13 Feb 2024 19:18:40 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: firefox LTO compile fails From: Dimitry Andric In-Reply-To: Date: Tue, 13 Feb 2024 19:18:40 +0100 Cc: FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.700.6.1.1) On 13 Feb 2024, at 15:23, Nuno Teixeira wrote: >=20 > While I've noticed this happening in 122, I'm re-testing with 123.0_1 > on 14-RELEASE: >=20 > Default options + LTO: >=20 > ld.lld: error: = /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/= libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_static.38c1= 92b2a53b4c5e-cgu.0.rcgu.o): > Unknown attribute kin > d (86) (Producer: 'LLVM17.0.6-rust-1.75.0-stable' Reader: 'LLVM = 15.0.7') > clang-15: error: linker command failed with exit code 1 (use -v to see > invocation) You can't mix LTO objects from LLVM 15 and 17. Since rust seems to be = based on 17 now, the port should switch to building with devel/llvm17 = instead of devel/llvm15. But that may be tricky, I am unsure. :) -Dimitry