Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885611 - dev-libs/pocl-3.1 - /.../pocl_mem_management.c: error: use of undeclared identifier cmd
Summary: dev-libs/pocl-3.1 - /.../pocl_mem_management.c: error: use of undeclared iden...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-12 15:07 UTC by Toralf Förster
Modified: 2022-12-12 20:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2022-12-12 15:07 UTC, Toralf Förster
Details
dev-libs:pocl-3.1:20221212-143105.log.bz2 (dev-libs:pocl-3.1:20221212-143105.log.bz2,294.46 KB, application/x-bzip)
2022-12-12 15:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.86 KB, text/plain)
2022-12-12 15:07 UTC, Toralf Förster
Details
environment (environment,144.52 KB, text/plain)
2022-12-12 15:07 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-12-12 15:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.18 KB, application/x-bzip)
2022-12-12 15:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.32 KB, application/x-bzip)
2022-12-12 15:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,325.90 KB, application/x-bzip)
2022-12-12 15:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-12 15:07:01 UTC
too long lines were shrinked:

clang-15: warning: -lvi-cfi: 'linker' input unused [-Wunused-command-line-argument]
[1847/1943] /usr/lib/llvm/15/bin/clang-15 -DCL_HPP_TARGET_OPENCL_VERSION=300 -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DCL_USE_DEP
FAILED: lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o 
/usr/lib/llvm/15/bin/clang-15 -DCL_HPP_TARGET_OPENCL_VERSION=300 -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DCL_USE_DEPRECATED_OPEN
clang-15: warning: -lvi-load-hardening: 'linker' input unused [-Wunused-command-line-argument]
clang-15: warning: -lvi-cfi: 'linker' input unused [-Wunused-command-line-argument]
/var/tmp/portage/dev-libs/pocl-3.1/work/pocl-3.1/lib/CL/pocl_mem_management.c:120:7: error: use of undeclared identifier 'cmd'
  if (cmd && cmd->buffered)
      ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_test-20221211-060004

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit f77faab7b3157a9b556ec8a3f02854b251b7a0e1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 12 13:31:48 2022 +0000

    2022-12-12 13:31:48 UTC

emerge -qpvO dev-libs/pocl
[ebuild  N    ] dev-libs/pocl-3.1  USE="accel conformance hardening hwloc memmanager (-cuda) -debug -doc -examples -float-conversion -lto -test"
Comment 1 Toralf Förster gentoo-dev 2022-12-12 15:07:02 UTC
Created attachment 842059 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-12 15:07:04 UTC
Created attachment 842061 [details]
dev-libs:pocl-3.1:20221212-143105.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-12 15:07:05 UTC
Created attachment 842063 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-12 15:07:07 UTC
Created attachment 842065 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-12 15:07:08 UTC
Created attachment 842067 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-12 15:07:09 UTC
Created attachment 842069 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-12 15:07:10 UTC
Created attachment 842071 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-12 15:07:12 UTC
Created attachment 842073 [details]
temp.tar.bz2
Comment 9 Lukas Schmelting 2022-12-12 20:18:56 UTC
Compiles fine for me with clang-15.0.6 and "stricter" flag on clang-common.