From owner-freebsd-gecko@freebsd.org Mon Jun 17 01:46:21 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 ABAE115CFED2 for ; Mon, 17 Jun 2019 01:46:21 +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 ADAB5712F6 for ; Mon, 17 Jun 2019 01:46:20 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6AF9D15CFED1; Mon, 17 Jun 2019 01:46:20 +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 486EE15CFED0 for ; Mon, 17 Jun 2019 01:46:20 +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 E1F04712F5; Mon, 17 Jun 2019 01:46:19 +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 x5H1kIeW063490 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 Jun 2019 21:46:18 -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 x5H1kH5q083036; Sun, 16 Jun 2019 21:46:17 -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> From: "Mikhail T." Message-ID: <64325580-58fa-be6a-6045-58c5409ddb20@aldan.algebra.com> Date: Sun, 16 Jun 2019 21:46:17 -0400 MIME-Version: 1.0 In-Reply-To: <5zp5-yp43-wny@FreeBSD.org> Content-Language: en-US X-DCC-MGTINTERNET-Metrics: narawntapu 1170; Body=2 Fuz1=2 Fuz2=2 X-Rspamd-Queue-Id: E1F04712F5 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 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.98)[-0.982,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: Mon, 17 Jun 2019 01:46:21 -0000 On 16.06.19 21:31, Jan Beich wrote: > "Mikhail T." writes: > >> Gentlemen, do you realize, building Firefox on FreeBSD today one has >> to wait for the entire LLVM to be recompiled -- /twice/: once because >> gecko, inexplicably, wants LLVM itself, and also because rust builds >> its own bundled version... >> >> What's wrong with the binaries provided by the base OS?.. Yours, > See https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled Don't know about the video-drivers, but Firefox will happily build with llvm60, llvm70, and llvm80 -- for all the alleged "instability", evidently, the version is not a problem. > Maybe add "www/firefox needs libclang.so since 56.0 Looking at my currently running firefox with lsof, I do not see libclang being used. Indeed, the library is not used at all on my machine: "lsof | grep libclang" yields nothing... > and llvm-objdump since 67.0" if you have wiki account. I suspect, it is possible to remove this requirement with a small patch -- I can't see, what good llvm-objdump could do to the vast majority of users. And if it does something good, llvm-objdump is already part of base (at least, on this 12.0-STABLE laptop I'm trying to dress up)... Yours, -mi