diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-12-25 13:34:42 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-12-27 14:11:57 -0800 |
commit | b66d9631de7383f3337eaa8b2fcb350cf29822f3 (patch) | |
tree | 912253e1f0c89e6461aee7ea2cd00106ec538611 /conf | |
parent | fd587eaf0340faba2f85cf7b2e254a290500c48c (diff) | |
download | meta-clang-b66d9631de7383f3337eaa8b2fcb350cf29822f3.tar.gz |
php: Always use GCC for mips
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 8ef8315..ef0f64f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -173,6 +173,12 @@ TOOLCHAIN:pn-jack = "${@['clang','gcc'][d.getVar('SITEINFO_BITS') != '32']}" | |||
173 | #| error: return address can be determined only for current frame | 173 | #| error: return address can be determined only for current frame |
174 | TOOLCHAIN:pn-gcompat:mips = "gcc" | 174 | TOOLCHAIN:pn-gcompat:mips = "gcc" |
175 | 175 | ||
176 | # Fixes Clang induced linker crashes when using glibc 2.35+ | ||
177 | # mips-yoe-linux/mips-yoe-linux-ld: DWARF error: invalid or unhandled FORM value: 0x22 | ||
178 | # mips-yoe-linux-ld: Zend/asm/make_mips32_o32_elf_gas.o: CALL16 reloc at 0x28 not against global symbol | ||
179 | # mips-yoe-linux/mips-yoe-linux-ld: BFD (GNU Binutils) 2.37.20210721 assertion fail ../../bfd/elfxx-mips.c:3614 | ||
180 | TOOLCHAIN:pn-php:mips = "gcc" | ||
181 | |||
176 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " | 182 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " |
177 | 183 | ||
178 | #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 | 184 | #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 |