Bug#857631: mesa-opencl-icd: openCL is broken in LLVM < v5
Antonio Ospite
ao2 at ao2.it
Wed Apr 12 21:52:51 UTC 2017
Source: llvm-toolchain-4.0
Followup-For: Bug #857631
Dear Maintainer,
It looks like that since libllvm3.9_3.9.1-6~exp1 the issue is fixed
experimental for libllvm3.9, hoever libllvm4.0 still has it.
$ cat ptr-expr2.c
int ptr_expr(int *p)
{
if (!p)
return(0);
else
return(1);
}
$ clang-3.9 -x cl -emit-llvm -S ptr-expr2.c
$ # compilation succeeds
$ clang-4.0 -x cl -emit-llvm -S ptr-expr2.c
ptr-expr2.c:3:9: error: invalid argument type 'int *' to unary expression
if (!p)
^~
1 error generated.
Can we please have a fixed 4.0 version uploaded to experimental?
The same fixes from #857623 should be enough.
Thanks,
Antonio
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (900, 'unstable'), (600, 'experimental'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
More information about the Pkg-llvm-team
mailing list