Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785238 - 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
Summary: dev-php/pecl-mcrypt-1.0.3 - /.../ld: /.../libmcrypt.a(mcrypt_extra.o): reloca...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 14:53 UTC by Toralf Förster
Modified: 2021-05-07 06:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2021-04-23 14:53 UTC, Toralf Förster
Details
dev-php:pecl-mcrypt-1.0.3:20210422-231434.log (dev-php:pecl-mcrypt-1.0.3:20210422-231434.log,21.31 KB, text/plain)
2021-04-23 14:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.21 KB, text/plain)
2021-04-23 14:53 UTC, Toralf Förster
Details
environment (environment,73.15 KB, text/plain)
2021-04-23 14:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.92 KB, application/x-bzip)
2021-04-23 14:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.13 KB, application/x-bzip)
2021-04-23 14:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.17 KB, application/x-bzip)
2021-04-23 14:53 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 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
/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)"
Comment 1 Toralf Förster gentoo-dev 2021-04-23 14:53:14 UTC
Created attachment 701934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-23 14:53:15 UTC
Created attachment 701937 [details]
dev-php:pecl-mcrypt-1.0.3:20210422-231434.log
Comment 3 Toralf Förster gentoo-dev 2021-04-23 14:53:17 UTC
Created attachment 701940 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-23 14:53:18 UTC
Created attachment 701943 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-23 14:53:19 UTC
Created attachment 701946 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-23 14:53:20 UTC
Created attachment 701949 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-23 14:53:21 UTC
Created attachment 701952 [details]
temp.tar.bz2
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?