Re: RPM strip scripts and executables as shared objects

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

 



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 needs to have the metadata in the .rustc section. In rust.spec, I
had to explicitly preserve this:

%global _find_debuginfo_opts --keep-section .rustc

(This is assuming you also side-step the Rust ABI question by keeping a
consistent rustc version for all your shared library use.)


Only using static linking (for Rust code), but this is good to know, Thanks.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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