From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 79B9E389853A for ; Wed, 24 Jun 2020 10:41:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 79B9E389853A Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-49-JMWyrFjaM3Ob5dA3A7rfSw-1; Wed, 24 Jun 2020 06:41:41 -0400 X-MC-Unique: JMWyrFjaM3Ob5dA3A7rfSw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5220010059B1; Wed, 24 Jun 2020 10:41:40 +0000 (UTC) Received: from blade.nx (ovpn-112-118.ams2.redhat.com [10.36.112.118]) by smtp.corp.redhat.com (Postfix) with ESMTP id B814F2B47C; Wed, 24 Jun 2020 10:41:39 +0000 (UTC) Received: by blade.nx (Postfix, from userid 1000) id B589E816CCA9; Wed, 24 Jun 2020 11:41:38 +0100 (BST) Date: Wed, 24 Jun 2020 11:41:38 +0100 From: Gary Benson To: gdb@sourceware.org Subject: OpenCL support sometimes detected, sometimes not Message-ID: <20200624104138.GA32307@blade.nx> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2020 10:41:49 -0000 Hi all, I had this weird issue yesterday, a build I did in the morning skipped the OpenCL tests, with this in gdb.log: ... skip_opencl_tests: OpenCL support not detected UNSUPPORTED: gdb.opencl/callfuncs.exp: OpenCL support not detected testcase ... /gdb.opencl/callfuncs.exp completed in 1 seconds But! A build I did in the afternoon got past that: ... skip_opencl_tests: OpenCL support detected Downloading on target to callfuncs.cl:... ... UNTESTED: gdb.opencl/callfuncs.exp: failed to compile testcase ... /gdb.opencl/callfuncs.exp completed in 2 seconds But, now, if I re-run that test, in the directory OpenCL support was detected, it fails with the first failure above. The two test runs were slightly different versions of gdb (I did a "git pull" before each), and some of Andrew Burgess's commits mention opencl... but, if something changed there, why would it revert to non-detection when I re-run the test? I'll paste fuller logs for one of the opencl testcases below. Please help! Cheers, Gary -- 2020-06-24, ~9am UTC build: Running /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl/callfuncs.exp ... Downloading on target to opencl_kernel.cl: /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_kernel.cl Executing on host: clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=opencl_kernel.cl -w -g -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest1321748.x (timeout = 300) spawn -ignore SIGHUP clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=opencl_kernel.cl -w -g -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest1321748.x spawn /gdbtest/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /gdbtest/build/gdb/testsuite/../data-directory GNU gdb (GDB) 10.0.50.20200623-git Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl Source directories searched: /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest1321748.x Reading symbols from /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest1321748.x... (gdb) run Starting program: /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest1321748.x warning: Loadable section ".note.gnu.property" outside of ELF segments [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11 [Inferior 1 (process 1399127) exited with code 01] (gdb) skip_opencl_tests: OpenCL support not detected UNSUPPORTED: gdb.opencl/callfuncs.exp: OpenCL support not detected testcase /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl/callfuncs.exp completed in 1 seconds -- 2020-06-24, ~4pm UTC build: Running /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl/callfuncs.exp ... Downloading on target to opencl_kernel.cl: /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_kernel.cl Executing on host: clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=opencl_kernel.cl -w -g -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest2819799.x (timeout = 300) spawn -ignore SIGHUP clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=opencl_kernel.cl -w -g -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest2819799.x spawn /gdbtest/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /gdbtest/build/gdb/testsuite/../data-directory GNU gdb (GDB) 10.0.50.20200623-git Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl Source directories searched: /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest2819799.x Reading symbols from /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest2819799.x... (gdb) run Starting program: /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/opencltest2819799.x warning: Loadable section ".note.gnu.property" outside of ELF segments [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffea283700 (LWP 2897585)] [New Thread 0x7fffe9a82700 (LWP 2897586)] [New Thread 0x7fffe9281700 (LWP 2897587)] [New Thread 0x7fffe8a80700 (LWP 2897588)] [Thread 0x7fffe8a80700 (LWP 2897588) exited] [Thread 0x7fffe9281700 (LWP 2897587) exited] [Thread 0x7fffe9a82700 (LWP 2897586) exited] [Thread 0x7fffea283700 (LWP 2897585) exited] [New Thread 0x7fffe8a80700 (LWP 2897589)] [Thread 0x7fffe8a80700 (LWP 2897589) exited] [New Thread 0x7fffe8a80700 (LWP 2897590)] [New Thread 0x7fffe9281700 (LWP 2897591)] [New Thread 0x7fffe9a82700 (LWP 2897592)] [New Thread 0x7fffea283700 (LWP 2897593)] [New Thread 0x7fffd8ffd700 (LWP 2897594)] [Thread 0x7fffd8ffd700 (LWP 2897594) exited] [Thread 0x7fffe9a82700 (LWP 2897592) exited] [Thread 0x7fffe9281700 (LWP 2897591) exited] [Thread 0x7fffe8a80700 (LWP 2897590) exited] [Thread 0x7ffff7c64b80 (LWP 2897581) exited] [Inferior 1 (process 2897581) exited normally] (gdb) skip_opencl_tests: OpenCL support detected Downloading on target to callfuncs.cl: /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl/callfuncs.cl Executing on host: clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=callfuncs.cl -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/callfuncs (timeout = 300) spawn -ignore SIGHUP clang /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c -fdiagnostics-color=never -I/gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/ -DCL_SOURCE=callfuncs.cl -g -lOpenCL -lm -o /gdbtest/build/gdb/testsuite/outputs/gdb.opencl/callfuncs/callfuncs /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:256:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_GROUP_SIZE: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:75: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:93: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:111: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:266:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_MEM_ALLOC_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:272:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_PARAMETER_SIZE: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:274:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_GLOBAL_MEM_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:285:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:335:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_PROFILING_TIMER_RESOLUTION: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:363:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE2D_MAX_WIDTH: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:365:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE2D_MAX_HEIGHT: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:367:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_WIDTH: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:369:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_HEIGHT: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:371:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_DEPTH: %d\n", sizet); ~~ ^~~~~ %zu 14 warnings generated. /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c:81:11: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations] queue = clCreateCommandQueue (context, device, 0, &err); ^ /usr/include/CL/cl.h:1780:66: note: 'clCreateCommandQueue' has been explicitly marked deprecated here cl_int * errcode_ret) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED; ^ /usr/include/CL/cl_platform.h:91:70: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED' #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. gdb compile failed, /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:256:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_GROUP_SIZE: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:75: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:93: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:260:111: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_WORK_ITEM_SIZES: %d / %d / %d\n", workitem_size[0], workitem_size[1], workitem_size[2]); ~~ ^~~~~~~~~~~~~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:266:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_MEM_ALLOC_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:272:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_MAX_PARAMETER_SIZE: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:274:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_GLOBAL_MEM_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:285:67: warning: format specifies type 'unsigned long long' but the argument has type 'cl_ulong' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: %llu\n", clulong); ~~~~ ^~~~~~~ %lu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:335:65: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_PROFILING_TIMER_RESOLUTION: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:363:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE2D_MAX_WIDTH: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:365:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE2D_MAX_HEIGHT: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:367:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_WIDTH: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:369:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_HEIGHT: %d\n", sizet); ~~ ^~~~~ %zu /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/cl_util.c:371:69: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" CL_DEVICE_IMAGE3D_MAX_DEPTH: %d\n", sizet); ~~ ^~~~~ %zu 14 warnings generated. /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/lib/opencl_hostapp.c:81:11: warning: 'clCreateCommandQueue' is deprecated [-Wdeprecated-declarations] queue = clCreateCommandQueue (context, device, 0, &err); ^ /usr/include/CL/cl.h:1780:66: note: 'clCreateCommandQueue' has been explicitly marked deprecated here cl_int * errcode_ret) CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED; ^ /usr/include/CL/cl_platform.h:91:70: note: expanded from macro 'CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED' #define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. UNTESTED: gdb.opencl/callfuncs.exp: failed to compile testcase /gdbtest/build/gdb/testsuite/../../../src/gdb/testsuite/gdb.opencl/callfuncs.exp completed in 2 seconds