0s autopkgtest [23:05:58]: starting date and time: 2024-11-01 23:05:58+0000 0s autopkgtest [23:05:58]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [23:05:58]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9rad2idi/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:rocminfo,src:rocr-runtime,src:roct-thunk-interface --apt-upgrade rocm-hipamd --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=rocminfo/6.1.2-1 rocr-runtime/6.1.2-2 roct-thunk-interface/6.1.2+ds-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-15.secgroup --name adt-plucky-arm64-rocm-hipamd-20241101-230556-juju-7f2275-prod-proposed-migration-environment-15-777dfd02-1093-462f-8484-746641e035ac --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 72s autopkgtest [23:07:10]: testbed dpkg architecture: arm64 72s autopkgtest [23:07:10]: testbed apt version: 2.9.8 72s autopkgtest [23:07:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 73s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 73s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [2639 kB] 74s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [41.0 kB] 74s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [176 kB] 74s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 74s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [230 kB] 74s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 74s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [1932 kB] 74s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [34.6 kB] 74s Fetched 5184 kB in 1s (4274 kB/s) 74s Reading package lists... 77s Reading package lists... 77s Building dependency tree... 77s Reading state information... 78s Calculating upgrade... 79s The following packages will be upgraded: 79s libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 79s libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 79s libblockdev3 libevdev2 libftdi1-2 libinih1 libpipeline1 nano 79s python3-lazr.uri 79s 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 79s Need to get 594 kB of archives. 79s After this operation, 19.5 kB of additional disk space will be used. 79s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libevdev2 arm64 1.13.3+dfsg-1 [36.0 kB] 79s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpipeline1 arm64 1.5.8-1 [30.6 kB] 79s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 nano arm64 8.2-1 [289 kB] 79s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-utils3 arm64 3.2.0-2 [18.8 kB] 79s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-crypto3 arm64 3.2.0-2 [22.6 kB] 79s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-fs3 arm64 3.2.0-2 [35.8 kB] 79s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-loop3 arm64 3.2.0-2 [7276 B] 79s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-mdraid3 arm64 3.2.0-2 [12.8 kB] 79s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-nvme3 arm64 3.2.0-2 [17.2 kB] 79s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-part3 arm64 3.2.0-2 [14.9 kB] 79s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-swap3 arm64 3.2.0-2 [7832 B] 79s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev3 arm64 3.2.0-2 [52.4 kB] 79s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libftdi1-2 arm64 1.5-7 [28.4 kB] 79s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libinih1 arm64 58-1ubuntu1 [7412 B] 79s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lazr.uri all 1.0.6-4 [13.6 kB] 80s Fetched 594 kB in 1s (1073 kB/s) 80s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79705 files and directories currently installed.) 80s Preparing to unpack .../00-libevdev2_1.13.3+dfsg-1_arm64.deb ... 80s Unpacking libevdev2:arm64 (1.13.3+dfsg-1) over (1.13.2+dfsg-1) ... 80s Preparing to unpack .../01-libpipeline1_1.5.8-1_arm64.deb ... 80s Unpacking libpipeline1:arm64 (1.5.8-1) over (1.5.7-2) ... 80s Preparing to unpack .../02-nano_8.2-1_arm64.deb ... 80s Unpacking nano (8.2-1) over (8.1-1) ... 80s Preparing to unpack .../03-libblockdev-utils3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-utils3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../04-libblockdev-crypto3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-crypto3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../05-libblockdev-fs3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-fs3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../06-libblockdev-loop3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-loop3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../07-libblockdev-mdraid3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-mdraid3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../08-libblockdev-nvme3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-nvme3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../09-libblockdev-part3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-part3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../10-libblockdev-swap3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev-swap3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../11-libblockdev3_3.2.0-2_arm64.deb ... 80s Unpacking libblockdev3:arm64 (3.2.0-2) over (3.1.1-2) ... 80s Preparing to unpack .../12-libftdi1-2_1.5-7_arm64.deb ... 80s Unpacking libftdi1-2:arm64 (1.5-7) over (1.5-6build5) ... 80s Preparing to unpack .../13-libinih1_58-1ubuntu1_arm64.deb ... 80s Unpacking libinih1:arm64 (58-1ubuntu1) over (55-1ubuntu2) ... 81s Preparing to unpack .../14-python3-lazr.uri_1.0.6-4_all.deb ... 81s Unpacking python3-lazr.uri (1.0.6-4) over (1.0.6-3) ... 81s Setting up libpipeline1:arm64 (1.5.8-1) ... 81s Setting up libinih1:arm64 (58-1ubuntu1) ... 81s Setting up python3-lazr.uri (1.0.6-4) ... 81s Setting up libftdi1-2:arm64 (1.5-7) ... 81s Setting up libblockdev-utils3:arm64 (3.2.0-2) ... 81s Setting up libblockdev-nvme3:arm64 (3.2.0-2) ... 81s Setting up nano (8.2-1) ... 81s Setting up libblockdev-fs3:arm64 (3.2.0-2) ... 81s Setting up libevdev2:arm64 (1.13.3+dfsg-1) ... 81s Setting up libblockdev-mdraid3:arm64 (3.2.0-2) ... 81s Setting up libblockdev-crypto3:arm64 (3.2.0-2) ... 81s Setting up libblockdev-swap3:arm64 (3.2.0-2) ... 81s Setting up libblockdev-loop3:arm64 (3.2.0-2) ... 81s Setting up libblockdev3:arm64 (3.2.0-2) ... 81s Installing new version of config file /etc/libblockdev/3/conf.d/00-default.cfg ... 81s Setting up libblockdev-part3:arm64 (3.2.0-2) ... 81s Processing triggers for libc-bin (2.40-1ubuntu3) ... 81s Processing triggers for man-db (2.12.1-3) ... 82s Processing triggers for install-info (7.1.1-1) ... 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 83s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 84s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 84s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 85s Reading package lists... 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 85s Calculating upgrade... 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s autopkgtest [23:07:28]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 90s autopkgtest [23:07:28]: @@@@@@@@@@@@@@@@@@@@ apt-source rocm-hipamd 94s Get:1 http://ftpmaster.internal/ubuntu plucky/universe rocm-hipamd 5.7.1-4build1 (dsc) [3455 B] 94s Get:2 http://ftpmaster.internal/ubuntu plucky/universe rocm-hipamd 5.7.1-4build1 (tar) [554 kB] 94s Get:3 http://ftpmaster.internal/ubuntu plucky/universe rocm-hipamd 5.7.1-4build1 (tar) [36.6 kB] 94s Get:4 http://ftpmaster.internal/ubuntu plucky/universe rocm-hipamd 5.7.1-4build1 (tar) [2009 kB] 94s Get:5 http://ftpmaster.internal/ubuntu plucky/universe rocm-hipamd 5.7.1-4build1 (diff) [24.3 kB] 94s gpgv: Signature made Sat Aug 3 07:01:26 2024 UTC 94s gpgv: using RSA key 92978A6E195E4921825F7FF0F34F09744E9F5DD9 94s gpgv: Can't check signature: No public key 94s dpkg-source: warning: cannot verify inline signature for ./rocm-hipamd_5.7.1-4build1.dsc: no acceptable signature found 95s autopkgtest [23:07:33]: testing package rocm-hipamd version 5.7.1-4build1 96s autopkgtest [23:07:34]: build not needed 97s autopkgtest [23:07:35]: test clang: preparing testbed 104s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 106s The following additional packages will be installed: 106s clang-17 clang-tools-17 cmake cmake-data cpp cpp-14 cpp-14-aarch64-linux-gnu 106s cpp-aarch64-linux-gnu g++ g++-14 g++-14-aarch64-linux-gnu 106s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 106s gcc-aarch64-linux-gnu hipcc libamd-comgr-dev libamd-comgr2 libamdhip64-5 106s libamdhip64-dev libamdhip64-doc libasan8 libcc1-0 libclang-common-17-dev 106s libclang-cpp17t64 libclang-rt-17-dev libclang1-17t64 libdrm-amdgpu1 106s libfile-which-perl libgc1 libgcc-14-dev libgomp1 libhiprtc-builtins5 106s libhsa-runtime-dev libhsa-runtime64-1 libhsakmt1 libhwasan0 libisl23 libitm1 106s libjsoncpp25 libllvm17t64 liblsan0 libmpc3 libobjc-14-dev libobjc4 libpfm4 106s librhash0 libstdc++-14-dev libtsan2 libubsan1 liburi-encode-perl lld-17 106s llvm-17 llvm-17-linker-tools llvm-17-runtime rocm-device-libs-17 106s rocm-opencl-icd rocminfo 106s Suggested packages: 106s clang-17-doc wasi-libc cmake-doc cmake-format elpa-cmake-mode ninja-build 106s cpp-doc gcc-14-locales cpp-14-doc gcc-14-doc gcc-multilib manpages-dev 106s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 106s libstdc++-14-doc llvm-17-doc 106s Recommended packages: 106s llvm-17-dev 106s The following NEW packages will be installed: 106s autopkgtest-satdep clang-17 clang-tools-17 cmake cmake-data cpp cpp-14 106s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu g++ g++-14 106s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 106s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu hipcc libamd-comgr-dev 106s libamd-comgr2 libamdhip64-5 libamdhip64-dev libamdhip64-doc libasan8 106s libcc1-0 libclang-common-17-dev libclang-cpp17t64 libclang-rt-17-dev 106s libclang1-17t64 libdrm-amdgpu1 libfile-which-perl libgc1 libgcc-14-dev 106s libgomp1 libhiprtc-builtins5 libhsa-runtime-dev libhsa-runtime64-1 106s libhsakmt1 libhwasan0 libisl23 libitm1 libjsoncpp25 libllvm17t64 liblsan0 106s libmpc3 libobjc-14-dev libobjc4 libpfm4 librhash0 libstdc++-14-dev libtsan2 106s libubsan1 liburi-encode-perl lld-17 llvm-17 llvm-17-linker-tools 106s llvm-17-runtime rocm-device-libs-17 rocm-opencl-icd rocminfo 106s 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 181 MB/181 MB of archives. 106s After this operation, 778 MB of additional disk space will be used. 106s Get:1 /tmp/autopkgtest.FzpKaW/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 106s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 libllvm17t64 arm64 1:17.0.6-18 [24.9 MB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclang-cpp17t64 arm64 1:17.0.6-18 [12.6 MB] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-7ubuntu1 [145 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-7ubuntu1 [27.8 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-7ubuntu1 [2893 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-7ubuntu1 [1283 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-7ubuntu1 [2691 kB] 108s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-7ubuntu1 [1151 kB] 108s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-7ubuntu1 [1599 kB] 108s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-7ubuntu1 [2594 kB] 109s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-7ubuntu1 [2474 kB] 109s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgc1 arm64 1:8.2.6-2 [89.7 kB] 109s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 libobjc4 arm64 14.2.0-7ubuntu1 [45.3 kB] 109s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 libobjc-14-dev arm64 14.2.0-7ubuntu1 [190 kB] 109s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclang-common-17-dev arm64 1:17.0.6-18 [690 kB] 109s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 llvm-17-linker-tools arm64 1:17.0.6-18 [1224 kB] 109s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclang1-17t64 arm64 1:17.0.6-18 [7102 kB] 109s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 clang-17 arm64 1:17.0.6-18 [77.4 kB] 109s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 clang-tools-17 arm64 1:17.0.6-18 [8431 kB] 109s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libjsoncpp25 arm64 1.9.5-6build1 [78.2 kB] 109s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 librhash0 arm64 1.4.3-3build1 [126 kB] 109s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake-data all 3.30.3-1 [2246 kB] 109s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake arm64 3.30.3-1 [10.9 MB] 110s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 110s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 110s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [10.6 MB] 110s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-7ubuntu1 [1030 B] 110s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 110s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 110s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-7ubuntu1 [49.7 kB] 110s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [20.9 MB] 111s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-7ubuntu1 [515 kB] 111s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 111s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 111s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [12.1 MB] 112s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-7ubuntu1 [19.8 kB] 112s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 112s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 112s Get:40 http://ftpmaster.internal/ubuntu plucky/universe arm64 llvm-17-runtime arm64 1:17.0.6-18 [513 kB] 112s Get:41 http://ftpmaster.internal/ubuntu plucky/universe arm64 libpfm4 arm64 4.13.0+git32-g0d4ed0e-1 [59.6 kB] 112s Get:42 http://ftpmaster.internal/ubuntu plucky/universe arm64 llvm-17 arm64 1:17.0.6-18 [22.8 MB] 112s Get:43 http://ftpmaster.internal/ubuntu plucky/universe arm64 lld-17 arm64 1:17.0.6-18 [1270 kB] 113s Get:44 http://ftpmaster.internal/ubuntu plucky/universe arm64 rocm-device-libs-17 arm64 6.0+git20231212.5a852ed-2 [548 kB] 113s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-amdgpu1 arm64 2.4.122-1 [20.9 kB] 113s Get:46 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libhsakmt1 arm64 6.1.2+ds-1 [63.3 kB] 113s Get:47 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libhsa-runtime64-1 arm64 6.1.2-2 [305 kB] 113s Get:48 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 rocminfo arm64 6.1.2-1 [24.5 kB] 113s Get:49 http://ftpmaster.internal/ubuntu plucky/universe arm64 libamd-comgr2 arm64 6.0+git20231212.4510c28+dfsg-3build2 [14.1 MB] 113s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 libamdhip64-5 arm64 5.7.1-4build1 [9668 kB] 114s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 libhiprtc-builtins5 arm64 5.7.1-4build1 [43.7 kB] 114s Get:52 http://ftpmaster.internal/ubuntu plucky/universe arm64 libamd-comgr-dev arm64 6.0+git20231212.4510c28+dfsg-3build2 [18.9 kB] 114s Get:53 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libhsa-runtime-dev arm64 6.1.2-2 [81.1 kB] 114s Get:54 http://ftpmaster.internal/ubuntu plucky/universe arm64 libamdhip64-dev arm64 5.7.1-4build1 [197 kB] 114s Get:55 http://ftpmaster.internal/ubuntu plucky/universe arm64 libclang-rt-17-dev arm64 1:17.0.6-18 [2089 kB] 114s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-which-perl all 1.27-2 [12.5 kB] 114s Get:57 http://ftpmaster.internal/ubuntu plucky/universe arm64 liburi-encode-perl all 1.1.1-3 [9258 B] 114s Get:58 http://ftpmaster.internal/ubuntu plucky/universe arm64 hipcc arm64 5.7.1-4build1 [20.9 kB] 114s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 libamdhip64-doc all 5.7.1-4build1 [93.5 kB] 114s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 rocm-opencl-icd arm64 5.7.1-4build1 [456 kB] 114s Fetched 181 MB in 7s (24.3 MB/s) 114s Selecting previously unselected package libllvm17t64:arm64. 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79705 files and directories currently installed.) 114s Preparing to unpack .../00-libllvm17t64_1%3a17.0.6-18_arm64.deb ... 114s Unpacking libllvm17t64:arm64 (1:17.0.6-18) ... 115s Selecting previously unselected package libclang-cpp17t64. 115s Preparing to unpack .../01-libclang-cpp17t64_1%3a17.0.6-18_arm64.deb ... 115s Unpacking libclang-cpp17t64 (1:17.0.6-18) ... 115s Selecting previously unselected package libgomp1:arm64. 115s Preparing to unpack .../02-libgomp1_14.2.0-7ubuntu1_arm64.deb ... 115s Unpacking libgomp1:arm64 (14.2.0-7ubuntu1) ... 115s Selecting previously unselected package libitm1:arm64. 115s Preparing to unpack .../03-libitm1_14.2.0-7ubuntu1_arm64.deb ... 115s Unpacking libitm1:arm64 (14.2.0-7ubuntu1) ... 115s Selecting previously unselected package libasan8:arm64. 115s Preparing to unpack .../04-libasan8_14.2.0-7ubuntu1_arm64.deb ... 115s Unpacking libasan8:arm64 (14.2.0-7ubuntu1) ... 115s Selecting previously unselected package liblsan0:arm64. 115s Preparing to unpack .../05-liblsan0_14.2.0-7ubuntu1_arm64.deb ... 115s Unpacking liblsan0:arm64 (14.2.0-7ubuntu1) ... 115s Selecting previously unselected package libtsan2:arm64. 115s Preparing to unpack .../06-libtsan2_14.2.0-7ubuntu1_arm64.deb ... 115s Unpacking libtsan2:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libubsan1:arm64. 116s Preparing to unpack .../07-libubsan1_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libubsan1:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libhwasan0:arm64. 116s Preparing to unpack .../08-libhwasan0_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libhwasan0:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libgcc-14-dev:arm64. 116s Preparing to unpack .../09-libgcc-14-dev_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libgcc-14-dev:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libstdc++-14-dev:arm64. 116s Preparing to unpack .../10-libstdc++-14-dev_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libstdc++-14-dev:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libgc1:arm64. 116s Preparing to unpack .../11-libgc1_1%3a8.2.6-2_arm64.deb ... 116s Unpacking libgc1:arm64 (1:8.2.6-2) ... 116s Selecting previously unselected package libobjc4:arm64. 116s Preparing to unpack .../12-libobjc4_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libobjc4:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libobjc-14-dev:arm64. 116s Preparing to unpack .../13-libobjc-14-dev_14.2.0-7ubuntu1_arm64.deb ... 116s Unpacking libobjc-14-dev:arm64 (14.2.0-7ubuntu1) ... 116s Selecting previously unselected package libclang-common-17-dev:arm64. 116s Preparing to unpack .../14-libclang-common-17-dev_1%3a17.0.6-18_arm64.deb ... 116s Unpacking libclang-common-17-dev:arm64 (1:17.0.6-18) ... 117s Selecting previously unselected package llvm-17-linker-tools. 117s Preparing to unpack .../15-llvm-17-linker-tools_1%3a17.0.6-18_arm64.deb ... 117s Unpacking llvm-17-linker-tools (1:17.0.6-18) ... 117s Selecting previously unselected package libclang1-17t64. 117s Preparing to unpack .../16-libclang1-17t64_1%3a17.0.6-18_arm64.deb ... 117s Unpacking libclang1-17t64 (1:17.0.6-18) ... 117s Selecting previously unselected package clang-17. 117s Preparing to unpack .../17-clang-17_1%3a17.0.6-18_arm64.deb ... 117s Unpacking clang-17 (1:17.0.6-18) ... 117s Selecting previously unselected package clang-tools-17. 117s Preparing to unpack .../18-clang-tools-17_1%3a17.0.6-18_arm64.deb ... 117s Unpacking clang-tools-17 (1:17.0.6-18) ... 117s Selecting previously unselected package libjsoncpp25:arm64. 117s Preparing to unpack .../19-libjsoncpp25_1.9.5-6build1_arm64.deb ... 117s Unpacking libjsoncpp25:arm64 (1.9.5-6build1) ... 117s Selecting previously unselected package librhash0:arm64. 117s Preparing to unpack .../20-librhash0_1.4.3-3build1_arm64.deb ... 117s Unpacking librhash0:arm64 (1.4.3-3build1) ... 117s Selecting previously unselected package cmake-data. 117s Preparing to unpack .../21-cmake-data_3.30.3-1_all.deb ... 117s Unpacking cmake-data (3.30.3-1) ... 118s Selecting previously unselected package cmake. 118s Preparing to unpack .../22-cmake_3.30.3-1_arm64.deb ... 118s Unpacking cmake (3.30.3-1) ... 118s Selecting previously unselected package libisl23:arm64. 118s Preparing to unpack .../23-libisl23_0.27-1_arm64.deb ... 118s Unpacking libisl23:arm64 (0.27-1) ... 118s Selecting previously unselected package libmpc3:arm64. 118s Preparing to unpack .../24-libmpc3_1.3.1-1build2_arm64.deb ... 118s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 118s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 118s Preparing to unpack .../25-cpp-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 118s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 118s Selecting previously unselected package cpp-14. 118s Preparing to unpack .../26-cpp-14_14.2.0-7ubuntu1_arm64.deb ... 118s Unpacking cpp-14 (14.2.0-7ubuntu1) ... 118s Selecting previously unselected package cpp-aarch64-linux-gnu. 118s Preparing to unpack .../27-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 118s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 118s Selecting previously unselected package cpp. 118s Preparing to unpack .../28-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 119s Unpacking cpp (4:14.1.0-2ubuntu1) ... 119s Selecting previously unselected package libcc1-0:arm64. 119s Preparing to unpack .../29-libcc1-0_14.2.0-7ubuntu1_arm64.deb ... 119s Unpacking libcc1-0:arm64 (14.2.0-7ubuntu1) ... 119s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 119s Preparing to unpack .../30-gcc-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 119s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 119s Selecting previously unselected package gcc-14. 119s Preparing to unpack .../31-gcc-14_14.2.0-7ubuntu1_arm64.deb ... 119s Unpacking gcc-14 (14.2.0-7ubuntu1) ... 119s Selecting previously unselected package gcc-aarch64-linux-gnu. 119s Preparing to unpack .../32-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 119s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 119s Selecting previously unselected package gcc. 119s Preparing to unpack .../33-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 119s Unpacking gcc (4:14.1.0-2ubuntu1) ... 119s Selecting previously unselected package g++-14-aarch64-linux-gnu. 119s Preparing to unpack .../34-g++-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 119s Unpacking g++-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 120s Selecting previously unselected package g++-14. 120s Preparing to unpack .../35-g++-14_14.2.0-7ubuntu1_arm64.deb ... 120s Unpacking g++-14 (14.2.0-7ubuntu1) ... 120s Selecting previously unselected package g++-aarch64-linux-gnu. 120s Preparing to unpack .../36-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 120s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 120s Selecting previously unselected package g++. 120s Preparing to unpack .../37-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 120s Unpacking g++ (4:14.1.0-2ubuntu1) ... 120s Selecting previously unselected package llvm-17-runtime. 120s Preparing to unpack .../38-llvm-17-runtime_1%3a17.0.6-18_arm64.deb ... 120s Unpacking llvm-17-runtime (1:17.0.6-18) ... 120s Selecting previously unselected package libpfm4:arm64. 120s Preparing to unpack .../39-libpfm4_4.13.0+git32-g0d4ed0e-1_arm64.deb ... 120s Unpacking libpfm4:arm64 (4.13.0+git32-g0d4ed0e-1) ... 120s Selecting previously unselected package llvm-17. 120s Preparing to unpack .../40-llvm-17_1%3a17.0.6-18_arm64.deb ... 120s Unpacking llvm-17 (1:17.0.6-18) ... 120s Selecting previously unselected package lld-17. 120s Preparing to unpack .../41-lld-17_1%3a17.0.6-18_arm64.deb ... 120s Unpacking lld-17 (1:17.0.6-18) ... 121s Selecting previously unselected package rocm-device-libs-17. 121s Preparing to unpack .../42-rocm-device-libs-17_6.0+git20231212.5a852ed-2_arm64.deb ... 121s Unpacking rocm-device-libs-17 (6.0+git20231212.5a852ed-2) ... 121s Selecting previously unselected package libdrm-amdgpu1:arm64. 121s Preparing to unpack .../43-libdrm-amdgpu1_2.4.122-1_arm64.deb ... 121s Unpacking libdrm-amdgpu1:arm64 (2.4.122-1) ... 121s Selecting previously unselected package libhsakmt1:arm64. 121s Preparing to unpack .../44-libhsakmt1_6.1.2+ds-1_arm64.deb ... 121s Unpacking libhsakmt1:arm64 (6.1.2+ds-1) ... 121s Selecting previously unselected package libhsa-runtime64-1:arm64. 121s Preparing to unpack .../45-libhsa-runtime64-1_6.1.2-2_arm64.deb ... 121s Unpacking libhsa-runtime64-1:arm64 (6.1.2-2) ... 121s Selecting previously unselected package rocminfo. 121s Preparing to unpack .../46-rocminfo_6.1.2-1_arm64.deb ... 121s Unpacking rocminfo (6.1.2-1) ... 121s Selecting previously unselected package libamd-comgr2:arm64. 121s Preparing to unpack .../47-libamd-comgr2_6.0+git20231212.4510c28+dfsg-3build2_arm64.deb ... 121s Unpacking libamd-comgr2:arm64 (6.0+git20231212.4510c28+dfsg-3build2) ... 121s Selecting previously unselected package libamdhip64-5. 121s Preparing to unpack .../48-libamdhip64-5_5.7.1-4build1_arm64.deb ... 121s Unpacking libamdhip64-5 (5.7.1-4build1) ... 121s Selecting previously unselected package libhiprtc-builtins5. 121s Preparing to unpack .../49-libhiprtc-builtins5_5.7.1-4build1_arm64.deb ... 121s Unpacking libhiprtc-builtins5 (5.7.1-4build1) ... 121s Selecting previously unselected package libamd-comgr-dev. 121s Preparing to unpack .../50-libamd-comgr-dev_6.0+git20231212.4510c28+dfsg-3build2_arm64.deb ... 121s Unpacking libamd-comgr-dev (6.0+git20231212.4510c28+dfsg-3build2) ... 121s Selecting previously unselected package libhsa-runtime-dev:arm64. 122s Preparing to unpack .../51-libhsa-runtime-dev_6.1.2-2_arm64.deb ... 122s Unpacking libhsa-runtime-dev:arm64 (6.1.2-2) ... 122s Selecting previously unselected package libamdhip64-dev. 122s Preparing to unpack .../52-libamdhip64-dev_5.7.1-4build1_arm64.deb ... 122s Unpacking libamdhip64-dev (5.7.1-4build1) ... 122s Selecting previously unselected package libclang-rt-17-dev:arm64. 122s Preparing to unpack .../53-libclang-rt-17-dev_1%3a17.0.6-18_arm64.deb ... 122s Unpacking libclang-rt-17-dev:arm64 (1:17.0.6-18) ... 122s Selecting previously unselected package libfile-which-perl. 122s Preparing to unpack .../54-libfile-which-perl_1.27-2_all.deb ... 122s Unpacking libfile-which-perl (1.27-2) ... 122s Selecting previously unselected package liburi-encode-perl. 122s Preparing to unpack .../55-liburi-encode-perl_1.1.1-3_all.deb ... 122s Unpacking liburi-encode-perl (1.1.1-3) ... 122s Selecting previously unselected package hipcc. 122s Preparing to unpack .../56-hipcc_5.7.1-4build1_arm64.deb ... 122s Unpacking hipcc (5.7.1-4build1) ... 122s Selecting previously unselected package libamdhip64-doc. 122s Preparing to unpack .../57-libamdhip64-doc_5.7.1-4build1_all.deb ... 122s Unpacking libamdhip64-doc (5.7.1-4build1) ... 122s Selecting previously unselected package rocm-opencl-icd. 123s Preparing to unpack .../58-rocm-opencl-icd_5.7.1-4build1_arm64.deb ... 123s Unpacking rocm-opencl-icd (5.7.1-4build1) ... 123s Selecting previously unselected package autopkgtest-satdep. 123s Preparing to unpack .../59-1-autopkgtest-satdep.deb ... 123s Unpacking autopkgtest-satdep (0) ... 123s Setting up libamdhip64-doc (5.7.1-4build1) ... 123s Setting up libfile-which-perl (1.27-2) ... 123s Setting up libgomp1:arm64 (14.2.0-7ubuntu1) ... 123s Setting up rocm-device-libs-17 (6.0+git20231212.5a852ed-2) ... 123s Setting up libpfm4:arm64 (4.13.0+git32-g0d4ed0e-1) ... 123s Setting up libllvm17t64:arm64 (1:17.0.6-18) ... 123s Setting up libclang1-17t64 (1:17.0.6-18) ... 123s Setting up liburi-encode-perl (1.1.1-3) ... 123s Setting up libmpc3:arm64 (1.3.1-1build2) ... 123s Setting up libjsoncpp25:arm64 (1.9.5-6build1) ... 123s Setting up libhiprtc-builtins5 (5.7.1-4build1) ... 123s Setting up libgc1:arm64 (1:8.2.6-2) ... 123s Setting up libubsan1:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libclang-common-17-dev:arm64 (1:17.0.6-18) ... 123s Setting up libhwasan0:arm64 (14.2.0-7ubuntu1) ... 123s Setting up librhash0:arm64 (1.4.3-3build1) ... 123s Setting up lld-17 (1:17.0.6-18) ... 123s Setting up libasan8:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libclang-rt-17-dev:arm64 (1:17.0.6-18) ... 123s Setting up llvm-17-runtime (1:17.0.6-18) ... 123s Setting up cmake-data (3.30.3-1) ... 123s Setting up libamd-comgr2:arm64 (6.0+git20231212.4510c28+dfsg-3build2) ... 123s Setting up libtsan2:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libamd-comgr-dev (6.0+git20231212.4510c28+dfsg-3build2) ... 123s Setting up libisl23:arm64 (0.27-1) ... 123s Setting up libcc1-0:arm64 (14.2.0-7ubuntu1) ... 123s Setting up liblsan0:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libitm1:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libdrm-amdgpu1:arm64 (2.4.122-1) ... 123s Setting up llvm-17-linker-tools (1:17.0.6-18) ... 123s Setting up libobjc4:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libclang-cpp17t64 (1:17.0.6-18) ... 123s Setting up cpp-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 123s Setting up cmake (3.30.3-1) ... 123s Setting up libgcc-14-dev:arm64 (14.2.0-7ubuntu1) ... 123s Setting up libstdc++-14-dev:arm64 (14.2.0-7ubuntu1) ... 123s Setting up llvm-17 (1:17.0.6-18) ... 123s Setting up libhsakmt1:arm64 (6.1.2+ds-1) ... 123s Setting up libobjc-14-dev:arm64 (14.2.0-7ubuntu1) ... 123s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up cpp-14 (14.2.0-7ubuntu1) ... 123s Setting up libhsa-runtime64-1:arm64 (6.1.2-2) ... 123s Setting up cpp (4:14.1.0-2ubuntu1) ... 123s Setting up gcc-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 123s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up g++-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 123s Setting up rocminfo (6.1.2-1) ... 123s Setting up clang-17 (1:17.0.6-18) ... 123s Setting up rocm-opencl-icd (5.7.1-4build1) ... 123s Setting up gcc-14 (14.2.0-7ubuntu1) ... 123s Setting up libhsa-runtime-dev:arm64 (6.1.2-2) ... 123s Setting up libamdhip64-5 (5.7.1-4build1) ... 123s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up g++-14 (14.2.0-7ubuntu1) ... 123s Setting up libamdhip64-dev (5.7.1-4build1) ... 123s Setting up clang-tools-17 (1:17.0.6-18) ... 123s Setting up gcc (4:14.1.0-2ubuntu1) ... 123s Setting up g++ (4:14.1.0-2ubuntu1) ... 123s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 123s Setting up hipcc (5.7.1-4build1) ... 123s Setting up autopkgtest-satdep (0) ... 123s Processing triggers for systemd (256.5-2ubuntu3) ... 123s Processing triggers for man-db (2.12.1-3) ... 123s Processing triggers for libc-bin (2.40-1ubuntu3) ... 129s (Reading database ... 85510 files and directories currently installed.) 129s Removing autopkgtest-satdep (0) ... 129s autopkgtest [23:08:07]: test clang: [----------------------- 130s $ cat main.hip 130s #include 130s #include 130s #include 130s 130s #define CHECK_HIP(expr) do { hipError_t result = (expr); if (result != hipSuccess) { fprintf(stderr, "%s:%d: %s (%d)\n", __FILE__, __LINE__, hipGetErrorString(result), result); exit(EXIT_FAILURE); } } while(0) 130s 130s __global__ void sq_arr(float *arr, int n) { 130s int tid = blockDim.x*blockIdx.x + threadIdx.x; 130s if (tid < n) { 130s arr[tid] = arr[tid] * arr[tid]; 130s } 130s } 130s 130s int main() { 130s enum { N = 5 }; 130s float hArr[N] = { 1, 2, 3, 4, 5 }; 130s float *dArr; 130s CHECK_HIP(hipMalloc(&dArr, sizeof(float) * N)); 130s CHECK_HIP(hipMemcpy(dArr, hArr, sizeof(float) * N, hipMemcpyHostToDevice)); 130s sq_arr<<>>(dArr, N); 130s CHECK_HIP(hipMemcpy(hArr, dArr, sizeof(float) * N, hipMemcpyDeviceToHost)); 130s for (int i = 0; i < N; ++i) { 130s printf("%f\n", hArr[i]); 130s } 130s CHECK_HIP(hipFree(dArr)); 130s return 0; 130s } 130s $ clang++-17 -x hip --offload-arch=gfx900 main.hip -lamdhip64 -o main 134s autopkgtest [23:08:12]: test clang: -----------------------] 134s autopkgtest [23:08:12]: test clang: - - - - - - - - - - results - - - - - - - - - - 134s clang PASS (superficial) 135s autopkgtest [23:08:13]: test cmake-hip-config: preparing testbed 136s Reading package lists... 136s Building dependency tree... 136s Reading state information... 137s Starting pkgProblemResolver with broken count: 0 137s Starting 2 pkgProblemResolver with broken count: 0 137s Done 137s The following NEW packages will be installed: 137s autopkgtest-satdep 137s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 137s Need to get 0 B/776 B of archives. 137s After this operation, 0 B of additional disk space will be used. 137s Get:1 /tmp/autopkgtest.FzpKaW/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 138s Selecting previously unselected package autopkgtest-satdep. 138s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 138s Preparing to unpack .../2-autopkgtest-satdep.deb ... 138s Unpacking autopkgtest-satdep (0) ... 138s Setting up autopkgtest-satdep (0) ... 142s (Reading database ... 85510 files and directories currently installed.) 142s Removing autopkgtest-satdep (0) ... 142s autopkgtest [23:08:20]: test cmake-hip-config: [----------------------- 143s $ cat main.cpp 143s #include 143s #include 143s #include 143s 143s #define CHECK_HIP(expr) do { hipError_t result = (expr); if (result != hipSuccess) { fprintf(stderr, "%s:%d: %s (%d)\n", __FILE__, __LINE__, hipGetErrorString(result), result); exit(EXIT_FAILURE); } } while(0) 143s 143s __global__ void sq_arr(float *arr, int n) { 143s int tid = blockDim.x*blockIdx.x + threadIdx.x; 143s if (tid < n) { 143s arr[tid] = arr[tid] * arr[tid]; 143s } 143s } 143s 143s int main() { 143s enum { N = 5 }; 143s float hArr[N] = { 1, 2, 3, 4, 5 }; 143s float *dArr; 143s CHECK_HIP(hipMalloc(&dArr, sizeof(float) * N)); 143s CHECK_HIP(hipMemcpy(dArr, hArr, sizeof(float) * N, hipMemcpyHostToDevice)); 143s sq_arr<<>>(dArr, N); 143s CHECK_HIP(hipMemcpy(hArr, dArr, sizeof(float) * N, hipMemcpyDeviceToHost)); 143s for (int i = 0; i < N; ++i) { 143s printf("%f\n", hArr[i]); 143s } 143s CHECK_HIP(hipFree(dArr)); 143s return 0; 143s } 143s $ cat CMakeLists.txt 143s cmake_minimum_required(VERSION 3.22) 143s project(example LANGUAGES CXX) 143s find_package(hip REQUIRED) 143s add_executable(ex main.cpp) 143s target_link_libraries(ex PRIVATE hip::device) 143s $ CXX=clang++-17 cmake -S. -Bbuild -DAMDGPU_TARGETS=gfx1030 143s -- The CXX compiler identification is Clang 17.0.6 143s -- Detecting CXX compiler ABI info 143s -- Detecting CXX compiler ABI info - done 143s -- Check for working CXX compiler: /usr/bin/clang++-17 - skipped 143s -- Detecting CXX compile features 143s -- Detecting CXX compile features - done 143s -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 144s -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 144s -- Found Threads: TRUE 144s -- hip::amdhip64 is SHARED_LIBRARY 144s -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS 144s -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed 144s -- Looking for compiler-rt 144s -- Looking for compiler-rt - found 144s -- Configuring done (1.1s) 144s -- Generating done (0.0s) 144s -- Build files have been written to: /tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build 144s $ make -C build 144s make: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 144s make[1]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 144s make[2]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 144s make[2]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 144s make[2]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 144s [ 50%] Building CXX object CMakeFiles/ex.dir/main.cpp.o 147s [100%] Linking CXX executable ex 147s make[2]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 147s [100%] Built target ex 147s make[1]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 147s make: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 148s autopkgtest [23:08:26]: test cmake-hip-config: -----------------------] 148s autopkgtest [23:08:26]: test cmake-hip-config: - - - - - - - - - - results - - - - - - - - - - 148s cmake-hip-config PASS (superficial) 148s autopkgtest [23:08:26]: test cmake-hip-lang: preparing testbed 150s Reading package lists... 150s Building dependency tree... 150s Reading state information... 150s Starting pkgProblemResolver with broken count: 0 150s Starting 2 pkgProblemResolver with broken count: 0 150s Done 151s The following NEW packages will be installed: 151s autopkgtest-satdep 151s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 0 B/776 B of archives. 151s After this operation, 0 B of additional disk space will be used. 151s Get:1 /tmp/autopkgtest.FzpKaW/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 152s Selecting previously unselected package autopkgtest-satdep. 152s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 152s Preparing to unpack .../3-autopkgtest-satdep.deb ... 152s Unpacking autopkgtest-satdep (0) ... 152s Setting up autopkgtest-satdep (0) ... 155s (Reading database ... 85510 files and directories currently installed.) 155s Removing autopkgtest-satdep (0) ... 156s autopkgtest [23:08:34]: test cmake-hip-lang: [----------------------- 156s $ cat main.hip 156s #include 156s #include 156s #include 156s 156s #define CHECK_HIP(expr) do { hipError_t result = (expr); if (result != hipSuccess) { fprintf(stderr, "%s:%d: %s (%d)\n", __FILE__, __LINE__, hipGetErrorString(result), result); exit(EXIT_FAILURE); } } while(0) 156s 156s __global__ void sq_arr(float *arr, int n) { 156s int tid = blockDim.x*blockIdx.x + threadIdx.x; 156s if (tid < n) { 156s arr[tid] = arr[tid] * arr[tid]; 156s } 156s } 156s 156s int main() { 156s enum { N = 5 }; 156s float hArr[N] = { 1, 2, 3, 4, 5 }; 156s float *dArr; 156s CHECK_HIP(hipMalloc(&dArr, sizeof(float) * N)); 156s CHECK_HIP(hipMemcpy(dArr, hArr, sizeof(float) * N, hipMemcpyHostToDevice)); 156s sq_arr<<>>(dArr, N); 156s CHECK_HIP(hipMemcpy(hArr, dArr, sizeof(float) * N, hipMemcpyDeviceToHost)); 156s for (int i = 0; i < N; ++i) { 156s printf("%f\n", hArr[i]); 156s } 156s CHECK_HIP(hipFree(dArr)); 156s return 0; 156s } 156s $ cat CMakeLists.txt 156s cmake_minimum_required(VERSION 3.22) 156s project(example LANGUAGES HIP) 156s add_executable(ex main.hip) 156s $ HIPCXX=clang++-17 cmake -S. -Bbuild -DCMAKE_HIP_ARCHITECTURES=gfx1030 158s -- The HIP compiler identification is Clang 17.0.6 158s -- Detecting HIP compiler ABI info 159s -- Detecting HIP compiler ABI info - done 160s -- Check for working HIP compiler: /usr/bin/clang++-17 - skipped 160s -- Detecting HIP compile features 160s -- Detecting HIP compile features - done 160s -- Configuring done (3.5s) 160s -- Generating done (0.0s) 160s -- Build files have been written to: /tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build 160s $ make -C build 160s make: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 160s make[1]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 160s make[2]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 160s make[2]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 160s make[2]: Entering directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 160s [ 50%] Building HIP object CMakeFiles/ex.dir/main.hip.o 162s [100%] Linking HIP executable ex 163s make[2]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 163s [100%] Built target ex 163s make[1]: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 163s make: Leaving directory '/tmp/autopkgtest.FzpKaW/autopkgtest_tmp/build' 163s autopkgtest [23:08:41]: test cmake-hip-lang: -----------------------] 163s autopkgtest [23:08:41]: test cmake-hip-lang: - - - - - - - - - - results - - - - - - - - - - 163s cmake-hip-lang PASS (superficial) 164s autopkgtest [23:08:42]: test g++: preparing testbed 165s Reading package lists... 165s Building dependency tree... 165s Reading state information... 166s Starting pkgProblemResolver with broken count: 0 166s Starting 2 pkgProblemResolver with broken count: 0 166s Done 167s The following NEW packages will be installed: 167s autopkgtest-satdep 167s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 167s Need to get 0 B/780 B of archives. 167s After this operation, 0 B of additional disk space will be used. 167s Get:1 /tmp/autopkgtest.FzpKaW/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [780 B] 167s Selecting previously unselected package autopkgtest-satdep. 167s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 167s Preparing to unpack .../4-autopkgtest-satdep.deb ... 167s Unpacking autopkgtest-satdep (0) ... 167s Setting up autopkgtest-satdep (0) ... 172s (Reading database ... 85510 files and directories currently installed.) 172s Removing autopkgtest-satdep (0) ... 172s autopkgtest [23:08:50]: test g++: [----------------------- 173s $ cat main.cpp 173s #include 173s #include 173s #include 173s 173s #define CHECK_HIP(expr) do { hipError_t result = (expr); if (result != hipSuccess) { fprintf(stderr, "%s:%d: %s (%d)\n", __FILE__, __LINE__, hipGetErrorString(result), result); exit(EXIT_FAILURE); } } while(0) 173s 173s int main() { 173s enum { N = 5 }; 173s float hArr[N] = { 1, 2, 3, 4, 5 }; 173s float *dArr; 173s CHECK_HIP(hipMalloc(&dArr, sizeof(float) * N)); 173s CHECK_HIP(hipMemcpy(dArr, hArr, sizeof(float) * N, hipMemcpyHostToDevice)); 173s CHECK_HIP(hipMemcpy(hArr, dArr, sizeof(float) * N, hipMemcpyDeviceToHost)); 173s for (int i = 0; i < N; ++i) { 173s printf("%f\n", hArr[i]); 173s } 173s CHECK_HIP(hipFree(dArr)); 173s return 0; 173s } 173s $ g++ -D__HIP_PLATFORM_AMD__ main.cpp -lamdhip64 -o main 174s autopkgtest [23:08:52]: test g++: -----------------------] 174s g++ PASS (superficial) 174s autopkgtest [23:08:52]: test g++: - - - - - - - - - - results - - - - - - - - - - 175s autopkgtest [23:08:53]: test gcc: preparing testbed 176s Reading package lists... 176s Building dependency tree... 176s Reading state information... 177s Starting pkgProblemResolver with broken count: 0 177s Starting 2 pkgProblemResolver with broken count: 0 177s Done 178s The following NEW packages will be installed: 178s autopkgtest-satdep 178s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 178s Need to get 0 B/776 B of archives. 178s After this operation, 0 B of additional disk space will be used. 178s Get:1 /tmp/autopkgtest.FzpKaW/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 178s Selecting previously unselected package autopkgtest-satdep. 178s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 178s Preparing to unpack .../5-autopkgtest-satdep.deb ... 178s Unpacking autopkgtest-satdep (0) ... 178s Setting up autopkgtest-satdep (0) ... 182s (Reading database ... 85510 files and directories currently installed.) 182s Removing autopkgtest-satdep (0) ... 182s autopkgtest [23:09:00]: test gcc: [----------------------- 183s $ cat main.c 183s #include 183s #include 183s #include 183s 183s #define CHECK_HIP(expr) do { hipError_t result = (expr); if (result != hipSuccess) { fprintf(stderr, "%s:%d: %s (%d)\n", __FILE__, __LINE__, hipGetErrorString(result), result); exit(EXIT_FAILURE); } } while(0) 183s 183s int main() { 183s enum { N = 5 }; 183s float hArr[N] = { 1, 2, 3, 4, 5 }; 183s float *dArr; 183s CHECK_HIP(hipMalloc((void**)&dArr, sizeof(float) * N)); 183s CHECK_HIP(hipMemcpy((void**)dArr, hArr, sizeof(float) * N, hipMemcpyHostToDevice)); 183s CHECK_HIP(hipMemcpy((void**)hArr, dArr, sizeof(float) * N, hipMemcpyDeviceToHost)); 183s for (int i = 0; i < N; ++i) { 183s printf("%f\n", hArr[i]); 183s } 183s CHECK_HIP(hipFree(dArr)); 183s return 0; 183s } 183s $ gcc -D__HIP_PLATFORM_AMD__ main.c -lamdhip64 -o main 184s autopkgtest [23:09:01]: test gcc: -----------------------] 184s autopkgtest [23:09:02]: test gcc: - - - - - - - - - - results - - - - - - - - - - 184s gcc PASS (superficial) 184s autopkgtest [23:09:02]: test hipconfig: preparing testbed 188s Reading package lists... 188s Building dependency tree... 188s Reading state information... 189s Starting pkgProblemResolver with broken count: 0 189s Starting 2 pkgProblemResolver with broken count: 0 189s Done 190s The following NEW packages will be installed: 190s autopkgtest-satdep 190s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 190s Need to get 0 B/780 B of archives. 190s After this operation, 0 B of additional disk space will be used. 190s Get:1 /tmp/autopkgtest.FzpKaW/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [780 B] 190s Selecting previously unselected package autopkgtest-satdep. 190s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 190s Preparing to unpack .../6-autopkgtest-satdep.deb ... 190s Unpacking autopkgtest-satdep (0) ... 190s Setting up autopkgtest-satdep (0) ... 194s (Reading database ... 85510 files and directories currently installed.) 194s Removing autopkgtest-satdep (0) ... 195s autopkgtest [23:09:13]: test hipconfig: [----------------------- 195s HIP version : 5.7.31921-0 195s 195s == hipconfig 195s HIP_PATH : /usr 195s ROCM_PATH : /usr 195s HIP_COMPILER : clang 195s HIP_PLATFORM : amd 195s HIP_RUNTIME : rocclr 195s CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/usr/include -I/usr/lib/llvm-17/lib/clang/17 195s 195s 195s == hip-clang 195s HIP_CLANG_PATH : /usr/bin 195s Ubuntu clang version 17.0.6 (18) 195s Target: aarch64-unknown-linux-gnu 195s Thread model: posix 195s InstalledDir: /usr/bin 195s Ubuntu LLVM version 17.0.6 195s Optimized build. 195s Default target: aarch64-unknown-linux-gnu 195s Host CPU: neoverse-n1 195s 195s Registered Targets: 195s aarch64 - AArch64 (little endian) 195s aarch64_32 - AArch64 (little endian ILP32) 195s aarch64_be - AArch64 (big endian) 195s amdgcn - AMD GCN GPUs 195s arm - ARM 195s arm64 - ARM64 (little endian) 195s arm64_32 - ARM64 (little endian ILP32) 195s armeb - ARM (big endian) 195s avr - Atmel AVR Microcontroller 195s bpf - BPF (host endian) 195s bpfeb - BPF (big endian) 195s bpfel - BPF (little endian) 195s hexagon - Hexagon 195s lanai - Lanai 195s loongarch32 - 32-bit LoongArch 195s loongarch64 - 64-bit LoongArch 195s m68k - Motorola 68000 family 195s mips - MIPS (32-bit big endian) 195s mips64 - MIPS (64-bit big endian) 195s mips64el - MIPS (64-bit little endian) 195s mipsel - MIPS (32-bit little endian) 195s msp430 - MSP430 [experimental] 195s nvptx - NVIDIA PTX 32-bit 195s nvptx64 - NVIDIA PTX 64-bit 195s ppc32 - PowerPC 32 195s ppc32le - PowerPC 32 LE 195s ppc64 - PowerPC 64 195s ppc64le - PowerPC 64 LE 195s r600 - AMD GPUs HD2XXX-HD6XXX 195s riscv32 - 32-bit RISC-V 195s riscv64 - 64-bit RISC-V 195s sparc - Sparc 195s sparcel - Sparc LE 195s sparcv9 - Sparc V9 195s systemz - SystemZ 195s thumb - Thumb 195s thumbeb - Thumb (big endian) 195s ve - VE 195s wasm32 - WebAssembly 32-bit 195s wasm64 - WebAssembly 64-bit 195s x86 - 32-bit X86: Pentium-Pro and above 195s x86-64 - 64-bit X86: EM64T and AMD64 195s xcore - XCore 195s xtensa - Xtensa 32 196s hip-clang-cxxflags : -O3 196s hip-clang-ldflags : -O3 --hip-link --rtlib=compiler-rt -unwindlib=libgcc 196s 196s === Environment Variables 196s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 196s 196s == Linux Kernel 196s Hostname : autopkgtest 196s Linux autopkgtest 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux 196s Distributor ID: Ubuntu 196s Description: Ubuntu Plucky Puffin (development branch) 196s Release: 25.04 196s Codename: plucky 196s 196s autopkgtest [23:09:14]: test hipconfig: -----------------------] 196s autopkgtest [23:09:14]: test hipconfig: - - - - - - - - - - results - - - - - - - - - - 196s hipconfig PASS (superficial) 197s autopkgtest [23:09:15]: test hipcc: preparing testbed 198s Reading package lists... 199s Building dependency tree... 199s Reading state information... 199s Starting pkgProblemResolver with broken count: 0 199s Starting 2 pkgProblemResolver with broken count: 0 199s Done 200s The following NEW packages will be installed: 200s autopkgtest-satdep 200s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 200s Need to get 0 B/776 B of archives. 200s After this operation, 0 B of additional disk space will be used. 200s Get:1 /tmp/autopkgtest.FzpKaW/7-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 201s Selecting previously unselected package autopkgtest-satdep. 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 85510 files and directories currently installed.) 201s Preparing to unpack .../7-autopkgtest-satdep.deb ... 201s Unpacking autopkgtest-satdep (0) ... 201s Setting up autopkgtest-satdep (0) ... 204s (Reading database ... 85510 files and directories currently installed.) 204s Removing autopkgtest-satdep (0) ... 205s autopkgtest [23:09:23]: test hipcc: [----------------------- 205s $ hipcc --help 205s OVERVIEW: clang LLVM compiler 205s 205s USAGE: clang [options] file... 205s 205s OPTIONS: 205s -### Print (but do not run) the commands to run for this compilation 205s --amdgpu-arch-tool= 205s Tool used for detecting AMD GPU arch in the system. 205s --analyzer-output 205s Static analyzer report output format (html|plist|plist-multi-file|plist-html|sarif|sarif-html|text). 205s --analyze Run the static analyzer 205s -arcmt-migrate-emit-errors 205s Emit ARC errors even if the migrator can fix them 205s -arcmt-migrate-report-output 205s Output path for the plist report 205s -B Search $prefix$file for executables, libraries, and data files. If $prefix is a directory, search $prefix/$file 205s -b Pass -b to the linker on AIX 205s -CC Include comments from within macros in preprocessed output 205s -cl-denorms-are-zero OpenCL only. Allow denormals to be flushed to zero. 205s -cl-ext= OpenCL only. Enable or disable OpenCL extensions/optional features. The argument is a comma-separated sequence of one or more extension names, each prefixed by '+' or '-'. 205s -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__. 205s -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. 205s -cl-fp32-correctly-rounded-divide-sqrt 205s OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded. 205s -cl-kernel-arg-info OpenCL only. Generate kernel argument metadata. 205s -cl-mad-enable OpenCL only. Allow use of less precise MAD computations in the generated binary. 205s -cl-no-signed-zeros OpenCL only. Allow use of less precise no signed zeros computations in the generated binary. 205s -cl-no-stdinc OpenCL only. Disables all standard includes containing non-native compiler types and functions. 205s -cl-opt-disable OpenCL only. This option disables all optimizations. By default optimizations are enabled. 205s -cl-single-precision-constant 205s OpenCL only. Treat double precision floating-point constant as single precision constant. 205s -cl-std= OpenCL language standard to compile for. 205s -cl-strict-aliasing OpenCL only. This option is added for compatibility with OpenCL 1.0. 205s -cl-uniform-work-group-size 205s OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel 205s -cl-unsafe-math-optimizations 205s OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable. 205s --config= Specify configuration file 205s --cuda-compile-host-device 205s Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations. 205s --cuda-device-only Compile CUDA code for device only 205s --cuda-feature= Manually specify the CUDA feature to use 205s --cuda-host-only Compile CUDA code for host only. Has no effect on non-CUDA compilations. 205s --cuda-include-ptx= 205s Include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once. 205s --cuda-noopt-device-debug 205s Enable device-side debug info generation. Disables ptxas optimizations. 205s --cuda-path-ignore-env Ignore environment variables to detect CUDA installation 205s --cuda-path= CUDA installation path 205s -cuid= An ID for compilation unit, which should be the same for the same compilation unit but different for different compilation units. It is used to externalize device-side static variables for single source offloading languages CUDA and HIP so that they can be accessed by the host code of the same compilation unit. 205s -cxx-isystem 205s Add directory to the C++ SYSTEM include search path 205s -C Include comments in preprocessed output 205s -c Only run preprocess, compile, and assemble steps 205s -darwin-target-variant-triple 205s Specify the darwin target variant triple 205s -darwin-target-variant 205s Generate code for an additional runtime variant of the deployment target 205s -dD Print macro definitions in -E mode in addition to normal output 205s -dependency-dot Filename to write DOT-formatted header dependencies to 205s -dependency-file 205s Filename (or -) to write dependency output to 205s -dI Print include directives in -E mode in addition to normal output 205s -dM Print macro definitions in -E mode instead of normal output 205s -dsym-dir Directory to output dSYM's (if any) to 205s -dumpdir Use as a prefix to form auxiliary and dump file names 205s -D = Define to (or 1 if omitted) 205s -emit-ast Emit Clang AST files for source inputs 205s -emit-interface-stubs Generate Interface Stub Files. 205s -emit-llvm Use the LLVM representation for assembler and object files 205s -emit-merged-ifs Generate Interface Stub Files, emit merged text not binary. 205s --emit-static-lib Enable linker job to emit a static library. 205s --emit-symbol-graph= 205s Generate Extract API information as a side effect of compilation. 205s --end-no-unused-arguments 205s Start emitting warnings for unused driver arguments 205s --extract-api-ignores= 205s Comma separated list of files containing a new line separated list of API symbols to ignore when extracting API information. 205s -extract-api Extract API information 205s -E Only run the preprocessor 205s -faapcs-bitfield-load Follows the AAPCS standard that all volatile bit-field write generates at least one load. (ARM only). 205s -faapcs-bitfield-width Follow the AAPCS standard requirement stating that volatile bit-field width is dictated by the field container type. (ARM only). 205s -faddrsig Emit an address-significance table 205s -falign-loops= N must be a power of two. Align loops to the boundary 205s -faligned-allocation Enable C++17 aligned allocation functions 205s -fallow-editor-placeholders 205s Treat editor placeholders as valid source code 205s -faltivec-src-compat= 205s Source-level compatibility for Altivec vectors (for PowerPC targets). This includes results of vector comparison (scalar for 'xl', vector for 'gcc') as well as behavior when initializing with a scalar (splatting for 'xl', element zero only for 'gcc'). For 'mixed', the compatibility is as 'gcc' for 'vector bool/vector pixel' and as 'xl' for other types. Current default is 'mixed'. 205s -fansi-escape-codes Use ANSI escape codes for diagnostics 205s -fapple-kext Use Apple's kernel extensions ABI 205s -fapple-link-rtlib Force linking the clang builtins runtime library 205s -fapple-pragma-pack Enable Apple gcc-compatible #pragma pack handling 205s -fapplication-extension Restrict code to those available for App Extensions 205s -fapprox-func Allow certain math function calls to be replaced with an approximately equivalent calculation 205s -fasync-exceptions Enable EH Asynchronous exceptions 205s -fbasic-block-sections= 205s Place each function's basic blocks in unique sections (ELF Only) 205s -fbinutils-version= 205s Produced object files can use all ELF features supported by this binutils version and newer. If -fno-integrated-as is specified, the generated assembly will consider GNU as support. 'none' means that all ELF features can be used, regardless of binutils support. Defaults to 2.26. 205s -fblocks Enable the 'blocks' language feature 205s -fborland-extensions Accept non-standard constructs supported by the Borland compiler 205s -fbuild-session-file= 205s Use the last modification time of as the build session timestamp 205s -fbuild-session-timestamp=