[yocto] Where did my preferred version go?

Gary Thomas gary at mlbassoc.com
Wed May 14 11:06:35 PDT 2014


I have a number of platforms which [for whatever reason]
need older versions of GCC.  I've been supporting this by
keeping the older code around in my own layers - I need
4.7.x for some targets, even 4.6.x for others.

With the changes in the latest master (post 1.6/daisy), I
am no longer able to build those older compilers :-(  First
I had to fix up some core changes to just get the recipes to
even parse (bb.utils.contains), but now I get a slew of errors
like these:

   NOTE: preferred version 4.7% of libgcc-initial not available (for item libgcc-initial)
   NOTE: versions of libgcc-initial available: 4.8.2 4.9.0

I looked at the old recipes and they don't provide these
packages which make them unsuitable.

I know I should move these targets to the newer GCC, but at
this moment there simply are not the resources to do so, but
we still want to benefit from other improvements in OE-core
(and Poky/Yocto).

How can I move forward?  Is there some way to retrofit the
older compilers into the new [required] structures?  Perhaps
I could use the older compilers as external tool chain, but
the last time I tried to use this (in place of the internal,
build in place) tools, I could never make things happy :-(

Any suggestions more than welcome, thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list