Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 824994

Summary: dev-libs/pocl-1.8-r1 - pthread_scheduler.c:(.text+<snip>): undefined reference to pocl_mem_manager_free_command
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:pocl-1.8-r1:20211119-074324.log.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-19 16:42:43 UTC
too long lines were shrinked:

[415/415] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-flto -Wl,-z,relro -Wl,-z,now -Wl,-z,ibtplt -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,notext -shar
FAILED: lib/CL/devices/pthread/libpocl-devices-pthread.so 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-flto -Wl,-z,relro -Wl,-z,now -Wl,-z,ibtplt -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,notext -shared -Wl,-so
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o: in function `pocl_pthread_driver_thread':
pthread_scheduler.c:(.text+0x8c1): undefined reference to `pocl_mem_manager_free_command'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/CL/devices/pthread/libpocl-devices-pthread.so: hidden symbol `pocl_mem_manager_free_command' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20211114-190301

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  (none found)

  HEAD of ::gentoo
commit 13d7d8859067635ce5d15affd14ee1713491e7a7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 19 06:51:33 2021 +0000

    2021-11-19 06:51:31 UTC

emerge -qpvO dev-libs/pocl
[ebuild  N    ] dev-libs/pocl-1.8-r1  USE="cl20 conformance hardening hwloc memmanager -accel (-cuda) -debug -doc -examples -float-conversion -test"
Comment 1 Toralf Förster gentoo-dev 2021-11-19 16:42:45 UTC
Created attachment 753214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-19 16:42:47 UTC
Created attachment 753218 [details]
dev-libs:pocl-1.8-r1:20211119-074324.log.bz2
Comment 3 Toralf Förster gentoo-dev 2021-11-19 16:42:50 UTC
Created attachment 753222 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-19 16:42:52 UTC
Created attachment 753226 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-19 16:42:55 UTC
Created attachment 753230 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-19 16:42:56 UTC
Created attachment 753234 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-19 16:42:59 UTC
Created attachment 753238 [details]
temp.tar.bz2