How to prevent a binary from being stripped by rpmbuild?

Josh Boyer jwboyer at gmail.com
Sat Dec 10 12:20:37 UTC 2011


On Sat, Dec 10, 2011 at 4:52 AM, Jan Kratochvil
<jan.kratochvil at redhat.com> wrote:
> On Sat, 10 Dec 2011 01:32:01 +0100, David Howells wrote:
>> Thus the strip program used (from
>> the wrong binutils) appears to corrupt the binary.
>
> rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> See: /usr/lib/rpm/find-debuginfo.sh

That's if debuginfo packages are enabled.  If they aren't it uses
plain strip afaik.

josh


More information about the devel mailing list