NVIDIA/libglvnd

Build fails on powerpc64(le) with clang

pkubaj opened this issue · 1 comments

powerpc64le system
clang 11.0.1
libglvnd 1.4.0

Build with gcc passes fine.

cc -Isrc/util/libcJSON.a.p -Isrc/util -I../src/util -fvisibility=hidden -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3
-DUSE_PPC64_ASM -DENABLE_EGL_X11 -DHAVE_TYPEOF -DGLDISPATCH_USE_TLS -DUSE_DISPATCH_ASM -DUSE_ATTRIBUTE_CONSTRUCTOR -DHAVE_PTHREAD_RWLOCK -DHAVE_SYNC_INTRINSICS -DHAVE_MINCORE -DHAVE_RTLD_NOLOAD -DHAVE_DIRENT_DTYPE -DGLDISPATCH_ENABLE_PATCHING -DEGL_NO_X11 -O2 -pipe -no-integrated-as -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -MD -MQ src/util/libcJSON.a.p/cJSON.c.o -MF src/util/libcJSON.a.p/cJSON.c.o.d -o src/util/libcJSON.a.p/cJSON.c.o -c ../src/util/cJSON.c
/tmp/cJSON-0a55c1.s: Assembler messages:
/tmp/cJSON-0a55c1.s:327: Error: unrecognized opcode: `vxor'
/tmp/cJSON-0a55c1.s:337: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:339: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:340: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:1507: Error: unrecognized opcode: `vxor'
/tmp/cJSON-0a55c1.s:1515: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:1517: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:1519: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:1520: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:1937: Error: unrecognized opcode: `lvx'
/tmp/cJSON-0a55c1.s:1940: Error: unrecognized opcode: `lvx'
/tmp/cJSON-0a55c1.s:1942: Error: unrecognized opcode: `vspltb'
/tmp/cJSON-0a55c1.s:1948: Error: unrecognized opcode: `lvx'
/tmp/cJSON-0a55c1.s:1950: Error: unrecognized opcode: `lvx'
/tmp/cJSON-0a55c1.s:1951: Error: unrecognized opcode: `lvsl'
/tmp/cJSON-0a55c1.s:1952: Error: unrecognized opcode: `vperm'
/tmp/cJSON-0a55c1.s:1953: Error: unrecognized opcode: `vcmpequb'
/tmp/cJSON-0a55c1.s:1954: Error: unrecognized opcode: `vsel'
/tmp/cJSON-0a55c1.s:1955: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:2314: Error: unrecognized opcode: `vxor'
/tmp/cJSON-0a55c1.s:2321: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:2323: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:2325: Error: unrecognized opcode: `stvx'
/tmp/cJSON-0a55c1.s:2327: Error: unrecognized opcode: `stvx'

Libglvnd is hosted on GitLab now, so any new bug reports need to go there:
https://gitlab.freedesktop.org/glvnd/libglvnd