debugging installation problem

Sorry in advance for the limited details.

I have a build of a recent (Monday) llvm/clang which I have installed in the expected way in my environment but I am getting failures like this;

In file included from /lib/clang/stable/include/x86intrin.h:29:

In file included from /lib/clang/stable/include/immintrin.h:118:

/lib/clang/stable/include/avx512cdintrin.h:37:20: error: use of undeclared identifier ‘__builtin_ia32_vpconflictdi_512’

return (__m512i) __builtin_ia32_vpconflictdi_512 ((__v8di) __A);

^

/lib/clang/stable/include/avx512cdintrin.h:59:20: error: use of undeclared identifier ‘__builtin_ia32_vpconflictsi_512’

return (__m512i) __builtin_ia32_vpconflictsi_512 ((__v16si) __A);

^

Any suggestions on what might be messed up in the build/installation?

(In other contexts I would delete all build directories and restart but in this workflow I know everything started from clean checkouts)

Thanks for any help

david

Your clang and your llvm don't match, they're often version locked and
you need to make sure both of them are the same-ish revision.

-eric

Given they in separate repos, is there a way to to verify which revisions go together? Is it enough that the clang (shortly) after llvm in time?

    Your clang and your llvm don't match, they're often version locked and
    you need to make sure both of them are the same-ish revision.
    
    -eric

Typically yeah. Just check them out at approximately the same wall clock time :slight_smile:

-eric

You should be using https://github.com/llvm/llvm-project/ (the new official git repo), which contains both.