From nobody Mon Jul 19 11:36:38 2021 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 D64F01271BA6 for ; Mon, 19 Jul 2021 11:36:38 +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 4GT0DQ5X87z4YgW 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 A62ED164BC 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 16JBacNT084795 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 16JBacCn084794 for gecko@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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-gecko (Nobody) for maintainer-feedback: Bug 257274: www/firefox: LTO on i386 fails with link errors (firefox-90.0,2) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257274 --- Description --- 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 >>>=09=09=20 std-7a67fe162cbea472.std.ded0i0pe-cgu.12.rcgu.o:(_$LT$std..sys..unix..proce= ss.. process_inner..$LT$impl$u20$std..sys..unix..process..process_common..Comman= d$GT $..do_exec..Reset$u20$as$u20$core..ops..drop..Drop$GT$::drop::h65d9d963df9f= fb00 ) in archive /wrkdirs/share/dim/ports/www/firefox/work/.build/i686-unknown-freebsd/relea= se/l ibgkrust.a >>> referenced by std.ded0i0pe-cgu.3 >>>=09=09=20 std-7a67fe162cbea472.std.ded0i0pe-cgu.3.rcgu.o:(std::env::vars_os::hee869aa= e8e4 44309) in archive /wrkdirs/share/dim/ports/www/firefox/work/.build/i686-unknown-freebsd/relea= se/l ibgkrust.a >>> referenced by std.ded0i0pe-cgu.6 >>>=09=09=20 std-7a67fe162cbea472.std.ded0i0pe-cgu.6.rcgu.o:(std::sys::unix::process::pr= oces s_inner::_$LT$impl$u20$std..sys..unix..process..process_common..Command$GT$= ::sp awn::hd5fbb5eedad9ba90) in archive /wrkdirs/share/dim/ports/www/firefox/work/.build/i686-unknown-freebsd/relea= se/l ibgkrust.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 >>>=09=09=20 lto.tmp:(style::driver::should_report_statistics::he4cbd63b2025df9b) 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.