Hi

When building meta-toolchain, nativesdk-gcc-runtime fails in do_configure as 
described by Crt Gorup here:
http://lists.linaro.org/pipermail/linaro-toolchain/2014-August/004516.html

I found that nativesdk-gcc-runtime is build from the Linaro sources, but it's 
configure uses tools built from the vanilla gnu gcc sources.
e.g. the relevant config.log shows the use of ld from a 4.8.2 path, (vanilla 
gnu gcc from oe-core)
sysroots/x86_64-linux/usr/libexec/x86_64-angstromsdk-linux/gcc/x86_64-angstromsdk-linux/4.8.2/ld:
 cannot find crtbegin.o: No such file or directory
sysroots/x86_64-linux/usr/libexec/x86_64-angstromsdk-linux/gcc/x86_64-angstromsdk-linux/4.8.2/ld:
 cannot find -lgcc

while the libs exist but are located in a 4.8.3 path (linaro-4.8 from 
meta-linaro)
find sysroots/x86_64-nativesdk-angstromsdk-linux* -name crtbegin.o
sysroots/x86_64-nativesdk-angstromsdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/lib/x86_64-angstromsdk-linux/4.8.3/crtbegin.o

Using "linaro-4.8%" for all gcc providers fixes the issue. (as does using 
"4.8%")

Max Krummenacher (1):
  gcc-crosssdk: keep the same provider for all gcc packages

 conf/distro/angstrom-v2014.06.conf | 1 +
 1 file changed, 1 insertion(+)

-- 
1.8.4.5


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to