All of lore.kernel.org
 help / color / mirror / Atom feed
* Recovering GCC 4.8
@ 2016-02-19  6:37 Gary Thomas
  2016-02-19  8:02 ` Phil Blundell
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2016-02-19  6:37 UTC (permalink / raw)
  To: OE-core

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

commit d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57
Author: Richard Purdie <richard.purdie@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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recovering GCC 4.8
  2016-02-19  6:37 Recovering GCC 4.8 Gary Thomas
@ 2016-02-19  8:02 ` Phil Blundell
  2016-02-19  8:34   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Blundell @ 2016-02-19  8:02 UTC (permalink / raw)
  To: Gary Thomas; +Cc: OE-core

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recovering GCC 4.8
  2016-02-19  8:02 ` Phil Blundell
@ 2016-02-19  8:34   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2016-02-19  8:34 UTC (permalink / raw)
  To: Phil Blundell; +Cc: OE-core

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 <Martin.Jansa@gmail.com>
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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-19  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-19  6:37 Recovering GCC 4.8 Gary Thomas
2016-02-19  8:02 ` Phil Blundell
2016-02-19  8:34   ` Gary Thomas

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.