Re: Trying to strip a library automatically

2023-06-02 Thread Paul Grosu
Hi Orion, Glad objdump helped -- the second approach I meant to write objcopy, which actually strips the symbols. Regarding how the symbols might show up in the library automatically, here's how it might happen. When I took a look at one of the build.log files from koji at the following link:

Re: Trying to strip a library automatically

2023-06-02 Thread Orion Poplawski
On 6/1/23 23:00, Paul Grosu wrote: Hi Orion, There are two ways to remove the debugging symbols: 1) strip --strip-debug your_library.so 2) objcopy --strip-debug your_library.so Below is an example of both approaches: 1) Method using strip: paul$ objdump --syms libfoo.so | grep debug

Re: Trying to strip a library

2023-06-01 Thread Paul Grosu
Hi Orion, There are two ways to remove the debugging symbols: 1) strip --strip-debug your_library.so 2) objcopy --strip-debug your_library.so Below is an example of both approaches: 1) Method using strip: paul$ objdump --syms libfoo.so | grep debug ld .debug_aranges

Trying to strip a library

2023-06-01 Thread Orion Poplawski
I'm trying to resolve this packaging issue with Lmod: https://artifacts.dev.testing-farm.io/4d7bee41-8d21-42fb-8c57-e5ffbf58119f/ debuginfo BAD /usr/share/lmod/8.7.25/lib/tcl2lua.so in Lmod-8.7.25-2.fc38 on i686 contains debugging symbols I've dealt with a couple of issues here: