From: Trevor Woerner <twoerner@gmail.com>
To: yocto@yoctoproject.org
Subject: specify compiler version in recipe
Date: Mon, 21 Sep 2015 22:47:55 -0400 [thread overview]
Message-ID: <5600C15B.2020908@gmail.com> (raw)
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
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
next reply other threads:[~2015-09-22 2:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 2:47 Trevor Woerner [this message]
2015-09-22 5:27 ` specify compiler version in recipe Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5600C15B.2020908@gmail.com \
--to=twoerner@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.