Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 06970781059 for <~alpine/devel@lists.alpinelinux.org>; Tue, 7 Jul 2020 12:10:27 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 63BB2CD54B; Tue, 7 Jul 2020 12:10:26 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 8CDDFCD54A; Tue, 7 Jul 2020 12:10:25 +0000 (UTC) Date: Tue, 7 Jul 2020 14:10:20 +0200 From: Natanael Copa To: "Alex Xu (Hello71)" Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: Debug symbol compression Message-ID: <20200707141020.33a4d2a4@ncopa-desktop.copa.dup.pw> In-Reply-To: <1593702164.2nw55qdomr.none@localhost> References: <1593702164.2nw55qdomr.none.ref@localhost> <1593702164.2nw55qdomr.none@localhost> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 02 Jul 2020 13:09:19 -0400 "Alex Xu (Hello71)" wrote: > Modern DWARF debugging sections can be compressed with zlib to save > storage. This is done using the gcc -gz or objcopy > --compress-debug-sections options. > > Currently, Alpine does not compress debug sections. I think we should > consider doing so. ... > == Conclusions == > > Overall, I think that once libunwind is bumped to 1.5, we should start > compressing debug sections. We shouldn't support old bundled versions of > gdb or libunwind, and the installed size benefit is substantial. In my > opinion, the speed difference is negligible compared to the size > benefits. If we switch to zstd apk format, then that will unfortunately > likely need to be reverted. I think that makes sense. Lets bring it up again once libunwind 1.5 is out and our package is updated. > > [1] https://gitlab.alpinelinux.org/alpine/aports/-/issues/10896 > [2] https://github.com/schnaader/precomp-cpp