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: Mon, 26 Oct 2020 05:35:06 +0100	[thread overview]
Message-ID: <20201026043506.0HJPxwz3taxVfHJExxl3s08Y8vJ4Ckcr1yXhg4Qa92g@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: 348 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


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: 1996 bytes --]

From 963d808f49aed5130f0c3ff63a59b928d4938bdd 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 | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index 4ea327aa1fa..a8931c461a1 100644
--- a/srcpkgs/glibc/template
+++ b/srcpkgs/glibc/template
@@ -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

From cf19400d5b3634e2c07f4bfc0c8778a486098d86 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 22e79588acd..8c07af268aa 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=3
+revision=4
 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() {

       reply	other threads:[~2020-10-26  4:35 UTC|newest]

Thread overview: 3+ 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 [this message]
2020-11-21 22:59 ` CameronNemo
2020-11-21 23:29 ` 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=20201026043506.0HJPxwz3taxVfHJExxl3s08Y8vJ4Ckcr1yXhg4Qa92g@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).