From nobody Wed Jul 31 23:59:58 2024 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 4WZ8Gm4ZWZz5RbwG for ; Thu, 01 Aug 2024 00:00:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WZ8Gm1fWWz4yL3 for ; Thu, 1 Aug 2024 00:00:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722470400; a=rsa-sha256; cv=none; b=nMZCjoBuDt0Ncjg9OVgtyyIXRSFM7bMAUZwBpZMuCKmaF+aL9W8v6ARcE0Bwjau7nXqQi2 zMSwX2O0V6KnN09TqCW+KIr4Qdukv7AwdfQosKoD/77K4Pv+M2gjF6u9jXHyRgibYEeU3/ XppB+J2F0IDIeWoWVumR0em3vKljVKEVl1WwEqX5xQxI2liVIVIuuH59oQl4zGWmXmve/5 T8n4B8BUsM5uf1cMZhypz6xs7qI1YhpuIWD8W2ZccDm0yzq15ll0GLWI1pltZaQ2Ock8ch UeQ+mgDmNIiXqgdf6rn2njsBqPpAuHX/b/XilP438djq3aea27AT28yhrf1COw== 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=1722470400; 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=7vYSgWX2ECMBKIkZKOOMIPEWbxcLtw9iQYS3NMh/qQc=; b=jrxcnXnwJDjBpl2SKMQSRbr89WLtOt3sVxbsALg+DYY4dHjbd6CQr3Ki6GezjvY8RInvJZ pQam20Vt/KtySjmr3Eful1YhqtdVC76eb6Yp0XsdFrSCjXwjpw6n9jYywIE2BBbXgjjYmu lfSk9isCwJSI5UTsIpqUFBWJ3+NaBSKNtMW6sPNgHpItI39Q1wi98Pz7Wg1HxK5Q+VfEnY oiBzRQfzcRyCZTrwVitW6RMDmWVPoMHIMXGr9wrMIzYgSl5WdphG8LF5x64oCGyY24mDhT skcph8QAunCUZgwig5F2tL+T1PGlOOVwOpEnwW0NT97ovt5WUl1B2zd5GgrWQA== 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 4WZ8Gm1FqVzLgT for ; Thu, 1 Aug 2024 00:00:00 +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 471000YA046922 for ; Thu, 1 Aug 2024 00:00:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 471000Cl046902 for gecko@FreeBSD.org; Thu, 1 Aug 2024 00:00:00 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 268328] www/firefox fails to build with LTO enabled Date: Wed, 31 Jul 2024 23:59:58 +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 Only Me X-Bugzilla-Who: robbak@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268328 robbak@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robbak@gmail.com --- Comment #8 from robbak@gmail.com --- (In reply to Nuno Teixeira from comment #7) I'm experiencing it, The error is happens fairly far back, and looks like t= his: security/manager/ssl/builtins/dynamic-library/libnssckbi.so rm -f ../../../../../dist/bin/libnssckbi.so /usr/local/bin/clang17 -std=3Dgnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -fstack-clash-protection -DLIBICONV_PLUG -isystem /usr/local/include -pthread -ffunction-sections -fdata-sections -fno-math-e= rrno -fPIC -O2 -pipe -march=3Dcore2 -O3 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -O3 -fomit-frame-point= er -funwind-tables -shared -Wl,-z,defs -Wl,--warn-unresolved-symbols -Wl,--gc-sections -Wl,-h,libnssckbi.so -o ../../../../../dist/bin/libnssckb= i.so stub.o -flto=3Dthin -Wl,-plugin-opt=3D-import-instr-limit=3D10 -Wl,-plugin-opt=3D-import-hot-multiplier=3D30 -Wl,--as-needed -Wl,--undefined-version -fstack-protector-strong -fuse-ld=3Dlld -Wl,--icf= =3Dsafe -Wl,--build-id=3Dsha1 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,now -Wl,-z,nocopyreloc -fstack-protector-strong -fstack-clash-protection -Wl,-rpath-link,/usr/home/obj/ports/usr/ports/www/firefox/work/.build/dist/= bin -O2 -O3 ../../../../../x86_64-unknown-freebsd/release/libbuiltins_static.a= =20 -Wl,--version-script,libnssckbi.so.symbols -ldl ld.lld: error: ../../../../../x86_64-unknown-freebsd/release/libbuiltins_static.a(builtins= _static-3fc9a9f4a8be076d.builtins_static.91ec9682c27a3d0c-cgu.0.rcgu.o): Unknown attribute kind (91) (Producer: 'LLVM18.1.7-rust-1.79.0-stable' Read= er: 'LLVM 17.0.6') clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) gmake[3]: *** [/usr/home/obj/ports/usr/ports/www/firefox/work/firefox-129.0/config/rules.= mk:539: ../../../../../dist/bin/libnssckbi.so] Error 1 gmake[3]: Leaving directory '/usr/home/obj/ports/usr/ports/www/firefox/work/.build/security/manager/ssl= /builtins/dynamic-library' gmake[2]: *** [/usr/home/obj/ports/usr/ports/www/firefox/work/firefox-129.0/config/recurs= e.mk:72: security/manager/ssl/builtins/dynamic-library/target] Error 2 gmake[2]: *** Waiting for unfinished jobs.... I'll turn off LTO and build again. --=20 You are receiving this mail because: You are the assignee for the bug.=