Re: RPM strip scripts and executables as shared objects

2019-03-29 Thread Robert Marcano
On 3/29/19 1:44 PM, Josh Stone wrote: On 3/29/19 9:17 AM, Robert Marcano wrote: I have been working on a private RPM for a Rust based program Side note on this -- if you do package Rust shared libraries, not just executables, and you want them to be available for further linking, then rustc ne

Re: RPM strip scripts and executables as shared objects

2019-03-29 Thread Josh Stone
On 3/29/19 9:17 AM, Robert Marcano wrote: > I have been working on a private RPM for a Rust based program Side note on this -- if you do package Rust shared libraries, not just executables, and you want them to be available for further linking, then rustc needs to have the metadata in the .rustc s

Re: RPM strip scripts and executables as shared objects

2019-03-29 Thread Robert Marcano
On 3/29/19 12:23 PM, Tom Hughes wrote: On 29/03/2019 16:17, Robert Marcano wrote: I have been working on a private RPM for a Rust based program and noticed that the RPM strip scripts are not reducing the binaries files like when I execute strip directly on those binaries. The first thing I c

Re: RPM strip scripts and executables as shared objects

2019-03-29 Thread Tom Hughes
On 29/03/2019 16:17, Robert Marcano wrote: I have been working on a private RPM for a Rust based program and noticed that the RPM strip scripts are not reducing the binaries files like when I execute strip directly on those binaries. The first thing I checked is the brp-strip script. This one

RPM strip scripts and executables as shared objects

2019-03-29 Thread Robert Marcano
I have been working on a private RPM for a Rust based program and noticed that the RPM strip scripts are not reducing the binaries files like when I execute strip directly on those binaries. The first thing I checked is the brp-strip script. This one is filtering executables where "file" repor