Hi,
Our product is based upon meta-arago daisy branch which uses gcc-4.7.
I am trying to upgrade gcc to v5.3 (
gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf
<https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz.asc>
)
My system is Ubuntu-16.04 64bit and when I issue bitbake command, I get
following error
ERROR: Execution of event handler
'external_linaro_toolchain_version_handler' failed
Traceback (most recent call last):
File "external_linaro_toolchain_version_handler(e)", line 8, in
external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object
at 0x7fcb39c7bc90>)
File "external-linaro-toolchain-versions.inc", line 4, in
elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x7fcb3a130610>)
IndexError: list index out of range
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/ankur/arago/daisy/sources/bitbake/lib/bb/event.py", line 163,
in fire(event=<bb.event.ConfigParsed object at 0x7fcb39c7bc90>,
d=<bb.data_smart.DataSmart object at 0x7fcb3a418dd0>):
> fire_class_handlers(event, d)
if worker_fire:
File "/home/ankur/arago/daisy/sources/bitbake/lib/bb/event.py", line 102,
in fire_class_handlers(event=<bb.event.ConfigParsed object at
0x7fcb39c7bc90>, d=<bb.data_smart.DataSmart object at 0x7fcb3a418dd0>):
continue
> execute_handler(name, handler, event, d)
File "/home/ankur/arago/daisy/sources/bitbake/lib/bb/event.py", line 76,
in execute_handler(name='external_linaro_toolchain_version_handler',
handler=<function external_linaro_toolchain_version_handler at
0x7fcb39de12a8>, event=<bb.event.ConfigParsed object at 0x7fcb39c7bc90>,
d=<bb.data_smart.DataSmart object at 0x7fcb3a418dd0>):
try:
> ret = handler(event)
except (bb.parse.SkipRecipe, bb.BBHandledException):
File "external_linaro_toolchain_version_handler(e)", line 8, in
external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object
at 0x7fcb39c7bc90>)
File "external-linaro-toolchain-versions.inc", line 4, in
elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x7fcb3a130610>)
IndexError: list index out of range
I have also updated arago-prefs.inc and toolchain-linaro.inc:
diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc
b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index 8947c7f..fd3bd01 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -1,9 +1,9 @@
# Set *target* toolchain preferences at global distro level.
# Cross and SDK toolchain preferences are set in toolchain-*.inc files
-GCCVERSION ?= "linaro-4.7%"
-BINUVERSION ?= "linaro-2.24%"
-EGLIBCVERSION ?= "2.19%"
-EGLIBCINITVERSION ?= "2.19%"
+GCCVERSION ?= "linaro-5.3%"
+BINUVERSION ?= "linaro-2.25%"
+EGLIBCVERSION ?= "2.23%"
+EGLIBCINITVERSION ?= "2.23%"
LINUXLIBCVERSION ?= "3.14"
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
@@ -99,7 +99,7 @@ PREFERRED_VERSION_readline = "5.2"
PREFERRED_VERSION_readline-native = "5.2"
PREFERRED_VERSION_readline-nativesdk = "5.2"
-PREFERRED_VERSION_libnl = "3.2.24"
+PREFERRED_VERSION_libnl = "3.2.25"
PREFERRED_VERSION_crda = "1.1.3"
PREFERRED_VERSION_obex = "0.34"
PREFERRED_VERSION_bash = "3.2.48"
diff --git a/meta-arago-distro/conf/distro/include/toolchain-linaro.inc
b/meta-arago-distro/conf/distro/include/toolchain-linaro.inc
index cd2d3ce..19de40e 100644
--- a/meta-arago-distro/conf/distro/include/toolchain-linaro.inc
+++ b/meta-arago-distro/conf/distro/include/toolchain-linaro.inc
@@ -28,9 +28,9 @@
PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} =
"gdb-cross-can
PREFERRED_PROVIDER_libgcc = "external-linaro-toolchain"
PREFERRED_PROVIDER_gcc-runtime = "external-linaro-toolchain"
-SDKGCCVERSION ?= "4.7%"
-SDKBINUVERSION ?= "2.24%"
-SDKEGLIBCVERSION ?= "2.19%"
+SDKGCCVERSION ?= "linaro-5.3%"
+SDKBINUVERSION ?= "linaro-2.25%"
+SDKEGLIBCVERSION ?= "2.23%"
SDKLINUXLIBCVERSION ?= "3.14%"
PREFERRED_VERSION_gcc-crosssdk ?= "${SDKGCCVERSION}"
How can I resolve above issue ? Any help is appreciated.
Regards
Ankur
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago