LibreOffice fails to start with the following error output: missing hardware logical context support X server found. dri2 connection failed! X server found. dri2 connection failed! cl_get_gt_device(): error, unknown device: 2a42 X server found. dri2 connection failed! X server found. dri2 connection failed! cl_get_gt_device(): error, unknown device: 2a42 X server found. dri2 connection failed! cl_get_gt_device(): error, unknown device: 2a42 X server found. dri2 connection failed! cl_get_gt_device(): error, unknown device: 2a42 X server found. dri2 connection failed! cl_get_gt_device(): error, unknown device: 2a42 sh: /usr/bin/clang++: No such file or directory soffice.bin: /builddir/build/BUILD/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/common.c:127: llvm_codegen: Assertion `error == 0' failed. Not sure if it's a bug in LibreOffice or lower in the stack, but it doesn't occur with other desktop applications. I'm using GNOME on Wayland.
BTW LibreOffice 5.3 in Flatpak runs well.
*** This bug has been marked as a duplicate of bug 1432468 ***