Mageia Bugzilla – Attachment 11630 Details for
Bug 26517
glibc isn't properly stripped off debuginfo which then leaks in rpm testsuite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
strip debug from libc_nonshared.a
0001-strip-debuging-from-libc_nonshared.a-mga-26517.patch (text/plain), 684 bytes, created by
Thierry Vignaud
on 2020-05-09 16:10:22 CEST
(
hide
)
Description:
strip debug from libc_nonshared.a
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2020-05-09 16:10:22 CEST
Size:
684 bytes
patch
obsolete
>From 0cf860e484724e8a9dfe73ac3262a8ac15e3ecbd Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Sat, 9 May 2020 16:04:50 +0200 >Subject: [PATCH] strip debuging from libc_nonshared.a (mga#26517) > >--- > SPECS/glibc.spec | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/SPECS/glibc.spec b/SPECS/glibc.spec >index 87548f7..4dc9960 100644 >--- a/SPECS/glibc.spec >+++ b/SPECS/glibc.spec >@@ -945,6 +945,13 @@ for i in *.a; do > fi > done > popd >+pushd $RPM_BUILD_ROOT%{_libdir} >+for i in libc_nonshared.a; do >+ if [ -f "$i" ]; then >+ $Strip -g -R .comment $i >+ fi >+done >+popd > > # post install wrapper > %__cc -Os -g %{SOURCE14} -static \ >-- >2.26.2 >
From 0cf860e484724e8a9dfe73ac3262a8ac15e3ecbd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Sat, 9 May 2020 16:04:50 +0200 Subject: [PATCH] strip debuging from libc_nonshared.a (mga#26517) --- SPECS/glibc.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SPECS/glibc.spec b/SPECS/glibc.spec index 87548f7..4dc9960 100644 --- a/SPECS/glibc.spec +++ b/SPECS/glibc.spec @@ -945,6 +945,13 @@ for i in *.a; do fi done popd +pushd $RPM_BUILD_ROOT%{_libdir} +for i in libc_nonshared.a; do + if [ -f "$i" ]; then + $Strip -g -R .comment $i + fi +done +popd # post install wrapper %__cc -Os -g %{SOURCE14} -static \ -- 2.26.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26517
:
11622
|
11623
|
11624
|
11625
|
11626
|
11627
|
11628
|
11629
| 11630 |
11631