summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-04 21:15:47 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-04 21:18:04 -0700
commite4978cc3ef008c69a49295dc8bc997b8291f6b11 (patch)
tree4783e2aefc0aa0a25ef0601eefdb442975b6ecde /conf
parentd2a30f0fd7377c1e19c778dc6b82dca4fa21c0d4 (diff)
downloadmeta-clang-e4978cc3ef008c69a49295dc8bc997b8291f6b11.tar.gz
jack: Use gcc to build for 32bit arches
Latest jack does not build with clang-13 for 32bit arches | In file included from ../git/common/JackFreewheelDriver.cpp:23: | ../git/common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine' | alignas(UInt32) JackTransportEngine fTransport; | ^ | ../git/common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer' | alignas(UInt32) JackFrameTimer fFrameTimer; | ^ | 2 errors generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 499ce58..31d7b10 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -164,6 +164,12 @@ TOOLCHAIN:pn-redis:mips = "gcc"
164# This header is only available with gcc-cross 164# This header is only available with gcc-cross
165TOOLCHAIN:pn-mariadb:powerpc64le = "gcc" 165TOOLCHAIN:pn-mariadb:powerpc64le = "gcc"
166 166
167# latest 32bit arch versions fails to compile with clang 13
168# common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer'
169#| alignas(UInt32) JackFrameTimer fFrameTimer;
170#| ^
171TOOLCHAIN:pn-jack = "${@['clang','gcc'][d.getVar('SITEINFO_BITS') != '32']}"
172
167CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " 173CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions "
168 174
169#io_getevents.c:25:141: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions 175#io_getevents.c:25:141: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions