Date: Wed, 5 Apr 2017 19:12:06 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org>, Matthew Rezny <rezny@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Dimitry Andric <dim@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, Johannes M Dieterich <jmd@freebsd.org>, Mark Millard <markmi@dsl-only.net> 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: <55bf3ea7-c601-ba55-822a-5b28cbca109f@FreeBSD.org> 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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WjAsUneJT7nd422H5VMBA6Mc4Ufb22fgn Content-Type: multipart/mixed; boundary="ni08C9tE33LjrPmq3SQ1sdiKLHT6lf9Eg"; protected-headers="v1" From: Mathieu Arnold <mat@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org>, Matthew Rezny <rezny@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Dimitry Andric <dim@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, Johannes M Dieterich <jmd@freebsd.org>, Mark Millard <markmi@dsl-only.net> Message-ID: <55bf3ea7-c601-ba55-822a-5b28cbca109f@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) 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> In-Reply-To: <20170405161541.GA32323@FreeBSD.org> --ni08C9tE33LjrPmq3SQ1sdiKLHT6lf9Eg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 05/04/2017 =C3=A0 18:15, Alexey Dokuchaev a =C3=A9crit : > On Thu, Mar 30, 2017 at 07:26:43PM +0200, Matthew Rezny wrote: >> LLVM 3.8 introduced the option to build a shared LLVM library, which i= s >> what Mesa needs for use at runtime (for e.g. compiling shaders), separ= ate >> from linking to it. Previous versions only had one option, if the libr= ary >> was built then all the LLVM binaries were staticly linked to it. [...]= >> >> llvm{35,36,37} are statically linked and thus smaller than normal. llv= m38 >> switched to dynamic linking, the default, thus the size grew. > Hmm, I don't quite get it: shouldn't static linking actually increase t= he > binaries (and thus the package) size? > >> I assume llvm40 will be a bit bigger, but do not expect to see another= >> jump as you've observed. > As Mark Millard reports: > >> I've also tried without WITH_DEBUG=3D 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. So, you are comparing the size of the llvm39 package with the size of the llvm40 after extraction ? --=20 Mathieu Arnold --ni08C9tE33LjrPmq3SQ1sdiKLHT6lf9Eg-- --WjAsUneJT7nd422H5VMBA6Mc4Ufb22fgn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJY5SVnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IggoQAK4Wbi+nKIl9ewU5F0R5UgF5 CVSUw5VfMpmMNUXkBPEmUJnTJebjS0pKiM79ToRJLWpbMOkXdk44ge13SrXhOoVG 5IytzkQ3ArbyyogvFv24rYFHT/1H8faL45XWVJuEvBKjFKbOc+qgtdJDeudjhcAV PJBIgn651qMyrVfoE8ajiiErhPJjO0e8ROq9RKuiQuERQJ+TpAjSKI//Yi57mMig KVqbbFmPi6znpSdnAsVLmSppWSvyqWyeGF52HK5C+yxLRmCsHvoXgDRFX84jektb g9vEa8m3wJ4Sq7tqzzl3rKNyDSXgi/VWvxm5L0TkyxeIxy/Hr1gb3LW2hJqF4Ttm 1TDZ8EqCZ0WFxSGhFVPxKfXmXew7Y0XGFs0HVPXMzaoMAYufNPicu4O4kJIiJoFK KZM68Q8V4ggo+dk5zQiYb0J5t6SCBJgDJbo5/UFJNR5QTOVDg+7W8Rxc+LSON9XX HOEvbF8fgCJHPcZF1IPbcL3p773XsO14vlt9eXjaMP3zfSkonsP3TV0GCKXKE6jQ +EB3/bakWz6d05dkz85ZGF4KiO1gtnqFpVR1dnDCDAr322+9n1xUuYb0KSdVLAL2 QHdwO1WRPKdY7LWKceHUnVmuSpEaA3XRMbQo2KDXBAQwMxt43x8dIKlBCx5rAueb 6kEPYRNapRS8XHHuHR6n =/NWs -----END PGP SIGNATURE----- --WjAsUneJT7nd422H5VMBA6Mc4Ufb22fgn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55bf3ea7-c601-ba55-822a-5b28cbca109f>