Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721450 - media-libs/libdv-1.0.0-r4 : collect2: error: ld returned 1 exit status
Summary: media-libs/libdv-1.0.0-r4 : collect2: error: ld returned 1 exit status
Status: RESOLVED DUPLICATE of bug 622662
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2020-05-07 11:06 UTC by Toralf Förster
Modified: 2021-11-07 04:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.73 KB, text/plain)
2020-05-07 11:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.77 KB, text/plain)
2020-05-07 11:06 UTC, Toralf Förster
Details
environment (environment,95.99 KB, text/plain)
2020-05-07 11:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.01 KB, application/x-bzip)
2020-05-07 11:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.37 KB, application/x-bzip)
2020-05-07 11:07 UTC, Toralf Förster
Details
media-libs:libdv-1.0.0-r4:20200507-093907.log (media-libs:libdv-1.0.0-r4:20200507-093907.log,45.13 KB, text/plain)
2020-05-07 11:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.35 KB, application/x-bzip)
2020-05-07 11:07 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 2020-05-07 11:06:50 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: .libs/vlc_x86.o: relocation R_386_GOTOFF against preemptible symbol dv_parse_bit_end cannot be used when making a shared object
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: .libs/idct_block_mmx.o: relocation R_386_GOTOFF against preemptible symbol preSC cannot be used when making a shared object
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:563: libdv.la] Error 1
make[3]: Leaving directory /var/tmp/portage/media-libs/libdv-1.0.0-r4/work/libdv-1.0.0-abi_x86_32.x86/libdv
make[2]: *** [Makefile:484: all] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-abi32+64-20200503-182741

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 07 May 2020 07:36:16 AM UTC

emerge -qpvO media-libs/libdv
[ebuild  N    ] media-libs/libdv-1.0.0-r4  ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-05-07 11:06:53 UTC
Created attachment 636682 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-07 11:06:56 UTC
Created attachment 636684 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-07 11:06:59 UTC
Created attachment 636686 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-07 11:07:02 UTC
Created attachment 636688 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-07 11:07:05 UTC
Created attachment 636690 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-07 11:07:08 UTC
Created attachment 636692 [details]
media-libs:libdv-1.0.0-r4:20200507-093907.log
Comment 7 Toralf Förster gentoo-dev 2020-05-07 11:07:10 UTC
Created attachment 636694 [details]
temp.tbz2
Comment 8 Peter Sterk 2021-03-03 21:00:42 UTC
I'm hitting this bug when linking with Gold. As a work-around, force BFD using LDFLAGS="${LDFLAGS} -Wl,-fuse-ld=bfd" in a package-specific environment file.

This bug should block #269315.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-07 04:53:13 UTC

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