summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2018-04-04 10:08:49 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-07 11:44:50 +0100
commitb46caed47b0f74520cd9280bbe3e3676d9a19046 (patch)
treea493c6eb7dde375fec5a9dd2af609e2b59e5c978
parent312a5a93cac95fe62c56e374db728c825b272e64 (diff)
downloadpoky-b46caed47b0f74520cd9280bbe3e3676d9a19046.tar.gz
gcc-sanitizers: Update supported architectures
aarch64 has been supported since GCC 5.1, sparc has been supported since 4.9, and S390 since 7.1. Also mark as broken entirely with musl. (From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 3183b29dec..3b7e0028f2 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -61,15 +61,19 @@ RDEPENDS_libubsan-dev += "${PN}"
61RDEPENDS_liblsan-dev += "${PN}" 61RDEPENDS_liblsan-dev += "${PN}"
62RDEPENDS_libtsan-dev += "${PN}" 62RDEPENDS_libtsan-dev += "${PN}"
63RRECOMMENDS_${PN} += "libasan libubsan" 63RRECOMMENDS_${PN} += "libasan libubsan"
64RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
65RRECOMMENDS_${PN}_append_x86 = " liblsan" 64RRECOMMENDS_${PN}_append_x86 = " liblsan"
65RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
66RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan"
67RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan"
66 68
67do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 69do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
68do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 70do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
69do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 71do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
70 72
71# MIPS, aarch64, and SPARC are broken. 73# Only x86, powerpc, sparc, s390, arm, and aarch64 are supported
72COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm).*-linux' 74COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
75# musl is currently broken entirely
76COMPATIBLE_HOST_libc-musl = 'null'
73 77
74FILES_libasan += "${libdir}/libasan.so.*" 78FILES_libasan += "${libdir}/libasan.so.*"
75FILES_libasan-dev += "\ 79FILES_libasan-dev += "\