[OE-core] Recovering GCC 4.8

Gary Thomas gary at mlbassoc.com
Fri Feb 19 06:37:48 UTC 2016


I have a need for GCC 4.8 which was recently dropped from OE-core.

commit d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Nov 11 08:50:02 2015 -0800

     gcc: Drop 4.8

     We have 5.2 and 4.9, we don't really need 4.8 now and it can be moved
     out to other layers if anyone still wants/needs it.

     (From OE-Core rev: 6f98c39418c60b7c0b25b30983d2e5257158a6a4)

I tried to recover this by merging from the parent revision
(poky 2cb1aee04) all of the files mentioned in this change
into my local layer.  Sadly, it does not build, but fails
rather early on (I'm building for Freescale LS1 cortexa7hf)

| checking for arm-amltd-linux-gnueabi-gcc... arm-amltd-linux-gnueabi-gcc  -march=armv7ve -mfpu=neon  -mfloat-abi=hard 
-mcpu=cortex-a7 --sysroot=/local/p0381_2016-02-19/tmp/sysroots/teton-p0381
| checking for suffix of object files... configure: error: in 
`/local/p0381_2016-02-19/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/libgcc-initial/4.8.4-r0/gcc-4.8.4/build.arm-amltd-linux-gnueabi.arm-amltd-linux-gnueabi/libgcc':
| configure: error: cannot compute suffix of object files: cannot compile
| See `config.log' for more details.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at 
/local/p0381_2016-02-19/tmp/work/cortexa7hf-neon-amltd-linux-gnueabi/libgcc-initial/4.8.4-r0/temp/log.do_configure.9193)
ERROR: Task 1484 (/local/poky-cutting-edge/meta-amltd/recipes-devtools/gcc/libgcc-initial_4.8.bb, do_configure) failed 
with exit code '1'

Any ideas how I can get this to build?  I looked for some other
layer to which this might have been moved, but did not find any.

Thanks

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



More information about the Openembedded-core mailing list