|
@@ -181,7 +181,7 @@ def is_toolchain_usable(configfile, config):
|
|
'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \
|
|
'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \
|
|
'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines:
|
|
'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines:
|
|
ldd_version_output = subprocess.check_output(['ldd', '--version'])
|
|
ldd_version_output = subprocess.check_output(['ldd', '--version'])
|
|
- glibc_version = ldd_version_output.splitlines()[0].split()[-1]
|
|
|
|
|
|
+ glibc_version = ldd_version_output.decode().splitlines()[0].split()[-1]
|
|
if StrictVersion('2.14') > StrictVersion(glibc_version):
|
|
if StrictVersion('2.14') > StrictVersion(glibc_version):
|
|
print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr)
|
|
print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr)
|
|
return False
|
|
return False
|