Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841014 - sys-process/criu-3.16.1 - Error (compel/.../handle-elf-host.c:<snip>:Unexpected undefined symbol: strlen. External symbol in PIE?
Summary: sys-process/criu-3.16.1 - Error (compel/.../handle-elf-host.c:<snip>:Unexpect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 856982 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-26 13:19 UTC by Toralf Förster
Modified: 2022-08-05 01:03 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.41 KB, text/plain)
2022-04-26 13:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.64 KB, text/plain)
2022-04-26 13:19 UTC, Toralf Förster
Details
environment (environment,117.22 KB, text/plain)
2022-04-26 13:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.81 KB, application/x-bzip)
2022-04-26 13:19 UTC, Toralf Förster
Details
sys-process:criu-3.16.1:20220426-131309.log (sys-process:criu-3.16.1:20220426-131309.log,121.63 KB, text/plain)
2022-04-26 13:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.29 KB, application/x-bzip)
2022-04-26 13:19 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-04-26 13:19:50 UTC
x86_64-pc-linux-gnu-ld  -r -z noexecstack -T ./compel/arch/x86/scripts/compel-pack.lds.S  -o criu/pie/parasite.built-in.o  criu/pie/parasite.o criu/pie/pie.lib.a ./compel/plugins/std.lib.a
./compel/compel-host hgen -f criu/pie/parasite.built-in.o -o criu/pie/parasite-blob.h
x86_64-pc-linux-gnu-ld  -r -z noexecstack -T ./compel/arch/x86/scripts/compel-pack.lds.S  -o criu/pie/restorer.built-in.o  criu/pie/parasite-vdso.o ./criu/arch/x86/vdso-pie.o ./criu/arch/x86/restorer.o ./criu/arch/x86/restorer_unmap.o ./criu/arch/x86/sigaction_compat_pie.o criu/pie/restorer.o criu/pie/pie.lib.a ./compel/plugins/std.lib.a
./compel/compel-host hgen -f criu/pie/restorer.built-in.o -o criu/pie/restorer-blob.h
Error (compel/src/lib/handle-elf-host.c:337): Unexpected undefined symbol: `strlen'. External symbol in PIE?
make[2]: *** [criu/pie/Makefile:58: criu/pie/restorer-blob.h] Error 255
make[1]: *** [criu/Makefile:59: pie] Error 2

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit f1d4a131b4dddec98e82e94cb235f64e3048798c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 26 12:18:24 2022 +0000

    2022-04-26 12:18:24 UTC

emerge -qpvO sys-process/criu
[ebuild  N    ] sys-process/criu-3.16.1  USE="-bpf -doc -gnutls -nftables (-selinux) -setproctitle -static-libs -test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-26 13:19:51 UTC
Created attachment 774759 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-26 13:19:53 UTC
Created attachment 774762 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-26 13:19:54 UTC
Created attachment 774765 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-26 13:19:55 UTC
Created attachment 774768 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-26 13:19:56 UTC
Created attachment 774771 [details]
sys-process:criu-3.16.1:20220426-131309.log
Comment 6 Toralf Förster gentoo-dev 2022-04-26 13:19:58 UTC
Created attachment 774774 [details]
temp.tar.bz2
Comment 7 Kobboi 2022-05-16 11:56:13 UTC
Should be fixed in upstream development track:
https://github.com/checkpoint-restore/criu/pull/1726
Comment 8 Kobboi 2022-05-16 11:59:53 UTC
More specifically, criu-3.17 (not yet in tree) should fix this
Comment 9 Larry the Git Cow gentoo-dev 2022-05-19 03:33:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5e6fa4194077e9d9d3df3596ff84ea10dd91c3

commit 2a5e6fa4194077e9d9d3df3596ff84ea10dd91c3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-19 03:16:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-19 03:16:37 +0000

    sys-process/criu: add 3.17
    
    Closes: https://bugs.gentoo.org/841014
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/criu/Manifest                          |   1 +
 sys-process/criu/criu-3.17.ebuild                  | 164 +++++++++++++++++++++
 .../criu/files/criu-3.17-amdgpu-build-fixes.patch  |  98 ++++++++++++
 3 files changed, 263 insertions(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-05 01:03:03 UTC
*** Bug 856982 has been marked as a duplicate of this bug. ***