Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
@ 2020-11-21 22:59 ` CameronNemo
  2020-11-21 23:13 ` the-maldridge
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: CameronNemo @ 2020-11-21 22:59 UTC (permalink / raw)
  To: ml

[-- 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() {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] strip debugging symbols from musl and glibc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
  2020-11-21 22:59 ` [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc CameronNemo
@ 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
  3 siblings, 0 replies; 4+ messages in thread
From: the-maldridge @ 2020-11-21 23:13 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/8372#issuecomment-731650726

Comment:
I think with the launch of deboginfod this should be more palatable.  If you're doing a debug trace in the wild you're likely already going to have network access to fetch the debug packages for whatever you're actually debugging.   With debuginfod this should now be fully transparent as symbols are fetched on the fly.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
  2020-11-21 22:59 ` [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc CameronNemo
  2020-11-21 23:13 ` the-maldridge
@ 2020-11-21 23:29 ` CameronNemo
  2021-09-29 22:28 ` [PR PATCH] [Closed]: " CameronNemo
  3 siblings, 0 replies; 4+ messages in thread
From: CameronNemo @ 2020-11-21 23:29 UTC (permalink / raw)
  To: ml

[-- 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() {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: [RFC] strip debugging symbols from musl and glibc
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-11-21 23:29 ` [PR PATCH] [Updated] " CameronNemo
@ 2021-09-29 22:28 ` CameronNemo
  3 siblings, 0 replies; 4+ messages in thread
From: CameronNemo @ 2021-09-29 22:28 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

[RFC] strip debugging symbols from musl and glibc
https://github.com/void-linux/void-packages/pull/8372

Description:
[ci skip]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-29 22:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-8372@inbox.vuxu.org>
2020-11-21 22:59 ` [PR PATCH] [Updated] [RFC] strip debugging symbols from musl and glibc CameronNemo
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

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).