From fa64e059b167870dca186fc9adc8dfdc5a58292d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 Dec 2019 23:01:23 -0800 Subject: hdf5: Use gcc on musl/x86_64 clang crashes for some reason Signed-off-by: Khem Raj --- conf/nonclangable.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index f50400d..4dca172 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -17,6 +17,14 @@ TOOLCHAIN_pn-glibc-scripts = "gcc" TOOLCHAIN_pn-glibc-testsuite = "gcc" TOOLCHAIN_pn-grub = "gcc" TOOLCHAIN_pn-grub-efi = "gcc" + +# Clang crashes on musl/x86_64 +# Running pass 'Function Pass Manager' on module '/mnt/b/yoe/build/tmp/work/core2-64- +# yoe-linux-musl/hdf5/1.8.21-r0/hdf5-1.8.21/src/H5detect.c'. +# Running pass 'X86 Assembly Printer' on function '@detect_C99_floats' +# clang-9: error: unable to execute command: Segmentation fault (core dumped) +TOOLCHAIN_pn-hdf5_libc-musl_x86-64 = "gcc" + # VLAs #| control.c:286:19: error: fields must have a constant size: 'variable length array in structure' extension will never be supported #| __u32 buffer[cam->max_response_quads]; -- cgit v1.2.3-54-g00ecf