https://bugzilla.redhat.com/show_bug.cgi?id=2449216



--- Comment #21 from [email protected] ---
(In reply to Brad Smith from comment #19)
> In reply to cyphar from comment #16)
> > Just chiming in to say that I'm the author of libpathrs and one of the
> > upstream runc maintainers. Please let me know if there is anything I can do
> > to help with packaging -- I packaged this for openSUSE but never got around
> > to figuring out how Rust packaging on Fedora would work with this kind of
> > crate, so I'm really quite grateful someone else has done this for me.
> 
> Thanks for checking in. I see that CRI-O 1.36 list go-pathrs as a dependency
> now as do other packages. I have been reviewing your OpenSUSE spec file.
> 
> Is using clang a hard requirement?

So, lld is a hard requirement for all architectures -- GNU ld doesn't like the
hacks you need to do to get symbol versioning working with Rust, so lld is a
requirement.
On *some* architectures (aarch64, if memory serves) rustc will pass special
linker flags based on what -linker= flag you have configured (to work around
some arch-specific issues on a per-linker basis), and in my experience that
meant you needed to use clang (-fuse-ld=lld isn't enough to stop rustc from
passing bad flags to lld). It is possible that the newest Rust versions
(>=1.90, which default to lld) don't need these workarounds but most of my
packaging / testing work was dealing with old Rust versions.

You can patch around this by removing the symbol versioning stuff (alas, I
haven't made that a feature or rustcfg...) but you probably want to have symbol
versioning (there will likely be some breaking API changes in the near future
-- I hope to get v0.2.5 out with some critical fixes soon-ish before we ship
runc 1.5 :/).

(In reply to Brad Smith from comment #20)
> Would you care to be added as a maintainer? Assuming you have packager
> status in Fedora, of course.

Sadly I'm not a Fedora packager, I have a decent amount of experience doing
openSUSE packaging but you folks definitely approach things a little
differently. ;)
I've been messing around with some Fedora packaging stuff at $new_job and it is
a bit surprising how much stuff is different.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
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%23c21

-- 
_______________________________________________
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

Reply via email to