On (09/05/10 11:24), Tom Rini wrote:
> On Sat, 2010-05-08 at 08:11 -0700, Tom Rini wrote:
> > On Sat, 2010-05-08 at 09:06 +0200, Frans Meulenbroeks wrote:
> > > 2010/5/7 Tom Rini <[email protected]>:
> > > > Hey all,
> > > >
> > > > With DISTRO=minimal and MACHINE=calamari, I see the following failure in
> > > > gnutls (using fe4ff6940b06c73d5b88224b99750bf65accf13d in oe.dev):
> > > > http://pastebin.com/cjAStcLb and I confirmed this prior to the RP merge,
> > > > so this is unrelated.
> > >
> > > Which eglibc is that?
> > > The issues I had seemed due to some catch22 situation that I cured; I
> > > started a clean build yesterday before I left work & can tell the
> > > results on monday.
> > > My distro was angstrom, machine calamari, this uses eglibc 2.10. Is
> > > minimal also using 2.10 or is it at 2.11
> > >
> > > I can also try to kick off a minimal build on monday
> >
> > minimal is eglibc 2.10. I'll try an Angstrom build.
>
> With Angstrom, gcc-cross-initial fails building libgcc, config.log has:
> cc1: error: not configured for ABI: 'spe'
> configure:2591: $? = 1
> configure: failed program was:
> ... standard empty program ...
> configure:2605: error: cannot compute suffix of object files: cannot
> compile
>
> Ubuntu 9.10 x86_64 host
Could you test with attached gcc patch please. This should fix the
undefined symbol error. You could use minimal distro for SPE targets
it should work. Please let me know if it works for you.
Thanks
-Khem
>
>
> --
> Tom Rini <[email protected]>
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
index fe8b486..892d684 100644
--- a/recipes/gcc/gcc-configure-common.inc
+++ b/recipes/gcc/gcc-configure-common.inc
@@ -21,10 +21,7 @@ OBJC ?= ",objc"
# hidden symbols in libgcc.a which linker complains
# when linking shared libraries further in the build like (gnutls)
-OPTSPACE_linux-gnuspe ?= ""
-OPTSPACE_linux-uclibcspe ?= ""
-OPTSPACE ?= "--enable-target-optspace"
-
+OPTSPACE = "$...@base_contains('TARGET_ARCH', 'powerpc', '', '--enable-target-optspace',d)}"
# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
FORTRAN ?= ",f77"
LANGUAGES ?= "c,c++${OBJC}${FORTRAN}${JAVA}"
diff --git a/recipes/gcc/gcc-cross-initial.inc b/recipes/gcc/gcc-cross-initial.inc
index 97002f9..25d7ba5 100644
--- a/recipes/gcc/gcc-cross-initial.inc
+++ b/recipes/gcc/gcc-cross-initial.inc
@@ -12,11 +12,11 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
--disable-multilib \
--disable-__cxa_atexit \
--enable-languages=c \
- --enable-target-optspace \
--program-prefix=${TARGET_PREFIX} \
--with-sysroot=${STAGING_DIR_TARGET} \
--with-build-sysroot=${STAGING_DIR_TARGET} \
${EXTRA_OECONF_INITIAL} \
+ ${OPTSPACE} \
$...@get_gcc_fpu_setting(bb, d)} \
$...@get_gcc_mips_plt_setting(bb, d)}"
diff --git a/recipes/gcc/gcc-cross-intermediate.inc b/recipes/gcc/gcc-cross-intermediate.inc
index 0c06d6f..cbc8638 100644
--- a/recipes/gcc/gcc-cross-intermediate.inc
+++ b/recipes/gcc/gcc-cross-intermediate.inc
@@ -10,10 +10,10 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
--disable-multilib \
--disable-threads \
--enable-languages=c \
- --enable-target-optspace \
--program-prefix=${TARGET_PREFIX} \
--with-sysroot=${STAGING_DIR_TARGET} \
--with-build-sysroot=${STAGING_DIR_TARGET} \
+ ${OPTSPACE} \
${EXTRA_OECONF_INTERMEDIATE} \
$...@get_gcc_fpu_setting(bb, d)} \
$...@get_gcc_mips_plt_setting(bb, d)}"
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel