https://bugzilla.redhat.com/show_bug.cgi?id=2449216
--- Comment #42 from Brad Smith <[email protected]> --- Is there a way to change from LD to LLD when using the cargo macros in a spec file? I added `-fuse-ld=lld` to LDFLAGS in the spec file. + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -fuse-ld=lld' Build worked. But using readelf to check for LLD did not verify LLD (on an F44 vm): [vagrant@localhost vagrant]$ readelf --string-dump .comment /usr/lib64/libpathrs.so.0.2.4 | grep -i LLD readelf: Warning: Section '.comment' was not dumped because it does not exist -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2449216 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202449216%23c42 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
