Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 12 Oct 2017 18:27:59 +0200
From: Matus UHLAR - fantomas <>
Subject: opencl on amd (mesa ISC and clc-amd) fails


my today's bleeding jumbo works with my intel GPU, but not with amdgpu:

the "ISO C99 requires whitespace after the macro name" appears at all
formats tried (yet).

apparently there should be space in "-D__MESA__-D__GPU__"

Device 1: AMD ICELAND (DRM 3.8.0 / 4.9.0-4-amd64, LLVM 3.9.1)
Benchmarking: descrypt-opencl, traditional crypt(3) [DES OpenCL]... Options used: -I /home/uhlar/src/debian/john/bleeding-jumbo/run/kernels -cl-mad-enable -D__MESA__-D__GPU__ -DDEVICE_INFO=10 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=13 -DDEV_VER_MINOR=0 -D_OPENCL_COMPILER  $JOHN/kernels/
Build log: In file included from <built-in>:319:
<command line>:1:17: warning: ISO C99 requires whitespace after the macro name
In file included from
/home/uhlar/src/debian/john/bleeding-jumbo/run/kernels/opencl_DES_kernel_params.h:17:60: error: token is not a valid binary operator in a preprocessor subexpression
<command line>:1:27: note: expanded from here

Error -11 building kernel $JOHN/kernels/ DEVICE_INFO=10
OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in common-opencl.c:1109 - clBuildProgram failed.

Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average. 

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.