> On Sep 21, 2015, at 7:47 PM, Trevor Woerner <[email protected]> wrote: > > Hello, > > It looks like I already know the answer to this one... ;-) > > I'm guessing it isn't possible to specify the compiler version in a > recipe? That's probably way too late in the parse stage? > > There are some vendor Linux kernels for some BSPs that are old enough to > pre-date the: > > fatal error: linux/compiler-gcc5.h: No such file or directory
back port the needed patch from upstream kernel. No other solution will be comprehensive. > > issue. Which means we have to rely on users reading the README and > updating their conf/local.conf files to include > > GCCVERSION = "4.9%" > > Unfortunately that process is error-prone. It would be great to have > that occur automatically. In other words: if you want to use the > community/default/upstream kernel then use the latest compiler (but you > won't have accelerated graphics). If you want accelerated graphics then > you have to PREFER an older kernel *and* specify which version of gcc to > use in your conf/local.conf. > > Can anyone think of a clever trick for this one? > > Are BSP maintainers patching their old kernels to support post-gcc-5.0 > versions? > > Best regards, > Trevor > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
