Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to build a cross-compiling toolchain based on gcc, glibc and binutils.
In all the howto's and tutorials I can find patches are applied to said packages, although
never the same patches it seems like.
The comments in most of these patches indicate that the patch fixes some bug or adds some functionality.
My question is: Does the patch fix or implements the functionality only for that version/release of the package and is it then absorbed into the package meaning that a new version of the package needs not be patched again.
Can someone please explain this to me or at least shed some light on the subject?
Well ultimately a patch may or may not be accepted my the main application developers. There are often very good reasons why a patch isn't integrated, it may be an "optimization" that may only work under certain circumstances, and might otherwise reduce performance. just an example of course.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Unless you really want something the patch does, it is really pointless. I've had programs that wouldn't compile without a patch. You pretty much have to patch with those. I usually don't bother with patches, except kernel patches in debian.
I think I see what you mean - if the patch fixes something or improves the package for a supported platform it will probably be integrated into the package, like for example: "fixes crash in glibc if ... so and so" let say on a ARM processor.
Else if it only let say implements soft-float for ARM in gcc it might not make it in.
Thanks for your insight guys... The release notes will probably also shed light on the subject....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.