Re: [yocto] Building u-boot with clang
Khem Raj <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CAMKF1spXY01T+dURZV8R01P3Rd9bT2misk8RQg2z7fVAJv9=vw@mail.gmail.com> |
On Thu, Oct 16, 2025 at 10:23 PM Anirudh Mathukumilli via Lists.Yoctoproject.Org <[email protected]> wrote: > > After spending some time poking around this evening, it seemed to me that changing the GCC recipes in poky/recipes-devtools/gcc to use an older version would work. Is there a problem with this approach? I figure I might need to mess with the patches and some of the other settings in that recipe, but it seemed promising. What am I missing? Lot of new packages expect newer gcc, so even if you got old gcc working with latest YP somehow, you will have to work through these packages, even glibc in master currently expects at least gcc 12. > > If it's not possible to use an older GCC version in modern Yocto, is my only option to try and use an earlier version of yocto that uses an earlier version of GCC? That might work if you pick the right yocto release which supports the gcc version you are intending to use. However that release will be EOL so lot of software you will build will be old and EOL too.