Github messages for voidlinux
 help / color / mirror / Atom feed
From: CameronNemo <CameronNemo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc
Date: Sun, 22 Nov 2020 00:29:44 +0100	[thread overview]
Message-ID: <20201121232944.2tx_uUJE6bWO8nn2LhT1gGpYmhocZ9STFNeUVnIjUQc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages libc-strip
https://github.com/void-linux/void-packages/pull/8372

[RFC] strip debugging symbols from musl and glibc
[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/8372.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libc-strip-8372.patch --]
[-- Type: text/x-diff, Size: 2381 bytes --]

From da1eca3253a1bcb42290502f6df25d60e5a49893 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Fri, 8 Feb 2019 00:29:20 -0800
Subject: [PATCH 1/2] glibc: strip debug symbols

---
 srcpkgs/glibc/template | 26 ++------------------------
 1 file changed, 2 insertions(+), 24 deletions(-)

diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index 4ea327aa1fa..1054b7683f4 100644
--- a/srcpkgs/glibc/template
+++ b/srcpkgs/glibc/template
@@ -1,7 +1,7 @@
 # Template file for 'glibc'
 pkgname=glibc
 version=2.30
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU C library"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -20,28 +20,7 @@ nostrip_files="
 	POSIX_V7_ILP32_OFFBIG
 	POSIX_V6_LP64_OFF64
 	POSIX_V7_LP64_OFF64
-	XBS5_LP64_OFF64
-	ld-${version}.so
-	libdl-${version}.so
-	libanl-${version}.so
-	libcidn-${version}.so
-	libresolv-${version}.so
-	libcrypt-${version}.so
-	libpthread-${version}.so
-	libm-${version}.so
-	libutil-${version}.so
-	libthread_db-1.0.so
-	librt-${version}.so
-	libnsl-${version}.so
-	libc-${version}.so
-	libBrokenLocale-${version}.so
-	libnss_compat-${version}.so
-	libnss_db-${version}.so
-	libnss_dns-${version}.so
-	libnss_files-${version}.so
-	libnss_hesiod-${version}.so
-	libnss_nisplus-${version}.so
-	libnss_nis-${version}.so"
+	XBS5_LP64_OFF64"
 
 conf_files="
 	/etc/rpc
@@ -201,7 +180,6 @@ glibc-devel_package() {
 	}
 }
 glibc-locales_package() {
-	archs="noarch"
 	conf_files="/etc/default/libc-locales"
 	short_desc+=" - locale data files"
 	pkg_install() {

From a280b8d7a256f6d06635783a493e7df283cf9589 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Fri, 8 Feb 2019 23:08:26 -0800
Subject: [PATCH 2/2] musl: strip debug symbols

---
 srcpkgs/musl/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template
index a08ef9e0d89..76c8644e31f 100644
--- a/srcpkgs/musl/template
+++ b/srcpkgs/musl/template
@@ -2,7 +2,7 @@
 pkgname=musl
 reverts="1.2.0_1"
 version=1.1.24
-revision=5
+revision=6
 archs="*-musl"
 bootstrap=yes
 build_style=gnu-configure
@@ -16,7 +16,6 @@ distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
 checksum=1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3
 conflicts="glibc>=0"
 
-nostrip_files="libc.so"
 shlib_provides="libc.so"
 
 post_build() {

  parent reply	other threads:[~2020-11-21 23:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
2020-10-26  4:35 ` CameronNemo
2020-11-21 22:59 ` CameronNemo
2020-11-21 23:13 ` the-maldridge
2020-11-21 23:29 ` CameronNemo [this message]
2021-09-29 22:28 ` [PR PATCH] [Closed]: " CameronNemo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201121232944.2tx_uUJE6bWO8nn2LhT1gGpYmhocZ9STFNeUVnIjUQc@z \
    --to=cameronnemo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).