Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790539 - dev-util/elfkickers-3.1a - collect2: error: ld returned 1 exit status
Summary: dev-util/elfkickers-3.1a - collect2: error: ld returned 1 exit status
Status: RESOLVED DUPLICATE of bug 795240
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-16 15:34 UTC by Toralf Förster
Modified: 2022-01-15 11:01 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2021-05-16 15:34 UTC, Toralf Förster
Details
dev-util:elfkickers-3.1a:20210516-151408.log (dev-util:elfkickers-3.1a:20210516-151408.log,5.73 KB, text/plain)
2021-05-16 15:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,409.85 KB, text/plain)
2021-05-16 15:34 UTC, Toralf Förster
Details
environment (environment,55.57 KB, text/plain)
2021-05-16 15:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.66 KB, application/x-bzip)
2021-05-16 15:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.98 KB, application/x-bzip)
2021-05-16 15:34 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-05-16 15:34:09 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: objres] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-util/elfkickers-3.1a/work/ELFkickers-3.1a/objres'
make: *** [Makefile:11: bin/objres] Error 2
make: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j2-20210510-165205

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.3.1
 [3] x86_64-pc-linux-gnu-11.1.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.10
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  (none found)

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun May 16 14:50:14 UTC 2021

emerge -qpvO dev-util/elfkickers
[ebuild  N    ] dev-util/elfkickers-3.1a  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2021-05-16 15:34:11 UTC
Created attachment 709131 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-16 15:34:11 UTC
Created attachment 709134 [details]
dev-util:elfkickers-3.1a:20210516-151408.log
Comment 3 Toralf Förster gentoo-dev 2021-05-16 15:34:13 UTC
Created attachment 709137 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-16 15:34:15 UTC
Created attachment 709140 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-16 15:34:16 UTC
Created attachment 709143 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-16 15:34:17 UTC
Created attachment 709146 [details]
temp.tar.bz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-16 17:24:49 UTC
"""
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color  -Og -g -I../elfrw  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  elfls.c ../elfrw/libelfrw.a   -o elfls
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: error in ../elfrw/libelfrw.a(elfrw_ehdr.o)(.eh_frame); no .eh_frame_hdr table will be created
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: error in ../elfrw/libelfrw.a(elfrw_shdr.o)(.eh_frame); no .eh_frame_hdr table will be created
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: error in ../elfrw/libelfrw.a(elfrw.o)(.eh_frame); no .eh_frame_hdr table will be created
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: BFD (Gentoo 2.36.1 p3) 2.36.1 internal error, aborting at /var/tmp/portage/sys-devel/binutils-2.36.1-r1/work/binutils-2.36.1/bfd/merge.c:935 in _bfd_merged_section_offset

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Please report this bug.
"""

Might be a binutils bug (or a bad reporting of problematic input).
Comment 8 Toralf Förster gentoo-dev 2022-01-15 11:01:12 UTC

*** This bug has been marked as a duplicate of bug 795240 ***