Re: [OE-core] Recovering GCC 4.8

2016-02-19 Thread Gary Thomas

On 2016-02-19 09:02, Phil Blundell wrote:

On Fri, 2016-02-19 at 07:37 +0100, Gary Thomas wrote:

| 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.


I suspect you probably have some or other option set in CC or CFLAGS
that gcc-4.8 doesn't support.  What does it say in config.log?


It's complaining about an illegal -march=armv7ve, which seems to have
been added since I last built for this machine with GCC 4.8:

commit c6a19917ec5350cdfc4053d14462609782613bbc
Author: Martin Jansa 
Date:   Tue Oct 6 17:08:59 2015 +0200

arch-armv7ve: add tune include for armv7ve and use it from cortexa7 and 
cortexa15

I'll see what I can do with this.  Duh, I should have looked at
the config.log before raising flags!

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] Recovering GCC 4.8

2016-02-19 Thread Phil Blundell
On Fri, 2016-02-19 at 07:37 +0100, Gary Thomas wrote:
> | 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.

I suspect you probably have some or other option set in CC or CFLAGS
that gcc-4.8 doesn't support.  What does it say in config.log?

p.


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Recovering GCC 4.8

2016-02-18 Thread Gary Thomas

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

commit d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57
Author: Richard Purdie 
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

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core