[Openmp-dev] Aarch64 broken

C Bergström via Openmp-dev openmp-dev at lists.llvm.org
Sun Mar 27 03:20:08 PDT 2016


I'm just catching up on some backlog - Our bot was down and my last
know good build was March 13th. (Something happened after that)
-----
I looked through the commit logs and didn't see anything obvious to
blame... Anyone else have a quick guess what might cause the below
build error

[ 11%] Building C object src/CMakeFiles/omp.dir/kmp_alloc.c.o
In file included from
/home/ubuntu/nightly/openmp-llvm/runtime/src/kmp_alloc.c:16:
/home/ubuntu/nightly/openmp-llvm/runtime/src/kmp.h:1244:32:
error: unknown type name 'kmp_cpuid_t'; did you mean 'kmp_cpuinfo'?
    char       name [3*sizeof (kmp_cpuid_t)]; /
CPUID(0x80000002,0x80000003,0x80000004)
                               ^
                               kmp_cpuinfo
/home/ubuntu/nightly/openmp-llvm/runtime/src/kmp.h:1231:16:
note: 'kmp_cpuinfo' declared here
typedef struct kmp_cpuinfo {
               ^
/home/ubuntu/nightly/openmp-llvm/runtime/src/kmp.h:1244:24:
error: invalid application of 'sizeof' to an incomplete type
'kmp_cpuinfo'
    char       name [3*sizeof (kmp_cpuid_t)]; /
CPUID(0x80000002,0x80000003,0x80000004)
                       ^      ~~~~~~~~~~~~~
/home/ubuntu/nightly/openmp-llvm/runtime/src/kmp.h:1231:16:
note: definition of 'kmp_cpuinfo' is not complete until the closing
'}'
typedef struct kmp_cpuinfo {
               ^


More information about the Openmp-dev mailing list