Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943166 - sys-devel/binutils-2.43-r2 - collect2: error: ld returned 1 exit status
Summary: sys-devel/binutils-2.43-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
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-10 09:43 UTC by Toralf Förster
Modified: 2024-11-10 09:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.26 KB, text/plain)
2024-11-10 09:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,92.08 KB, text/plain)
2024-11-10 09:43 UTC, Toralf Förster
Details
environment (environment,91.61 KB, text/plain)
2024-11-10 09:44 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-10 09:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.00 KB, application/x-xz)
2024-11-10 09:44 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,107.00 KB, application/x-xz)
2024-11-10 09:44 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,206.76 KB, text/plain)
2024-11-10 09:44 UTC, Toralf Förster
Details
sys-devel:binutils-2.43-r2:20241109-213406.log.xz (sys-devel:binutils-2.43-r2:20241109-213406.log.xz,76.02 KB, application/x-xz)
2024-11-10 09:44 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.87 KB, application/x-xz)
2024-11-10 09: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 2024-11-10 09:43:57 UTC
too long lines were shrinked:

libtool: install: warning: relinking `libopcodes.la'
libtool: install: (cd /var/tmp/portage/sys-devel/binutils-2.43-r2/work/build/opcodes; /bin/sh /var/tmp/portage/sys-devel/binutils-2.43-r2/work/build/opcodes/libtool  --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -O2 -pi
libtool: relink: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/dis-buf.o .libs/disassemble.o .libs/dis-init.o .libs/arc-dis.o .libs/arc-ext.o .libs/arc-opc.o .libs/arm-dis.o .libs/avr-dis.o .libs/bfin-dis.o .libs/cgen-asm.o .libs/cgen-bitset.o .libs/cgen-dis.o .libs/cgen-opc.o .libs/cr16-dis.o
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/binutils/x86_64-pc-linux-gnu/2.43/libiberty.a(regex.o): warning: relocation against `xre_max_failures' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/binutils/x86_64-pc-linux-gnu/2.43/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/14/../../../../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:826: install-bfdlibLTLIBRARIES] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_test-20241107-130503

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 091f983114a93f8709e0f19567f8f22fa345f62b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 9 21:18:29 2024 +0000

    2024-11-09 21:18:29 UTC

emerge -qpvO =sys-devel/binutils-2.43-r2
[ebuild     U ] sys-devel/binutils-2.43-r2 [2.43-r1] USE="(cet) multitarget nls pgo vanilla zstd -debuginfod -doc (-gold) -gprofng -hardened -plugins -static-libs -test*"
Comment 1 Toralf Förster gentoo-dev 2024-11-10 09:43:58 UTC
Created attachment 908363 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-10 09:43:59 UTC
Created attachment 908364 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-10 09:44:01 UTC
Created attachment 908365 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-10 09:44:01 UTC
Created attachment 908366 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-10 09:44:02 UTC
Created attachment 908367 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-10 09:44:04 UTC
Created attachment 908368 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-10 09:44:05 UTC
Created attachment 908369 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-10 09:44:06 UTC
Created attachment 908370 [details]
sys-devel:binutils-2.43-r2:20241109-213406.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-10 09:44:07 UTC
Created attachment 908371 [details]
temp.tar.xz