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

Bug 785238

Summary: dev-php/pecl-mcrypt-1.0.3 - /.../ld: /.../libmcrypt.a(mcrypt_extra.o): relocation R_X86_64_PC32 against symbol mps can not be used
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: UNCONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2021-04-23 14:53:13 UTC
/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
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)"
Comment 1 Toralf Förster gentoo-dev 2021-04-23 14:53:14 UTC
Created attachment 701934 [details]
Comment 2 Toralf Förster gentoo-dev 2021-04-23 14:53:15 UTC
Created attachment 701937 [details]
Comment 3 Toralf Förster gentoo-dev 2021-04-23 14:53:17 UTC
Created attachment 701940 [details]
Comment 4 Toralf Förster gentoo-dev 2021-04-23 14:53:18 UTC
Created attachment 701943 [details]
Comment 5 Toralf Förster gentoo-dev 2021-04-23 14:53:19 UTC
Created attachment 701946 [details]
Comment 6 Toralf Förster gentoo-dev 2021-04-23 14:53:20 UTC
Created attachment 701949 [details]
Comment 7 Toralf Förster gentoo-dev 2021-04-23 14:53:21 UTC
Created attachment 701952 [details]
Comment 8 Tomáš Mózes 2021-05-07 06:25:38 UTC
Cannot reproduce on recent ~amd64 machine with gcc-11 and binutils-2.36.1.

Don't you need to remove your older binutils?