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: Sat, 21 Nov 2020 23:59:58 +0100	[thread overview]
Message-ID: <20201121225958.ulJvOJftXUJO6SYkGekHqOfAb99Czto9HBIECMCTkFI@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: 2188 bytes --]

From dd38e8c2cdb3701893220a02d4349a06906eca0b 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 | 24 +-----------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index 4ea327aa1fa..f44815264f7 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
@@ -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 f84e83495fd4df9b8e4bf06baae64cafa7b6c2e6 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() {

  parent reply	other threads:[~2020-11-21 23:00 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 [this message]
2020-11-21 23:13 ` the-maldridge
2020-11-21 23:29 ` [PR PATCH] [Updated] " CameronNemo
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=20201121225958.ulJvOJftXUJO6SYkGekHqOfAb99Czto9HBIECMCTkFI@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).