diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-08-04 21:15:47 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-04 21:18:04 -0700 |
commit | e4978cc3ef008c69a49295dc8bc997b8291f6b11 (patch) | |
tree | 4783e2aefc0aa0a25ef0601eefdb442975b6ecde /conf | |
parent | d2a30f0fd7377c1e19c778dc6b82dca4fa21c0d4 (diff) | |
download | meta-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.conf | 6 |
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 |
165 | TOOLCHAIN:pn-mariadb:powerpc64le = "gcc" | 165 | TOOLCHAIN: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 | #| ^ | ||
171 | TOOLCHAIN:pn-jack = "${@['clang','gcc'][d.getVar('SITEINFO_BITS') != '32']}" | ||
172 | |||
167 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " | 173 | CFLAGS: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 |