Re: [PATCH v2 0/8] Improve ld.lld-21+ compatibility when building i386-pc target
Radoslav Kolev via Grub-devel <[email protected]> Thu, 12 Feb 2026 09:53:19 +0200
| Newsgroups | org.gnu.grub-devel |
|---|---|
| Message-ID | <CAPZ8gQtfcmCKaTmC99z0wF_M0jByOih4O7qaKuB2LrJuLZhoCA@mail.gmail.com> |
On Wed, Feb 11, 2026 at 1:28 AM Nicholas Vinson <nvinso in a linker error. Furthermore, > The changes for ofpath.c are a bit more involved because the original > code would modify the string 'ed' pointed to. With C23, ed needs to be a > 'const char *' because sysfs_path is a 'const char *'. This also means > that the line "*q = '\0'" is no longer valid because you cannot safely > modify a const char string. I may be completely missing something important here, but I run into the same issue trying to build against glibc 2.43 and my fix for ofpath.c was less invasive. I'm sending my patch in a reply, please have a look. Regards, Rado _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel