Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2017 19:44:51 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Matthew Rezny <rezny@freebsd.org>, Dimitry Andric <dim@freebsd.org>, Mark Millard <markmi@dsl-only.net>, Johannes M Dieterich <jmd@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: FYI: what it takes for RAM+swap to build devel/llvm40 with 4 processors or cores and WITH__DEBUG= (powerpc64 example)
Message-ID:  <20170405164451.GD20974@zxy.spb.ru>
In-Reply-To: <20170405161541.GA32323@FreeBSD.org>
References:  <3EDEF0B7-59C5-4648-9737-6682E18645BC@dsl-only.net> <7F94CE59-D2CC-4D6F-B1CD-FF3D1F8EDCE7@FreeBSD.org> <20170330170648.GA38004@FreeBSD.org> <2502554.oHoOYGyFJH@workstation.reztek> <20170405161541.GA32323@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 05, 2017 at 04:15:41PM +0000, Alexey Dokuchaev wrote:

> > I've also tried without WITH_DEBUG= and now. . .
> > 
> > # pkg delete llvm40
> > Checking integrity... done (0 conflicting)
> > Deinstallation has been requested for the following 1 packages (of 0
> > packages in the universe):
> > 
> > Installed packages to be REMOVED:
> >         llvm40-4.0.0
> > 
> > Number of packages to be removed: 1
> > 
> > The operation will free 1 GiB.
> 
> That 1G looks like a big jump from 259M of llvm39-3.9.1_1.txz to me.
> I'm surely looking forward modularization of LLVM port; rebuilding it
> every time becomes a real PITA given that X11 stack requires it. :-(

What real reason of requiring llvm for X11?
I am about run time depends:

# pkg info -r llvm39
llvm39-3.9.1_4:
        libEGL-13.0.6
        dri-13.0.6,2

# ldd /usr/local/lib/libXvMCr600.so
/usr/local/lib/libXvMCr600.so:
[...]
        libLLVM-3.9.so => /usr/local/llvm39/lib/libLLVM-3.9.so (0x803e00000)
        libLTO.so => /usr/local/llvm39/lib/../lib/libLTO.so (0x808200000)
[...]

# ls -lh /usr/local/llvm39/lib/libLLVM-3.9.so /usr/local/llvm39/lib/../lib/libLTO.so
-rwxr-xr-x  1 root  wheel    38M Apr  2 18:18 /usr/local/llvm39/lib/../lib/libLTO.so
-rwxr-xr-x  1 root  wheel    47M Apr  2 18:18 /usr/local/llvm39/lib/libLLVM-3.9.so

libXvMCr600 realy do run-time llvm interpetation and linker-time optimisation?!

Also, I am don't see any realy dependence libEGL-13.0.6 from llvm.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170405164451.GD20974>