From owner-freebsd-gecko@freebsd.org Tue Jun 18 02:24:19 2019 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB28E15CBA73 for ; Tue, 18 Jun 2019 02:24:19 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC8608D703 for ; Tue, 18 Jun 2019 02:24:18 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id A99BB15CBA72; Tue, 18 Jun 2019 02:24:18 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AEF515CBA71 for ; Tue, 18 Jun 2019 02:24:18 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from symbion.zaytman.com (symbion.zaytman.com [64.112.176.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "symbion", Issuer "Narawntapu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 08AF48D701; Tue, 18 Jun 2019 02:24:17 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from narawntapu.narawntapu (pool-108-53-86-183.nwrknj.fios.verizon.net [108.53.86.183]) by symbion.zaytman.com (8.15.2/8.15.2) with ESMTPS id x5I2OAN6067484 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Jun 2019 22:24:11 -0400 (EDT) (envelope-from mi+thun@aldan.algebra.com) X-Authentication-Warning: symbion.zaytman.com: Host pool-108-53-86-183.nwrknj.fios.verizon.net [108.53.86.183] claimed to be narawntapu.narawntapu Received: from aldan.narawntapu (aldan [192.168.1.10]) by narawntapu.narawntapu (8.15.2/8.15.2) with ESMTP id x5I2O5gj040980; Mon, 17 Jun 2019 22:24:05 -0400 (EDT) (envelope-from mi+thun@aldan.algebra.com) X-Authentication-Warning: narawntapu.narawntapu: Host aldan [192.168.1.10] claimed to be aldan.narawntapu Subject: Re: Firefox and llvm To: Jan Beich Cc: gecko@freebsd.org References: <96bcddaf-f310-34b3-70c6-6a223f5f8b6c@aldan.algebra.com> <5zp5-yp43-wny@FreeBSD.org> <64325580-58fa-be6a-6045-58c5409ddb20@aldan.algebra.com> From: "Mikhail T." Message-ID: Date: Mon, 17 Jun 2019 22:24:05 -0400 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-DCC-sonic-Metrics: narawntapu 1254; Body=2 Fuz1=2 Fuz2=2 X-Rspamd-Queue-Id: 08AF48D701 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; TAGGED_FROM(0.00)[thun] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 02:24:19 -0000 On 17.06.19 00:19, Jan Beich wrote: > >>> Good luck. Make sure to test in a clean environment e.g., via poudriere >> Jan, this is the job of the port's maintainer... The current situation >> -- requiring a rebuild of LLVM twice -- is ridiculous, should never >> have come about, and should not remain for long. I hope, we agree on >> the first and the second, at least... > If you don't pay, don't help and don't do the homework why should I care? Because my statement is true -- or not -- regardless of who makes it. Whether you hear it from a stranger, a fellow FreeBSD ports-maintainer, or the project's Founding Fathers, the need to rebuild a major software package twice to build a port is ridiculous. On its own... Some years ago, in a moment of madness, we've created gcc-ooo port -- building an entire compiler suit purely for the sake of compiling OpenOffice.org. I'd argue, we're now suffering from the same malady again... >>>> I can't see, what good llvm-objdump could do to the vast majority of users. >>> See https://hg.mozilla.org/mozilla-central/rev/53d93ee3ad84 >>> While the commit was backed out the configure check wasn't, so maybe >>> the intent is to reland in future. >> So, it is not even being used?! And, if it were, it would only be for >> some build-time library-reading, which the port could disable... > dependentlibs.py doesn't appear to use on ELF platforms but mozbuild does. > That "library-reading" is responsible for loading bundled shlibs e.g., > > $ firefox example.com > XPCOMGlueLoad error for file /usr/local/lib/firefox/libxul.so: > Shared object "liblgpllibs.so" not found, required by "libxul.so" > Couldn't load XPCOM. > > Please, file a bug upstream. I might -- and/or we reintroduce the wrapper script to set LD_LIBRARY_PATH before spawning the real firefox... But llvm-objdump is part of the base by default on 12.0-stable... And here is the buildlog of firefox using /usr/bin/c++ . > Indeed, https://svnweb.freebsd.org/changeset/base/310840 but Firefox > needs llvm-objdump >= 7.0 which would exclude FreeBSD 12.0. On my 11.2-stable system, I still build firefox with llvm60... > $ /poudriere/jails/120amd64/usr/bin/llvm-objdump --private-headers \ > /usr/local/lib/firefox/libxul.so | fgrep NEEDED > $ /poudriere/jails/head-amd64/usr/bin/llvm-objdump --private-headers \ > /usr/local/lib/firefox/libxul.so | fgrep NEEDED > NEEDED liblgpllibs.so > NEEDED libmozgtk.so > NEEDED libmozwayland.so > [...] Are you saying, llvm-objdump is a /run-time/ dependency? How did we get here from the earlier "llvm-objdump is only needed by firefox' configure"? Yours, -mi