From nobody Fri Jun 10 15:08:40 2022 X-Original-To: gecko@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 00F4A840835 for ; Fri, 10 Jun 2022 15:08:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LKPVd5vdKz3pHT for ; Fri, 10 Jun 2022 15:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AB7631A4F3 for ; Fri, 10 Jun 2022 15:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25AF8fcv081977 for ; Fri, 10 Jun 2022 15:08:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25AF8fZn081976 for gecko@FreeBSD.org; Fri, 10 Jun 2022 15:08:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 263798] lang/rust - gecko ports with LTO enabled are dysfunctional Date: Fri, 10 Jun 2022 15:08:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to bug_status resolution cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654873721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z3NDin8h7mc5URwy0uKSgoE4BIuqvliB+t1F6GY396I=; b=XlEbhP0c6tNv/NwwxkqZa+Jf3PSG7il8eaeoC7mavRLBKJQxLNEZxP3Xf+agFEIZp2kOWE sGN2upX8xaxZJ0+7VKdDIues9WgmIpqNlyYerm9cuUVJ+scWX4uDZCJ0i8+9igz+5YHQIj n84O/zsMIRenzOCE+C8mQKeTgn2fXs6IAlkx/nD0855/iJtr7zXnwb1hyMtYepZcSTCojF yQ8layg3NEdOM5T9W4enWtGdwmZLbiOAM9m7hlFr26QPxHuA8qBqpyFy9Cja57VE+4T3y/ iMOpqR9hDEU/Vm1p24aFWC/oi5rOo1yuSPOBQU9nl1oLVHyZqAGLQAYkJlaGow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654873721; a=rsa-sha256; cv=none; b=rsHAySu4vuUpBT0F89Tumqd+Lha9l6E5mx6RmToT7z/2US5xrB0uf1BKHmKoR/iwJUoLj0 gyVk7eW6fINu7HRx+f9il4D2qTm3xgrpfy+CIP7L1/lCCQ4DilSc8RxSEkN/Ij90Kb2xu4 0u9VCvblMBLKGOyR3U+r46/FY6fvQ4C67ZNoJxb7yFzf4sv6RM13V0+H1V2f2/9+1h4rSF UWC+xu+osL6q5YVeJeQtO8gcnBxRnpVq+E+LkLAxsWN/nWJ4Bpddo8ENLPhcfwDpmtoFmC g2IMBoLJTXkmVft2YlY5pTK5ZoLLJOKxWQmi/VKJ6cNh3LC+oKVIor6R+G9r+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263798 Mikhail Teterin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gecko@FreeBSD.org |rust@FreeBSD.org Status|Closed |Open Resolution|FIXED |--- CC| |mi@FreeBSD.org Summary|www/firefox: Channel error |lang/rust - gecko ports |on startup in version 100 |with LTO enabled are | |dysfunctional --- Comment #18 from Mikhail Teterin --- (In reply to Oleg Sidorkin from comment #15) > Rust switched to LLVM14 in 1.60, so linker from llvm13 that links firefox= binary doesn't know how to work with llvm14 libs. Thanks for the investigation, Oleg. This seems like something someone ought= to report to LLVM project -- the 13.x linker either ought to do "the right thi= ng", or die with a noisy error :( Meanwhile, in my humble opinion, lang/rust ought to use the ports-provided = llvm -- the ongoing flip-flopping between that and using the bundled version nee= ds to stop. If llvm14 is really mandatory for the newer Rust versions, then lang/llvm14= =20 ought to become a dependency. But the ci.yml files inside Rust's sources indicate llvm-12 as the minimum requirement, so users ought to be able to u= se those already installed older versions too. This would reduce build-times significantly and eliminate the mixing of toolchains, which is a bad idea in general and, according to Oleg's investigation, is the actual source of problem in this case in particular. (In reply to Christoph Moench-Tegeder from comment #9) > fixed in firefox-100.0_3,2 firefox-esr-91.9.0_2,1 thunderbird-91.9.0_3 - = see commit ports fc0a979a30ea Disabling an otherwise valid option is not a fix, it is a work-around :( I understand, that gecko-maintainers cannot do much more than that -- except = to, maybe, set BROKEN for those, who have LTO explicitly turned on in the optio= ns already (so we don't waste hours recompiling the heavy ports)... --=20 You are receiving this mail because: You are the assignee for the bug.=