Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839009 - sys-devel/binutils-2.38-r2 - collect2: error: ld returned 1 exit status
Summary: sys-devel/binutils-2.38-r2 - collect2: error: ld returned 1 exit status
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-17 16:44 UTC by Toralf Förster
Modified: 2022-07-26 11:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.06 KB, text/plain)
2022-04-17 16:44 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,94.59 KB, application/x-bzip)
2022-04-17 16:44 UTC, Toralf Förster
Details
environment (environment,86.43 KB, text/plain)
2022-04-17 16:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.91 KB, application/x-bzip)
2022-04-17 16:44 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,59.35 KB, application/x-bzip)
2022-04-17 16:44 UTC, Toralf Förster
Details
sys-devel:binutils-2.38-r2:20220416-190001.log.bz2 (sys-devel:binutils-2.38-r2:20220416-190001.log.bz2,24.20 KB, application/x-bzip)
2022-04-17 16:44 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.93 KB, application/x-bzip)
2022-04-17 16:44 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-17 16:44:32 UTC
make  install-recursive
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/binutils/x86_64-pc-linux-gnu/2.38/libiberty.a(regex.o): warning: relocation against `xre_max_failures' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/binutils/x86_64-pc-linux-gnu/2.38/libiberty.a(regex.o): relocation R_X86_64_PC32 against symbol `xre_max_failures' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libopcodes.la' with the above command before installing it
make[4]: *** [Makefile:847: install-bfdlibLTLIBRARIES] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220410-150005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/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:
1)	Eclipse Temurin JRE 11.0.14_p9 [openjdk-jre-bin-11]
*)	Eclipse Temurin JRE 8.322_p06 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
  [2]   openjdk-jre-bin-11 

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

  HEAD of ::gentoo
commit f856fbab5e4b68866ee3fb9d58e0fa992011d751
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 16 18:39:05 2022 +0000

    2022-04-16 18:39:02 UTC

emerge -qpvO sys-devel/binutils
[ebuild     U ] sys-devel/binutils-2.38-r2 [2.38-r1] USE="gold multitarget nls plugins vanilla (-cet) (-default-gold) -doc -pgo -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2022-04-17 16:44:33 UTC
Created attachment 771359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-17 16:44:36 UTC
Created attachment 771362 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-17 16:44:38 UTC
Created attachment 771365 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-17 16:44:39 UTC
Created attachment 771368 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-17 16:44:41 UTC
Created attachment 771371 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-17 16:44:42 UTC
Created attachment 771374 [details]
sys-devel:binutils-2.38-r2:20220416-190001.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-17 16:44:44 UTC
Created attachment 771377 [details]
temp.tar.bz2