aboutsummaryrefslogtreecommitdiff
path: root/openembedded-armv8-ilp32.yaml
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-10-09 09:41:06 -0500
committerFathi Boudra <fathi.boudra@linaro.org>2017-10-10 08:10:05 +0000
commitc39ba147661c9e08a176561da131883e92ecb7ee (patch)
treee2e0ab540110331949dfadc77037ce52e68ed411 /openembedded-armv8-ilp32.yaml
parent09bd4ff1664ae341787a7011839823ea4fbddd1e (diff)
FIXME: clean sstate-cache for aarch64_ilp32
This is causing serious issues after upgrading GLIBC, as the ABI has changed and those changes are not picked up correctly. Work around is to remove sstate-cache although only for those file that have been previously been linked with GLIBC (i.e. all that's in the cache for architecture aarch64_ilp32). Failures look like this: | [...]/build/tmp-glibc/work/aarch64_ilp32-oe-linux-gnuilp32/gnutls/3.5.13-r0/recipe-sysroot/usr/lib/libstdc++.so: undefined reference to `__strxfrm_l@GLIBC_2.26' | [...]/build/tmp-glibc/work/aarch64_ilp32-oe-linux-gnuilp32/gnutls/3.5.13-r0/recipe-sysroot/usr/lib/libstdc++.so: undefined reference to `__nl_langinfo_l@GLIBC_2.26' | [...]/build/tmp-glibc/work/aarch64_ilp32-oe-linux-gnuilp32/gnutls/3.5.13-r0/recipe-sysroot/usr/lib/libstdc++.so: undefined reference to `aligned_alloc@GLIBC_2.26' | [...]/build/tmp-glibc/work/aarch64_ilp32-oe-linux-gnuilp32/gnutls/3.5.13-r0/recipe-sysroot/usr/lib/libstdc++.so: undefined reference to `wmemcpy@GLIBC_2.26' | [...]/build/tmp-glibc/work/aarch64_ilp32-oe-linux-gnuilp32/gnutls/3.5.13-r0/recipe-sysroot/usr/lib/libstdc++.so: undefined reference to `strcmp@GLIBC_2.26' and typically involve glibc, gnutls, and libcgroups. Cleaning up those packages is not enough, hence the general clean-up. This ought to be removed once GLIBC upgrade is stable. Change-Id: Iece70f4f9a6407301fa5d7d67b51a61ecc18d94b Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'openembedded-armv8-ilp32.yaml')
-rw-r--r--openembedded-armv8-ilp32.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/openembedded-armv8-ilp32.yaml b/openembedded-armv8-ilp32.yaml
index 9c33b9451c..12e4b3484d 100644
--- a/openembedded-armv8-ilp32.yaml
+++ b/openembedded-armv8-ilp32.yaml
@@ -74,6 +74,9 @@
bash periodic-cleanup.sh hard
fi
+ # temporary clean-up for glibc
+ find build/sstate-cache -type f -name "sstate:*:*:*:*:aarch64_ilp32:*" -exec rm -f {} + || true
+
# do a build
bash -x init-and-build.sh -a armv8 -g ${gcc_version} linaro-image-${rootfs}