From nobody Mon Jul 19 11:36:38 2021 X-Original-To: ports-bugs@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 173941271A49 for ; Mon, 19 Jul 2021 11:36:39 +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 4GT0DQ74H4z4YgX for ; Mon, 19 Jul 2021 11:36:38 +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 DA0C3165D6 for ; Mon, 19 Jul 2021 11:36:38 +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 16JBacIv084803 for ; Mon, 19 Jul 2021 11:36:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16JBacjT084802 for ports-bugs@FreeBSD.org; Mon, 19 Jul 2021 11:36:38 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: ports-bugs@FreeBSD.org Subject: [Bug 257274] www/firefox: LTO on i386 fails with link errors (firefox-90.0,2) Date: Mon, 19 Jul 2021 11:36:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257274 Bug ID: 257274 Summary: www/firefox: LTO on i386 fails with link errors (firefox-90.0,2) Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) Assignee: gecko@FreeBSD.org As in the subject, with firefox 90, building on i386 with recent -CURRENT a= nd LTO enabled, errors out while linking libxul.so: ... chmod +x libmozavcodec.so strip libmozavcodec.so ../../../config/nsinstall -R -m 644 'libmozavcodec.so' '../../../dist/bin' gmake[4]: Leaving directory '/wrkdirs/share/dim/ports/www/firefox/work/.build/media/ffvpx/libavcodec' ld: warning: undefined symbol: environ >>> referenced by std.ded0i0pe-cgu.12 >>> std-7a67fe162cbea472.std.ded0i0pe-cgu.12.rcgu.o:(_$LT$std= ..sys..unix..process..process_inner..$LT$impl$u20$std..sys..unix..process..= process_common..Command$GT$..do_exec..Reset$u20$as$u20$core..ops..drop..Dro= p$GT$::drop::h65d9d963df9ffb00) in archive /wrkdirs/share/dim/ports/www/fir= efox/work/.build/i686-unknown-freebsd/release/libgkrust.a >>> referenced by std.ded0i0pe-cgu.3 >>> std-7a67fe162cbea472.std.ded0i0pe-cgu.3.rcgu.o:(std::env:= :vars_os::hee869aae8e444309) in archive /wrkdirs/share/dim/ports/www/firefo= x/work/.build/i686-unknown-freebsd/release/libgkrust.a >>> referenced by std.ded0i0pe-cgu.6 >>> std-7a67fe162cbea472.std.ded0i0pe-cgu.6.rcgu.o:(std::sys:= :unix::process::process_inner::_$LT$impl$u20$std..sys..unix..process..proce= ss_common..Command$GT$::spawn::hd5fbb5eedad9ba90) in archive /wrkdirs/share= /dim/ports/www/firefox/work/.build/i686-unknown-freebsd/release/libgkrust.a >>> referenced 2 more times ld: error: undefined hidden symbol: mozilla::ServoTraversalStatistics::sAct= ive >>> referenced by geckoservo.b505lk5b-cgu.0 >>> lto.tmp:(style::driver::traverse_dom::h677487bc5a4d3515) >>> referenced by style.9xypcjio-cgu.0 >>> lto.tmp:(style::driver::should_report_statistics::he4cbd6= 3b2025df9b) clang++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [/wrkdirs/share/dim/ports/www/firefox/work/firefox-90.0/config/rules.mk:545: libxul.so] Error 1 I think I've seen the "environ" error lots of times, but I forgot what the = fix was. The mozilla::ServoTraversalStatistics::sActive is completely unknown to me, though. --=20 You are receiving this mail because: You are the assignee for the bug.=