/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libmcrypt.a(twofish.o): warning: relocation against `tab_ef' in read-only section `.text' /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libmcrypt.a(mcrypt_extra.o): relocation R_X86_64_PC32 against symbol `mps' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_library(), line 1555: (see child process error messages). ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20210419-131016 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.3.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.51.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Apr 22 22:50:08 UTC 2021 emerge -qpvO dev-php/pecl-mcrypt [ebuild N ] dev-php/pecl-mcrypt-1.0.3 PHP_TARGETS="php7-3 php7-4 (-php7-2)"
Created attachment 701934 [details] emerge-info.txt
Created attachment 701937 [details] dev-php:pecl-mcrypt-1.0.3:20210422-231434.log
Created attachment 701940 [details] emerge-history.txt
Created attachment 701943 [details] environment
Created attachment 701946 [details] etc.portage.tar.bz2
Created attachment 701949 [details] logs.tar.bz2
Created attachment 701952 [details] temp.tar.bz2
Cannot reproduce on recent ~amd64 machine with gcc-11 and binutils-2.36.1. Don't you need to remove your older binutils?