calamari (ppc e500v2) failure
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.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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
Frans
Quoted 8 lines · Frans Meulenbroeks
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din oe.dev):
http://pastebin.com/cjAStcLb and I confirmed this prior to the RP merge, so this is unrelated.
Quoted 8 lines
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.11I can also try to kick off a minimal build on monday
minimal is eglibc 2.10. I'll try an Angstrom build.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 16 lines · Tom Rini
Quoted 15 lines · Frans Meulenbroeks
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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
Quoted 3 lines
Quoted 1 line
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
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 29 lines · Tom Rini
Quoted 16 lines · Tom Rini
Quoted 15 lines · Frans Meulenbroeks
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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
Quoted 1 line
Ubuntu 9.10
x86_64host
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
Quoted 10 lines
Signature · 8 lines
-- Tom Rini <[email protected]> Mentor Graphics Corporation _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
recipes/gcc/gcc-configure-common.inc +1 -4
@@ -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}"
recipes/gcc/gcc-cross-initial.inc +1 -1
@@ -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)}"
recipes/gcc/gcc-cross-intermediate.inc +1 -1
@@ -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)}"
Quoted 30 lines · Khem Raj
Quoted 29 lines · Tom Rini
Quoted 16 lines · Tom Rini
Quoted 15 lines · Frans Meulenbroeks
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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
Quoted 5 lines
Quoted 1 line
Ubuntu 9.10
x86_64hostCould 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.
This fixes the e300c3 / ppc603e issue, but not the gnutls issue (which is now seen on those platforms). So the general problem of -Os + ppc not being right with GNU.org toolchains is still there, on 4.4.3 at least.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 33 lines · Tom Rini
Quoted 32 lines · Khem Raj
Quoted 30 lines · Tom Rini
Quoted 16 lines · Tom Rini
Quoted 15 lines · Frans Meulenbroeks
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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 compileUbuntu 9.10
x86_64host
Quoted 8 lines
Quoted 3 lines
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.
This fixes the e300c3 / ppc603e issue, but not the gnutls issue (which is now seen on those platforms). So the general problem of -Os + ppc not being right with GNU.org toolchains is still there, on 4.4.3 at least.
out of order epilogue/prologue are added in gcc 4.4 so I expect 4.4+ to show this issue. That said, when I tried for calamari from scratch bitbake gnutls it went through fine on Kubuntu 10.04/x86_64 build machine.
Quoted 9 lines
Signature · 8 lines
-- Tom Rini <[email protected]> Mentor Graphics Corporation _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
2010/5/9 Tom Rini <[email protected]>:
Quoted 29 lines · Tom Rini
Quoted 16 lines · Frans Meulenbroeks
Quoted 15 lines
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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
Quoted 2 lines
Ubuntu 9.10
x86_64host
I made a mistake when doing the clean build, and kicked it off again. I don't think I saw your error.
In my local.conf I have:
MACHINE = "calamari"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "eglibc"
# e500v2 supports the SPE instruction set. TARGET_OS = "linux-gnuspe"
Perhaps the TARGET_OS line influences how libgcc is build.
Frans
Quoted 33 lines · Frans Meulenbroeks
2010/5/9 Tom Rini <[email protected]>:
Quoted 29 lines · Tom Rini
Quoted 16 lines · Frans Meulenbroeks
Quoted 15 lines
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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 compileQuoted 2 lines
Ubuntu 9.10
x86_64host
Quoted 7 lines
I made a mistake when doing the clean build, and kicked it off again. I don't think I saw your error.
In my local.conf I have:MACHINE = "calamari"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "eglibc"
This should just be LIBC, btw.
Quoted 2 lines
# e500v2 supports the SPE instruction set. TARGET_OS = "linux-gnuspe"
This should also be picked out automatically, iirc.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
2010/5/10 Tom Rini <[email protected]>:
Quoted 7 lines · Frans Meulenbroeks
Quoted 4 lines
MACHINE = "calamari"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "eglibc"This should just be LIBC, btw
Angstrom has ANGSTROMLIBC
From the code (grepping in the conf dir):
conf/distro/include/angstrom.inc:ANGSTROMLIBC ?= "glibc" conf/distro/include/angstrom.inc:LIBC ?= "${ANGSTROMLIBC}"
No idea why we have ANGSTROMLIBC next to LIBC.
Quoted 5 lines
Quoted 3 lines
# e500v2 supports the SPE instruction set. TARGET_OS = "linux-gnuspe"This should also be picked out automatically, iirc.
Hm, It was there in the conf that I got when I took over this project. I seem to recall having tried to build without it, and that it failed, but it is a while ago, so not 100% sure about that.
Frans.
Quoted 9 lines · Frans Meulenbroeks
2010/5/10 Tom Rini <[email protected]>:
Quoted 7 lines · Frans Meulenbroeks
Quoted 4 lines
MACHINE = "calamari"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "eglibc"This should just be LIBC, btw
Quoted 7 lines
Angstrom has ANGSTROMLIBC
From the code (grepping in the conf dir):
conf/distro/include/angstrom.inc:ANGSTROMLIBC ?= "glibc" conf/distro/include/angstrom.inc:LIBC ?= "${ANGSTROMLIBC}"No idea why we have ANGSTROMLIBC next to LIBC.
Because Angstrom initiated the hook and then I made it generic and made all of the distros use it. ANGSTROMLIBC is still there for compatibility.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
# e500v2 supports the SPE instruction set. TARGET_OS = "linux-gnuspe"This should also be picked out automatically, iirc.
Hm, It was there in the conf that I got when I took over this project. I seem to recall having tried to build without it, and that it failed, but it is a while ago, so not 100% sure about that.
Well, more accurately, sane-toolchain.inc has a function to get TARGET_OS right and I assume angstrom is either using it or has a similar one.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 37 lines · Frans Meulenbroeks
2010/5/9 Tom Rini <[email protected]>:
Quoted 29 lines · Tom Rini
Quoted 16 lines · Frans Meulenbroeks
Quoted 15 lines
2010/5/7 Tom Rini <[email protected]>:
Quoted 6 lines
Hey all,
With DISTRO=minimal and MACHINE=calamari, I see the following failure in gnutls (using
fe4ff6940b06c73d5b88224b99750bf65accf13din 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.11Quoted 3 lines
Quoted 1 line
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 compileQuoted 2 lines
Ubuntu 9.10
x86_64hostI made a mistake when doing the clean build, and kicked it off again. I don't think I saw your error.
In my local.conf I have:
Quoted 8 lines
MACHINE = "calamari"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "eglibc"# e500v2 supports the SPE instruction set. TARGET_OS = "linux-gnuspe"Perhaps the
TARGET_OSline influences how libgcc is build.
yes. if you look at the gcc-configure-cross.inc then it disables optspace for SPE targets. thats why it works for gnuspe but when I did that I only saw the problem on gnuspe and wanted to keep the effect minimal. But it seems now we need this ppc wide thats why the new patch.
Although using -Os in kernel might cause the same problem even if we sort out libgcc because kernel does not use libgcc and I dont know if it implements these functions.
If this causes the issue then we have to do same fix for kernel where we compile kernel with -O2 and not with -Os
Thx
-Khem
Quoted 7 lines
Frans
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel