Comment 15 for bug 2049904

Revision history for this message
Mate Kukri (mkukri) wrote :

@oibaf

Ah I understand that now, I just blanked and missed for a second this was always marked "Fix Released" for Debian on here.

I believe the DM for this package (jpakkane) is also one of the main upstream maintainers (and designer) of Meson, I wonder about his opinion on whether this is appropriate for inclusion in Debian and/or Meson? I am currently of the belief that rustc cannot internally know that a specific library given to it on a command line depends on libc so it needs to be told some way, but maybe it would be reasonable for rustc to always link with libc last.

However the above is a rather subtle point, and this patch does fix the library ordering issue at least for the specific case of implicit libc use, so I don't see it doing anymore harm in being Ubuntu. This however isn't my primary domain, so I'd rather leave a "proper" fix up-to someone who is more interested in these kinds of problems.