Re: How to prevent a binary from being stripped by rpmbuild?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Josh Boyer <jwboyer@xxxxxxxxx> wrote:

> You might also want to redefine %{__strip} to the appropriate
> cross-strip utility, or /bin/true.  Something like:
> 
> %define debug_package %{nil}
> %define __strip /bin/true

Ah, so I can make a shell script to apply the appropriate strip binary...

Jan Kratochvil <jan.kratochvil@xxxxxxxxxx> wrote:

> rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> See: /usr/lib/rpm/find-debuginfo.sh

Interesting:

+ eu-strip -g /data/cross-gcc/cross-gcc/rpmbuild/BUILDROOT/cross-gcc-4.6.2-1.fc16.1.x86_64/usr/lib64/gcc/powerpc64-linux-gnu/4.6.2/libgcov.a
/data/cross-gcc/cross-gcc/rpmbuild/BUILDROOT/cross-gcc-4.6.2-1.fc16.1.x86_64/strip: line 9: 28521 Segmentation fault      eu-strip $*

David
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux