[OE-core] [PATCH] gcc: move --enable-target-optspace workaround to just gcc-4.5.1

Kumar Gala galak at kernel.crashing.org
Thu Aug 11 08:13:56 UTC 2011


On Aug 9, 2011, at 11:12 PM, Kumar Gala wrote:

> For ppc we disable '--enable-target-optspace' because of a bug in gcc
> 4.5.x.  gcc 4.6.x fixes this issue so no need to do this.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> meta/recipes-devtools/gcc/gcc-4.5.1.inc            |    8 ++++++++
> meta/recipes-devtools/gcc/gcc-4.6.inc              |    2 +-
> meta/recipes-devtools/gcc/gcc-configure-common.inc |    7 +------
> 3 files changed, 10 insertions(+), 7 deletions(-)

Khem,

When I drop to do this I see the following:

| /local/home/galak/git/poky-gcc-opt/build/tmp/sysroots/x86_64-linux/usr/lib/ppc603e-poky-linux.gcc-cross-intermediate/gcc/powerpc-poky-linux/4.6.1/crtend.o: In function `__do_global_ctors_aux':
| crtstuff.c:(.text+0xc): undefined reference to `_savegpr_31'

I noticed some gcc bug about 4.5.x that you where on, but not sure why we same issue on 4.6 as it has the patch you reference about this issue.

I don't quite understand what it was the patch was doing that you referenced so I'm a bit stuck at this point.

- k



More information about the Openembedded-core mailing list