-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU type detection hiccups #217
Comments
Could someone with the said machine at hands debug this? LLVM 3.7 should be tried too. |
For what it's worth, I've seen similar issues on systems with mixed LLVM situations; typically, when having both Clover from Mesa (built with LLVM 3.5 on Debian unstable) and pocl (self-compiled on LLVM 3.6); in such cases, things seemed to work correctly when disabling clover completely (i.e. removing its .icd file from |
Yes, this has caused problems before. Especially as the tendency with LLVM using projects is to use static linkage for some reason, it has caused problems with symbol clashes. |
I understood from #231 that with LLVM 3.7 the detection issue doesn't appear. Thus, closing this now (latest LLVM is the priority). Reopen if I'm wrong. |
For what it's worth, @Oblomov was spot on. This issue was actually caused by clover being installed on the machine. Sorry that I forgot to close this issue, and thanks for the hint. |
When the
configure
script usesllc
to detect the host CPU type, I've observed two things going wrong:core-avx2
asllc_host_cpu
, but then it will die trying to compile a kernel witherror: <invalid loc>: unknown target CPU 'core-avx2'
. Even weirder, if I manually specifyLLC_HOST_CPU=x86-64 ./configure ...
, it then comes back withunknown target CPU 'x86-64'
, although that is one of the targets shown as available in the output ofllc --version
.x86-64
, which I suppose is slightly different than what it expects inconfigure.ac
here: https://github.com/pocl/pocl/blob/master/configure.ac#L985.@sj90101
The text was updated successfully, but these errors were encountered: